Skip to content
This repository has been archived by the owner on May 9, 2021. It is now read-only.

Commit

Permalink
chore(transpilation): add clean script
Browse files Browse the repository at this point in the history
- add clean script to package.json

[Finishes #161593137]
  • Loading branch information
Christopher Akanmu authored and Christopher Akanmu committed Oct 31, 2018
1 parent b7b8a8b commit 4d1a3d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
},
"scripts": {
"test": "mocha test --require babel-core/register --require babel-polyfill --exit --timeout 5000 ./test/**/**/*.test.js",
"start": "npm run build && node dist/app.js",
"start": "npm run clean && npm run build && node dist/app.js",
"build": "babel . --ignore node_modules,test,coverage,dist ../valinor-ah-backend -d dist/",
"clean": "rm -rf dist && mkdir dist",
"cover": "./node_modules/.bin/babel-node node_modules/.bin/istanbul cover node_modules/.bin/_mocha ./test -- --exit",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
Expand Down

0 comments on commit 4d1a3d7

Please sign in to comment.