Skip to content

Commit

Permalink
tooling: clear generated files before release
Browse files Browse the repository at this point in the history
- since `np` always reports "Cleanup [skipped]"
- to prevent false positives in checks done by `np`
  • Loading branch information
karfau committed Dec 28, 2019
1 parent 8231fac commit 22a9dba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
"index.d.ts"
],
"scripts": {
"clear": "npx rimraf coverage .nyc_output ",
"clear:all": "npm run clear -- node_modules examples/num-args/node_modules",
"pretest": "npm run --silent tsc; cd examples/num-args; npm --silent run setup; cd -;",
"test": "tap --reporter=tap --100 ",
"codecov": "tap --coverage-report=text-lcov | codecov --pipe --disable=gcov -t \"$CODECOV_TOKEN\"",
"tsc": "npm run tsc:check && npm run tsc:types",
"tsc:check": "tsc --noEmit --listFiles",
"tsc:types": "tsc -p tsconfig.types.json5 --emitDeclarationOnly --listEmittedFiles",
"prerelease": "npm --silent run clear:all; npm ci",
"release": "np"
},
"repository": {
Expand Down

0 comments on commit 22a9dba

Please sign in to comment.