Skip to content

Commit d93e3ce

Browse files
committed
chore: changed pretest script to prepare to better fit needs
1 parent eef5a84 commit d93e3ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,15 @@
3636
"#*": "./dist/*"
3737
},
3838
"scripts": {
39-
"prepare": "tsc -p ./tsconfig.build.json",
39+
"prepare": "tsc -p ./tsconfig.build.json && patch-package",
4040
"build": "shx rm -rf ./dist && tsc -p ./tsconfig.build.json",
4141
"tsx": "tsx",
4242
"test": "node ./scripts/test.mjs",
4343
"lint": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}'",
4444
"lintfix": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}' --fix",
4545
"lint-shell": "find ./src ./tests ./scripts -type f -regextype posix-extended -regex '.*\\.(sh)' -exec shellcheck {} +",
4646
"docs": "shx rm -rf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src",
47-
"bench": "rimraf ./benches/results && tsx ./benches/index.ts",
48-
"pretest": "patch-package"
47+
"bench": "rimraf ./benches/results && tsx ./benches/index.ts"
4948
},
5049
"dependencies": {
5150
"@matrixai/async-cancellable": "^2.0.0",

0 commit comments

Comments
 (0)