diff --git a/package.json b/package.json new file mode 100644 index 0000000..236f41d --- /dev/null +++ b/package.json @@ -0,0 +1,34 @@ +{ + "name": "react-playlist", + "version": "1.0.0", + "description": "All the course files for the Net Ninja React tutorial playlist on YouTube", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "npm run build", + "build": "webpack -d && webpack-dev-server --content-base src/ --inline --hot --port 1234 --history-api-fallback" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/rpcvjet/react-playlist.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/rpcvjet/react-playlist/issues" + }, + "homepage": "https://github.com/rpcvjet/react-playlist#readme", + "dependencies": { + "react": "^15.5.3", + "react-dom": "^15.5.3" + }, + "devDependencies": { + "babel-core": "^6.24.1", + "babel-loader": "^6.4.1", + "babel-preset-es2015": "^6.24.1", + "babel-preset-react": "^6.24.1", + "webpack": "^2.3.3", + "webpack-dev-server": "^2.4.2" + } +} diff --git a/src/app/index.js b/src/app/index.js new file mode 100644 index 0000000..3ffbee3 --- /dev/null +++ b/src/app/index.js @@ -0,0 +1,3 @@ +'use strict'; + +alert('it works'); diff --git a/src/index.html b/src/index.html index 2d26154..29d8bc8 100644 --- a/src/index.html +++ b/src/index.html @@ -5,6 +5,6 @@