This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.21 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
{
"name": "@digicatapult/openapi-ts-template",
"version": "0.0.37",
"description": "An open api typescript nodejs/express api service template",
"main": "src/index.ts",
"scripts": {
"lint": "eslint .",
"depcheck": "depcheck",
"build:tsoa": "tsoa spec-and-routes",
"build": "tsoa spec-and-routes && tsc",
"start": "node build/index.js",
"dev": "npm run build && NODE_ENV=dev concurrently \"npx tsc --watch\" \"nodemon -q build/index.js | pino-colada\"",
"test": "NODE_ENV=test ./node_modules/.bin/mocha --timeout 30000 -r ts-node/register ./test/*.test.ts",
"test:unit": "NODE_ENV=test ./node_modules/.bin/mocha -r ts-node/register ./src/**/*.test.ts",
"db:migrate": "npx knex migrate:latest --knexfile src/lib/db/knexfile.ts",
"coverage": "c8 npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/digicatapult/openapi-ts-template.git"
},
"engines": {
"node": "18.x.x",
"npm": "9.x.x"
},
"keywords": [
"OpenAPI"
],
"author": "Digital Catapult",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/digicatapult/openapi-ts-template/issues"
},
"homepage": "https://github.com/digicatapult/openapi-ts-template#readme",
"devDependencies": {
"@types/chai": "^4.3.5",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.45",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"c8": "^7.14.0",
"chai": "^4.3.7",
"concurrently": "^7.6.0",
"depcheck": "^1.4.3",
"eslint": "^8.44.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"nodemon": "^2.0.22",
"pino-colada": "^2.2.2",
"prettier": "^2.8.8",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"envalid": "^7.3.1",
"express": "^4.18.2",
"knex": "^2.4.2",
"pg": "^8.11.1",
"pino": "^7.11.0",
"swagger-ui-express": "^4.6.3",
"tsoa": "^4.1.3"
}
}