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 19, 2020
1 parent 9b6f971 commit 85ebd35
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
17 changes: 14 additions & 3 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 @@ -29,10 +29,11 @@
"url": "git://github.com/socketio/socket.io"
},
"scripts": {
"test": "npm run format:check && tsc && nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/socket.io.ts",
"compile": "rimraf ./dist && tsc",
"test": "npm run format:check && npm run compile && nyc mocha --require ts-node/register --reporter spec --slow 200 --bail --timeout 10000 test/socket.io.ts",
"format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'",
"format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'",
"prepack": "tsc"
"prepack": "npm run compile"
},
"dependencies": {
"@types/cookie": "^0.4.0",
Expand All @@ -54,6 +55,7 @@
"mocha": "^3.5.3",
"nyc": "^11.2.1",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"socket.io-client": "3.0.2",
"superagent": "^3.8.2",
"supertest": "^3.0.0",
Expand Down

0 comments on commit 85ebd35

Please sign in to comment.