Skip to content

Commit

Permalink
refactor(package): cross-platform prepare script (scripts) (#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdinando-ferreira authored and michael-ciniawsky committed Sep 10, 2018
1 parent 3d37cc5 commit cbe6813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"lint": "eslint bin lib test examples client-src",
"test": "nyc --reporter lcovonly mocha --full-trace --check-leaks --exit",
"prepare": "(rm ssl/*.pem || true) && npm run -s transpile:index && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
"prepare": "rimraf ./ssl/*.pem && npm run -s transpile:index && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
"transpile:index": "babel client-src/default --out-dir client --ignore *.config.js",
"build:index": "webpack ./client-src/default/index.js -o client/index.bundle.js --color --config client-src/default/webpack.config.js",
"build:live": "webpack ./client-src/live/index.js -o client/live.bundle.js --color --config client-src/live/webpack.config.js",
Expand Down Expand Up @@ -75,6 +75,7 @@
"mocha": "^5.2.0",
"mocha-sinon": "^2.0.0",
"nyc": "^12.0.2",
"rimraf": "^2.6.2",
"should": "^13.2.0",
"sinon": "^6.1.5",
"standard-version": "^4.4.0",
Expand Down

0 comments on commit cbe6813

Please sign in to comment.