-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
81 lines (81 loc) · 2.7 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
{
"name": "exposure-notification-api",
"version": "1.0.0",
"private": true,
"description": "API service for exposure notification",
"main": "index.js",
"scripts": {
"create:env": "node -r fs -e \"fs.copyFileSync('.env.sample', '.env', fs.constants.COPYFILE_EXCL)\"",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:staged": "lint-staged",
"start": "node .",
"start:dev": "nodemon --config .nodemonrc . | pino-pretty --colorize",
"test": "jest --config .jest.json --coverage",
"test:watch": "jest --config .jest.json --watch --verbose",
"db:up": "docker-compose up -d covid-green-db",
"db:migrate": "node lib/migrate.js",
"db:down": "docker-compose down",
"db:delete": "docker-compose down -v",
"api:start:dev:when-ready": "npm run db:wait:readiness && npm run start:dev",
"api:start:when-ready": "npm run db:wait:readiness && npm start",
"db:migrate:until-done": "while ! node lib/migrate.js; do sleep 1; done && npm run db:check:readiness",
"db:check:readiness": "node lib/is-database-ready.js",
"db:wait:readiness": "while ! node lib/is-database-ready.js; do sleep 1; done",
"system:up": "docker-compose up",
"system:down": "docker-compose down",
"system:nuke": "docker-compose down -v --rmi all"
},
"dependencies": {
"@nearform/sql": "^1.8.0",
"aws-sdk": "^2.911.0",
"date-fns": "^2.21.3",
"dotenv": "^9.0.2",
"env-schema": "^3.0.1",
"fastify": "^3.15.1",
"fastify-autoload": "^3.7.1",
"fastify-cors": "^6.0.1",
"fastify-formbody": "^5.0.0",
"fastify-jwt": "^2.4.0",
"fastify-plugin": "^3.0.0",
"fastify-postgres": "^3.5.0",
"fastify-swagger": "^4.7.0",
"fluent-schema": "^1.1.0",
"http-errors": "^1.8.0",
"jsonwebtoken": "^8.5.1",
"mobile-detect": "^1.4.5",
"node-fetch": "^2.6.1",
"node-forge": "^0.10.0",
"node-jose": "^2.0.0",
"pg": "^8.6.0",
"pg-range": "^1.1.0",
"postgrator": "^4.1.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier-standard": "^4.0.1",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^5.0.0",
"faker": "^5.5.3",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"nodemon": "^2.0.7",
"pino-pretty": "^4.7.1",
"prettier": "^2.3.0",
"prettier-config-standard": "^4.0.0"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
]
},
"prettier": "prettier-config-standard"
}