-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.5 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
85
{
"name": "femhoot-api",
"version": "1.0.0",
"description": "play feminist!",
"main": "start.js",
"scripts": {
"lint": "eslint . --ext .js",
"lint:fix": "npm run lint -- --fix",
"prepare": "husky install",
"report": "npm run report:todo && (npm run report:test)",
"report:test": "cross-env REPORT=true lab",
"report:todo": "rm -rf todo.md && leasot --exit-nicely --reporter markdown \"./**/*.js\" --ignore \"node_modules/**/*.js\" > todo.md && code -r todo.md",
"start": "node start.js",
"start:dev": "cross-env NODE_ENV=dev node start.js",
"start:local": "cross-env NODE_ENV=local node start.js",
"test": "lab",
"test:log": "cross-env LOG=true lab",
"watch": "cross-env WATCH=true nodemon start.js",
"watch:local": "cross-env NODE_ENV=local WATCH=true nodemon start.js --ignore test/ --ignore api/plugins/db-fixtures.js",
"watch:test": "cross-env WATCH=true nodemon --delay 2 --exec npx lab"
},
"engines": {
"node": ">=16.0.0"
},
"keywords": [
"rest",
"api",
"hapi"
],
"author": "amda",
"license": "ISC",
"dependencies": {
"@hapi/accept": "^5.0.2",
"@hapi/basic": "^6.0.0",
"@hapi/boom": "^9.1.4",
"@hapi/eslint-plugin": "^5.1.0",
"@hapi/glue": "^8.0.0",
"@hapi/hapi": "^20.2.1",
"@hapi/hoek": "^9.2.1",
"@hapi/inert": "^6.0.4",
"@hapi/vision": "^6.1.0",
"dotenv": "^11.0.0",
"hapi-mongoose": "^2.0.0",
"hapi-pino": "^9.1.0",
"hapi-swagger": "^14.2.4",
"joi": "^17.5.0",
"joi-objectid": "^4.0.2",
"joigoose": "^8.0.2",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"module-alias": "^2.2.2",
"mongoose": "^6.1.6",
"pino-pretty": "^7.3.0"
},
"devDependencies": {
"@hapi/code": "^8.0.5",
"@hapi/lab": "^24.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.4",
"leasot": "^12.0.0",
"lint-staged": "^12.1.7",
"nodemon": "^2.0.15",
"pretty-quick": "^3.1.3"
},
"_moduleAliases": {
"Api": "api",
"App": "app",
"Mongo": "db/mongo/models",
"Plugins": "api/plugins",
"Routes": "api/routes",
"Utils": "utils",
"Validators": "api/validators",
"@appFactory": "utils/appFactory.js",
"@env": "api/env.js",
"@errMessages": "utils/errMessages.json",
"@helpers": "utils/helpers.js",
"@manifest": "api/manifest.js",
"@mongo": "db/mongo/utils.js",
"@pack": "package.json",
"@server": "api/server.js",
"@settings": "api/settings.js"
}
}