-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
80 lines (80 loc) · 2.07 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "population_api",
"version": "1.0.0",
"description": "Population Management System",
"main": "index.js",
"scripts": {
"compile": "./node_modules/.bin/tsc",
"lint": "./node_modules/.bin/tslint -p tslint.json",
"build": "rm -rf dist && npm run compile",
"start": "node dist/index",
"test": "./node_modules/.bin/jest --detectOpenHandles --forceExit -w 1",
"dev": "ts-node-dev --respawn --transpileOnly ./src/index.ts"
},
"author": "Jeremiah Olufayo",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.4.3",
"@babel/core": "^7.4.3",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.4.3",
"@babel/register": "^7.4.0",
"@types/body-parser": "^1.17.0",
"@types/cors": "^2.8.4",
"@types/dotenv": "^6.1.1",
"@types/express": "^4.16.1",
"@types/mongoose": "^5.3.26",
"@types/mongoose-paginate": "^5.0.6",
"@types/morgan": "^1.7.35",
"babel-plugin-add-module-exports": "^1.0.2",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.2",
"jest": "^24.7.1",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0"
},
"dependencies": {
"@types/jest-in-case": "^1.0.1",
"@types/supertest": "^2.0.7",
"body-parser": "^1.18.3",
"cors": "^2.8.5",
"dotenv-extended": "^2.4.0",
"express": "^4.16.4",
"express-validator": "^5.3.1",
"jest-in-case": "^1.0.2",
"mongoose": "^5.5.2",
"morgan": "^1.9.1",
"supertest": "^4.0.2",
"ts-node-dev": "^1.0.0-pre.32",
"typescript": "^3.4.3",
"winston": "^3.2.1"
},
"jest": {
"testEnvironment": "node",
"verbose": true,
"collectCoverage": true,
"testPathIgnorePatterns": [
"/node_modules/",
"/typings"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"globals": {
"ts-jest": {
"diagnostics": {
"warnOnly": true
}
}
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}