Severe security problems, and it is not needed since it only is used locally. Here, it is replaced by a watch script, and relative paths to assets and resources so that index.html can be viewed directly in the browser instead of via a dev server. Also, some minor production preparing stuffs (hiding elements not yet ready) and some ugly white space inconsistecy fixes.
28 lines
812 B
JSON
28 lines
812 B
JSON
{
|
|
"name": "brutal-legend",
|
|
"version": "1.0.0",
|
|
"description": "React+Redux app",
|
|
"main": "index.js",
|
|
"repository": "git@github.com:StephenGrider/ReduxSimpleStarter.git",
|
|
"scripts": {
|
|
"build": "webpack -p --define process.env.NODE_ENV='\"production\"' --progress --colors",
|
|
"watch": "webpack -p --define process.env.NODE_ENV='\"production\"' --watch --progress --colors"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"babel-core": "^6.2.1",
|
|
"babel-loader": "^6.2.0",
|
|
"babel-preset-es2015": "^6.1.18",
|
|
"babel-preset-react": "^6.1.18",
|
|
"webpack": "^1.12.9",
|
|
"webpack-cli": "^3.2.3"
|
|
},
|
|
"dependencies": {
|
|
"babel-preset-stage-1": "^6.1.18",
|
|
"react": "16.3.2",
|
|
"react-dom": ">=16.3.3",
|
|
"react-redux": "5.0.7",
|
|
"redux": "4.0.0"
|
|
}
|
|
}
|