NPM@5 (2nd try) (#9013)

* second try at using npm5

* use npm 5 in travis

* build client only in production
This commit is contained in:
Matteo Pagliazzi
2017-09-01 20:21:40 +02:00
committed by GitHub
parent 3d9738ac2f
commit 2e4f665fa5
9 changed files with 21167 additions and 13881 deletions
+3 -3
View File
@@ -141,7 +141,7 @@
"private": true,
"engines": {
"node": "^6.9.1",
"npm": "^4.0.2"
"npm": "^5.0.0"
},
"scripts": {
"lint": "eslint --ext .js,.vue .",
@@ -163,13 +163,13 @@
"coverage": "COVERAGE=true mocha --require register-handlers.js --reporter html-cov > coverage.html; open coverage.html",
"sprites": "gulp sprites:compile",
"client:dev": "gulp bootstrap && node webpack/dev-server.js",
"client:build": "gulp bootstrap && node webpack/build.js",
"client:build": "gulp build:client",
"client:unit": "cross-env NODE_ENV=test karma start test/client/unit/karma.conf.js --single-run",
"client:unit:watch": "cross-env NODE_ENV=test karma start test/client/unit/karma.conf.js",
"client:e2e": "node test/client/e2e/runner.js",
"client:test": "npm run client:unit && npm run client:e2e",
"start": "gulp run:dev",
"postinstall": "gulp build && npm run client:build",
"postinstall": "gulp build",
"apidoc": "gulp apidoc"
},
"devDependencies": {