Skip to content

Commit

Permalink
chore: changed pretest script to prepare to better fit needs
Browse files Browse the repository at this point in the history
  • Loading branch information
tegefaulkes committed Sep 19, 2024
1 parent eef5a84 commit d93e3ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@
"#*": "./dist/*"
},
"scripts": {
"prepare": "tsc -p ./tsconfig.build.json",
"prepare": "tsc -p ./tsconfig.build.json && patch-package",
"build": "shx rm -rf ./dist && tsc -p ./tsconfig.build.json",
"tsx": "tsx",
"test": "node ./scripts/test.mjs",
"lint": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}'",
"lintfix": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}' --fix",
"lint-shell": "find ./src ./tests ./scripts -type f -regextype posix-extended -regex '.*\\.(sh)' -exec shellcheck {} +",
"docs": "shx rm -rf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src",
"bench": "rimraf ./benches/results && tsx ./benches/index.ts",
"pretest": "patch-package"
"bench": "rimraf ./benches/results && tsx ./benches/index.ts"
},
"dependencies": {
"@matrixai/async-cancellable": "^2.0.0",
Expand Down

0 comments on commit d93e3ce

Please sign in to comment.