mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
chore: add test:watch script
This commit is contained in:
parent
6f26ac8fd6
commit
b3b05f8ae0
@ -15,7 +15,8 @@
|
||||
"db:migrate:rollback": "knex migrate:rollback",
|
||||
"db:seed": "knex seed:run",
|
||||
"start": "npm run build && node dist/index.js",
|
||||
"test": "mocha -r ts-node/register 'test/**/*.spec.ts'"
|
||||
"test": "mocha -r ts-node/register 'test/**/*.spec.ts'",
|
||||
"test:watch": "npm run test -- --min --watch --watch-files src/**/*,test/**/*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -8,7 +8,6 @@
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"target": "es6",
|
||||
"outDir": "./dist",
|
||||
"baseUrl": "./src",
|
||||
"moduleResolution": "Node",
|
||||
"types": ["node", "mocha"],
|
||||
"typeRoots": ["./node_modules/@types"],
|
||||
@ -23,6 +22,11 @@
|
||||
"ts-node": {
|
||||
"transpileOnly": true
|
||||
},
|
||||
"include": ["src"],
|
||||
"exclude": ["node_modules", "test"]
|
||||
"include": [
|
||||
"src/**/*.ts",
|
||||
"test/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user