-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.84 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "preggies-api",
"version": "0.0.1",
"description": "Preggies back end service.",
"module": "lib/index.es.js",
"main": "lib/index.js",
"scripts": {
"start": "NODE_ENV=production node lib/index.js",
"dev": "nodemon --delay 200ms --exec NODE_ENV=production ts-node -- src/index.ts",
"test": "jest --runInBand --no-cache",
"test:ci": "jest --coverage --reporters=default --reporters=jest-junit --coverageReporters=text-lcov | coveralls",
"prebuild": "yarn clean",
"rollup": "rollup -c",
"lint": "eslint 'src/**/**/*.ts'",
"lint:ci": "eslint 'src/**/**/**/*.ts' --format junit -o test/reports/junit/js-lint-results.xml",
"clean": "rm -rf lib",
"build": "yarn rollup && tsc",
"tsoa:gen": "yarn tsoa swagger -c ./tsoa.json && yarn tsoa routes -c ./tsoa.json",
"pretest": "yarn lint"
},
"author": {
"name": "Preggies Dev Team",
"email": "[email protected]",
"url": "https://preggies.co/about"
},
"license": "ISC",
"dependencies": {
"@hapi/joi": "17.1.1",
"convict": "5.2.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "4.17.1",
"express-mongo-sanitize": "^1.3.2",
"fast-json-stringify": "2.0.0",
"helmet": "^3.16.0",
"https": "1.0.0",
"mongoose": "^5.8.7",
"morgan": "^1.9.1",
"uuid": "3.3.2",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"@types/convict": "4.2.1",
"@types/express": "4.17.6",
"@types/jest": "25.2.1",
"@types/joi": "14.3.4",
"@types/mongoose": "5.7.9",
"@types/node": "13.11.0",
"@typescript-eslint/eslint-plugin": "2.27.0",
"@typescript-eslint/parser": "2.27.0",
"@typescript-eslint/typescript-estree": "2.28.0",
"coveralls": "3.0.11",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jest": "23.8.2",
"eslint-plugin-prettier": "^3.0.1",
"factory-girl": "5.0.4",
"husky": "4.2.5",
"jest": "25.2.7",
"jest-junit": "10.0.0",
"lint-staged": "10.1.3",
"nodemon": "2.0.2",
"parcel-bundler": "^1.12.3",
"prettier": "^1.17.0",
"rollup": "2.6.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-terser": "5.3.0",
"rollup-plugin-typescript2": "0.27.0",
"supertest": "4.0.2",
"swagger-ui-express": "4.1.4",
"tsoa": "2.5.14",
"ts-jest": "25.3.1",
"ts-node": "8.8.2",
"typescript": "3.8.3",
"weak-napi": "1.0.3"
},
"engines": {
"node": "^13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn run test"
}
},
"lint-staged": {
"**/*.{js, tsx, ts}": [
"eslint --fix",
"yarn test"
]
},
"jest-junit": {
"outputDirectory": "./test/reports/junit",
"outputName": "./js-test-results.xml"
}
}