-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
49 lines (49 loc) · 1.18 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "type-script-node-api",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"start": "npm run build && npm run serve",
"build": "npm run build-ts",
"serve": "node dist/server.js",
"build-ts": "tsc",
"test": "npm run build && jest --forceExit"
},
"jest": {
"globals": {
"__TS_CONFIG__": "tsconfig.json"
},
"moduleFileExtensions": ["ts", "js"],
"transform": {
"^.+\\.(ts)$": "./node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"**/test/**/*.test.(ts|js)"
],
"setupFiles": ["./test/prepare_tests.ts"],
"testEnvironment": "node"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/body-parser": "^1.16.4",
"@types/express": "^4.0.36",
"@types/mongodb": "^2.2.7",
"@types/mongoose": "^4.7.18",
"@types/underscore": "^1.8.1",
"jest": "^20.0.4",
"mockgoose": "^7.3.3",
"ts-jest": "^20.0.6"
},
"dependencies": {
"body-parser": "^1.17.2",
"cache-manager": "^2.4.0",
"config": "^1.26.1",
"express": "^4.15.3",
"mongoose": "^4.11.1",
"typescript": "^2.4.1",
"underscore": "^1.8.3"
}
}