-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
89 lines (89 loc) · 2.04 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
86
87
88
89
{
"name": "labs-api-starter",
"version": "1.0.0",
"private": false,
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"repository": "github:Lambda-School-Labs/labs-api-starter",
"scripts": {
"start": "node server.js",
"watch:dev": "nodemon",
"lint": "npx eslint .",
"lint:fix": "npx eslint --fix .",
"format": "npx prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|md)\"",
"knex": "npx knex --knexfile config/knexfile.js",
"tests": "npx jest",
"coverage": "CI=true npx jest --coverage --detectOpenHandles --forceExit"
},
"lint-staged": {
"api/**/*.js": [
"eslint --fix",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/vendor/",
"/coverage/"
],
"collectCoverageFrom": [
"**/*.js"
]
},
"nodemonConfig": {
"exec": "npm run start",
"watch": [
"api/*",
"public/*"
],
"ignore": [
"**/__tests__/**",
"*.test.js",
"*.spec.js"
]
},
"dependencies": {
"@okta/jwt-verifier": "^2.3.0",
"axios": "^0.26.0",
"cookie-parser": "~1.4.6",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "~4.17.3",
"helmet": "^5.0.2",
"http-errors": "~2.0.0",
"jwks-rsa": "^2.0.5",
"knex": "^1.0.3",
"morgan": "~1.10.0",
"pg": "^8.7.3",
"swagger-jsdoc": "^6.1.0",
"swagger-ui-express": "^4.3.0"
},
"devDependencies": {
"@faker-js/faker": "^6.1.1",
"cross-env": "^7.0.3",
"debug": "~4.3.3",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"supertest": "^6.2.2"
}
}