Skip to content

Instantly share code, notes, and snippets.

@paulallies
Last active May 13, 2019 19:21
Show Gist options
  • Save paulallies/b9240ee8cf6f153c0ceced0b1b9edd40 to your computer and use it in GitHub Desktop.
Save paulallies/b9240ee8cf6f153c0ceced0b1b9edd40 to your computer and use it in GitHub Desktop.
package.json for without create react app
{
"name": "reactproject",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node_modules/.bin/webpack-dev-server --mode development --open --hot",
"build": "node_modules/.bin/webpack --config webpack.prod.js --mode production",
"serve": "node_modules/.bin/http-server ./dist"
},
"author": "",
"license": "ISC",
"dependencies": {
"react": "^16.4.1",
"react-dom": "^16.4.1"
},
"devDependencies": {
"babel": "^6.23.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.5",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.11.1",
"webpack": "^4.16.2",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment