-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
84 lines (84 loc) · 2.56 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
{
"name": "f",
"version": "0.0.1",
"description": "f",
"exports": "./dist/index.js",
"scripts": {
"clean": "rimraf {dist,release}/*",
"dev": "npm run clean && NODE_ENV=development tsc-watch --onSuccess 'node dist/server.js' | pino-colada",
"build": "npm run clean && NODE_ENV=production tsc",
"start": "node dist/server.js",
"unit": "npm run build && mocha dist/**/*.spec.js",
"unit:w": "npm run clean && NODE_ENV=development tsc-watch --onSuccess 'mocha dist/**/*.spec.js'",
"integration": "npx prisma migrate reset --force && npm run build && mocha dist/**/*.ispec.js",
"setup:integration": "docker compose up -d",
"stop:integration": "docker compose down",
"lint": "eslint --fix --ext .ts .",
"format": "prettier --write .",
"prepare": "husky install"
},
"author": "Bayu Kurnia",
"license": "MIT",
"type": "module",
"dependencies": {
"@fastify/helmet": "^10.1.1",
"@fastify/secure-session": "^6.1.0",
"@lukeed/ms": "^2.0.0",
"@prisma/client": "^4.14.1",
"@types/nodemailer": "^6.4.4",
"bcrypt": "^5.1.0",
"crypto-random-string": "^4.0.0",
"env-schema": "^3.5.2",
"fastify": "^4.17.0",
"fastify-autoload": "^3.11.0",
"fastify-blipp": "^3.1.0",
"fastify-jwt": "^4.1.3",
"fastify-plugin": "^3.0.1",
"fastify-sensible": "^3.1.2",
"http-errors": "^2.0.0",
"is-docker": "^3.0.0",
"nodemailer": "^6.7.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/chai": "^4.3.0",
"@types/chai-as-promised": "^7.1.5",
"@types/http-errors": "^1.8.2",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.21",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"eslint": "^8.11.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"husky": "^7.0.4",
"json-schema-to-ts": "^1.6.5",
"lint-staged": "^12.3.7",
"mocha": "^9.2.2",
"pino-colada": "^2.2.2",
"prettier": "2.6.0",
"prisma": "^4.14.1",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"tsc-watch": "^4.6.2",
"typescript": "^4.6.2"
},
"node": ">=16.0.0",
"prettier": {
"trailingComma": "none",
"tabWidth": 2,
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix --cache-location ./node_modules/.cache/.eslintcache",
"prettier --write"
]
}
}