Skip to content

Commit

Permalink
refact(package.json): rebuild before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ducktordanny committed Jun 15, 2024
1 parent 314666d commit 9a94b55
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
"exports": "./dist/lib/index.js",
"scripts": {
"dev": "nodemon -e js,ts --watch lib --watch tests --exec 'yarn build'",
"build": "tsc",
"build": "rm -rf ./dist && tsc",
"lint": "npm-run-all \"lint:*\"",
"lint:eslint-docs": "npm-run-all \"update:eslint-docs -- --check\"",
"lint:js": "eslint .",
"test": "mocha tests --recursive ./dist/tests/",
"update:eslint-docs": "eslint-doc-generator"
"test": "yarn build && mocha tests --recursive ./dist/tests/",
"update:eslint-docs": "eslint-doc-generator",
"publish": "yarn build; npm publish"
},
"dependencies": {
"requireindex": "^1.2.0"
Expand Down

0 comments on commit 9a94b55

Please sign in to comment.