mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added jest
This commit is contained in:
parent
4e6b3deb9b
commit
8801bb96cd
3 changed files with 12563 additions and 37 deletions
|
@ -3,6 +3,7 @@ module.exports = {
|
|||
browser: true,
|
||||
es6: true,
|
||||
node: true,
|
||||
jest: true,
|
||||
},
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint'],
|
||||
|
|
12586
package-lock.json
generated
12586
package-lock.json
generated
File diff suppressed because it is too large
Load diff
11
package.json
11
package.json
|
@ -20,11 +20,18 @@
|
|||
"start": "node ./dist/server.js",
|
||||
"dev": "npm run build && NS_DEVEL=1 NS_NOUSER=1 NS_LOGLEVEL=1 node ./dist/server.js",
|
||||
"build": "tsc && bash -c './scripts/postBuild.sh'",
|
||||
"export": "tsc && bash -c './scripts/postBuild.sh'"
|
||||
"export": "tsc && bash -c './scripts/postBuild.sh'",
|
||||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^26.0.23",
|
||||
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
||||
"@typescript-eslint/parser": "^4.22.0",
|
||||
"eslint": "^7.14.0"
|
||||
"eslint": "^7.14.0",
|
||||
"jest": "^26.6.3",
|
||||
"ts-jest": "^26.5.5"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "ts-jest"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue