-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 2.02 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
{
"name": "node-express-postgres-template",
"version": "1.0.0",
"description": "A simple template for building APIs using Typescript, Node, Express and Postgres",
"main": "index.js",
"exports": "./dist/index.js",
"scripts": {
"start:dev": "nodemon --watch 'src/**/*.ts' --exec 'npm run build && ts-node dist/index.js'",
"start:prod": "NODE_ENV=production ts-node dist/index.js",
"build": "tsc --build",
"lint": "./node_modules/eslint/bin/eslint.js . --ext .js,.ts",
"migrate": "node-pg-migrate -m src/database/migrations",
"pretest": "dropdb node-demo-test; createdb node-demo-test; DATABASE_URL=postgres://localhost:5432/node-demo-test npm run migrate up",
"test": "jest --detectOpenHandles --verbose",
"coverage": "jest --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nathan-gilbert/node-express-postgres-template.git"
},
"keywords": [],
"author": "Nathan Gilbert",
"license": "ISC",
"bugs": {
"url": "https://github.com/nathan-gilbert/node-express-postgres-template/issues"
},
"homepage": "https://github.com/nathan-gilbert/node-express-postgres-template#readme",
"dependencies": {
"body-parser": "^1.20.2",
"config": "^3.3.9",
"express": "^4.18.2",
"http-status-codes": "^2.2.0",
"node-pg-migrate": "^6.2.2",
"npm-check-updates": "^16.10.18",
"pg": "^8.11.2"
},
"devDependencies": {
"@types/config": "^3.3.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.10",
"@types/node-pg-migrate": "^2.3.1",
"@types/nodemon": "^1.19.2",
"@types/pg": "^8.10.2",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.2",
"nodemon": "^3.0.1",
"prettier": "3.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
}
}