test: ensure build runs before test
This commit is contained in:
parent
55713a6191
commit
58fd38c79e
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"clean": "ts-node scripts/clean.ts",
|
"clean": "ts-node scripts/clean.ts",
|
||||||
"prepublishOnly": "npm run clean && npm run build",
|
"prepublishOnly": "npm run clean && npm run build",
|
||||||
|
"pretest": "npm run build",
|
||||||
"test": "ts-node --project=test/tsconfig.json test/run-tests.ts"
|
"test": "ts-node --project=test/tsconfig.json test/run-tests.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue