This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
70 lines (70 loc) · 2.03 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
{
"name": "app-backend",
"version": "0.1.0",
"description": "The backend API for the Coding Garden community app.",
"main": "src/index.js",
"jest": {
"testEnvironment": "node",
"preset": "jest-puppeteer",
"collectCoverageFrom": [
"!**node_modules**",
"src/api/**/*.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"scripts": {
"start": "cross-env NODE_ENV=production node src/index.js",
"dev": "cross-env NODE_ENV=development nodemon src/index.js",
"test": "cross-env NODE_ENV=test jest --verbose --coverage --detectOpenHandles --forceExit",
"lint": "eslint . --ext .js",
"seed": "node src/tasks/seed/localDevSeed.js",
"deploy": "./deploy.sh",
"format": "prettier --write src/**/*.js",
"buildAPIDoc": "swagger-ui-watcher ./Swag/MainSwag.yaml --bundle=./docs/APIs.json",
"coverage:open": "node src/tasks/openCoverage.js"
},
"repository": "https://github.com/CodingGardenCommunity/app-backend.git",
"author": "Coding Garden Community App",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "yarn run lint && yarn run format && yarn run test"
}
},
"dependencies": {
"colors": "^1.4.0",
"cors": "^2.8.5",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"joi": "^14.3.1",
"mongoose": "^5.7.5",
"node-fetch": "^2.6.0",
"swagger-ui-express": "^4.1.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"cross-env": "^6.0.0",
"eslint": "^6.4.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.17.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-puppeteer": "^4.3.0",
"nodemon": "^1.19.2",
"prettier": "^1.18.2",
"puppeteer": "^1.20.0",
"supertest": "^4.0.2"
}
}