Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
🐛 fix build script
Browse files Browse the repository at this point in the history
  • Loading branch information
shuse2 committed Feb 16, 2018
1 parent 3a73440 commit 54874c2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"babel": "babel src -d dist-node",
"babel:browsertest":
"babel src -d ./browsertest/src && BABEL_ENV=browsertest babel test --ignore test/transactions/dapp.js -d ./browsertest/test",
"babel:browsertest": "babel src -d ./browsertest/src && BABEL_ENV=browsertest babel test --ignore test/transactions/dapp.js -d ./browsertest/test",
"browserify": "browserify ./dist-node/index.js -o ./dist-browser/lisk-js.js -s lisk -t rewireify",
"browserify:browsertest": "browserify ./browsertest/test/*.js ./browsertest/test/**/*.js -o ./browsertest/browsertest.js -s lisk -t rewireify",
"uglify": "uglifyjs -o ./dist-browser/lisk-js.min.js ./dist-browser/lisk-js.js",
Expand All @@ -49,12 +48,11 @@
"cover:local": "npm run cover:base -- --reporter=html --reporter=text",
"cover:ci": "npm run cover:base -- --reporter=text-lcov | coveralls -v",
"prebuild:browsertest": "cp package.json browsertest/",
"build:browsertest":
"npm run babel:browsertest && npm run browserify:browsertest && npm run uglify:browsertest",
"build:browsertest": "npm run babel:browsertest && npm run browserify:browsertest && npm run uglify:browsertest",
"postbuild:browsertest": "rm -r browsertest/src browsertest/test",
"prebuild:node": "rm -r dist-node/* || mkdir dist-node | echo",
"build:node": "npm run babel",
"prebuild:browser": "rm ./dist-browser/lisk-js.js ./dist-browser/lisk-js.min.js",
"prebuild:browser": "rm ./dist-browser/lisk-js.js ./dist-browser/lisk-js.min.js | echo",
"build:browser": "npm run babel && npm run browserify && npm run uglify",
"prebuild": "npm run prebuild:node && npm run prebuild:browser",
"build": "npm run babel && npm run browserify && npm run uglify",
Expand Down

0 comments on commit 54874c2

Please sign in to comment.