Fix package.json test run script
This commit is contained in:
parent
807518f87e
commit
ffc2910a0b
1 changed files with 19 additions and 19 deletions
|
|
@ -1,21 +1,21 @@
|
||||||
{
|
{
|
||||||
"name": "node-base-project",
|
"name": "node-base-project",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node build/main.js",
|
"start": "node build/main.js",
|
||||||
"build": "tsc -p tsconfig.json",
|
"build": "tsc -p tsconfig.json",
|
||||||
"build+start": "npm run build && npm run start",
|
"build+start": "npm run build && npm run start",
|
||||||
"build:watch": "tsc -w -p tsconfig.json",
|
"build:watch": "tsc -w -p tsconfig.json",
|
||||||
"test:watch": "node --import tsx --test --watch **/**/*.spec.ts",
|
"test:watch": "node --import tsx --test --watch $(find src -name '*.spec.ts')",
|
||||||
"test": "node --import tsx --test **/**/*.spec.ts"
|
"test": "node --import tsx --test $(find src -name '*.spec.ts')"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.11.5",
|
"@types/node": "^20.11.5",
|
||||||
"tsx": "^4.7.0",
|
"tsx": "^4.7.0",
|
||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue