-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 2 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
{
"name": "rest-api-starter",
"version": "1.0.0",
"description": "REST API starter",
"main": "bin/www/index.js",
"type": "module",
"scripts": {
"app:init": "npm i && npx prisma init && rm .env",
"app:setup": "npx prisma generate",
"coverage:view": "c8 --reporter=html --reporter=text ava",
"coverage": "c8 --reporter=lcov ava",
"lint": "standard --verbose | snazzy",
"lint:fix": "standard --fix",
"prepare": "husky install",
"start": "node bin/www/index.js",
"start:dev": "nodemon --inspect=0.0.0.0:9229 bin/www/index.js",
"test": "ava",
"test:watch": "ava --watch",
"migrate:create": "prisma migrate dev --create-only",
"migrate:generate": "prisma migrate dev",
"migrate:seed": "node -e 'import(\"./src/utils/generators/prisma.js\").then(module => console.log(module.seed()))' > prisma/seed.js",
"migrate:seed:run": "npm run prima:generate && prisma db seed",
"migrate:run": "prisma migrate dev",
"migrate:reset": "npx prisma migrate reset"
},
"prisma": {
"seed": "node prisma/seed.js"
},
"keywords": [
"rest",
"api",
"starter",
"scaffolding"
],
"author": "Álvaro José Agámez Licha",
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.17",
"@types/sinon": "^10.0.13",
"ava": "^5.1.0",
"c8": "^7.12.0",
"commitizen": "^4.2.6",
"cz-conventional-changelog": "^3.3.0",
"husky": "^8.0.2",
"nodemon": "^2.0.20",
"pino-tee": "^0.3.0",
"prisma": "^4.12.0",
"sinon": "^15.0.0",
"snazzy": "^9.0.0",
"standard": "^16.0.3",
"supertest": "^6.3.3"
},
"dependencies": {
"@devnetic/utils": "^2.1.0",
"@prisma/client": "^4.12.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"helmet": "^6.0.1",
"http-status-codes": "^2.2.0",
"joi": "^17.7.0",
"joi-to-swagger": "^6.2.0",
"jsonapi-query-parser": "^1.3.1",
"jsonwebtoken": "^9.0.0",
"pg": "^8.8.0",
"pg-hstore": "^2.3.4",
"pino": "^8.7.0",
"swagger-ui-express": "^4.6.0"
}
}