Skip to content

Commit

Permalink
chore: cleanup dist folder before compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Nov 25, 2020
1 parent 4efa005 commit 66973a3
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 8 deletions.
78 changes: 72 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,20 @@
"expect.js": "0.3.1",
"mocha": "3.2.0",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"socket.io-browsers": "^1.0.0",
"typescript": "^4.0.3",
"zuul": "3.11.1",
"zuul-ngrok": "4.0.0"
},
"scripts": {
"test": "npm run format:check && tsc && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
"compile": "rimraf ./dist && tsc",
"test": "npm run format:check && npm run compile && if test \"$BROWSERS\" = \"1\" ; then npm run test:browser; else npm run test:node; fi",
"test:node": "mocha --reporter dot --bail test/index.js",
"test:browser": "zuul test/index.js --no-coverage",
"format:fix": "prettier --write --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
"format:check": "prettier --check --parser typescript 'lib/**/*.ts' 'test/**/*.js'",
"prepack": "tsc"
"prepack": "npm run compile"
},
"license": "MIT",
"engines": {
Expand Down

0 comments on commit 66973a3

Please sign in to comment.