Improve install command for builds

This commit is contained in:
SleepWalker 2017-10-17 21:00:35 +03:00
parent 64516b8a08
commit 0f5485de00
2 changed files with 4119 additions and 571 deletions

4685
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,6 @@
"scripts": {
"start": "npm run clean && npm run build:dll && webpack-dev-server --progress --colors",
"clean": "rm -rf dist/",
"up": "npm update",
"test": "npm run build:dll && karma start ./karma.conf.js",
"lint": "eslint ./src",
"flow": "flow",
@ -18,6 +17,7 @@
"i18n:publish": "babel-node --presets es2015,stage-0 ./scripts/i18n-onesky.js publish",
"i18n:pull": "babel-node --presets es2015,stage-0 ./scripts/i18n-onesky.js pull",
"build": "npm run clean && npm run build:webpack -- --progress",
"build:install": "npm install --no-save --quiet && check-node-version",
"build:webpack": "webpack --colors -p --bail",
"build:quiet": "npm run clean && npm run build:webpack -- --quiet",
"build:dll": "node ./scripts/build-dll.js"
@ -56,13 +56,14 @@
"babel-plugin-transform-runtime": "^6.3.13",
"babel-preset-airbnb": "^2.0.0",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-es2017": "^6.16.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.3.13",
"babel-preset-react-hmre": "^1.0.1",
"babel-preset-stage-0": "^6.3.13",
"babel-runtime": "^6.0.0",
"bundle-loader": "^0.5.4",
"check-node-version": "^2.1.0",
"circular-dependency-plugin": "^3.0.0",
"css-loader": "^0.28.0",
"enzyme": "^2.2.0",