-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.75 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 2.75 KB
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
90
91
92
93
94
95
96
97
{
"name": "LSM",
"version": "1.0.0",
"engines": {
"node": "10.16.3"
},
"description": "LSM - an API for building a smart meter solution for lagos state government",
"main": "app.js",
"scripts": {
"start": "cross-env NODE_ENV=production && npm run build && node dist/app.js",
"start:dev": "cross-env NODE_ENV=development nodemon server/app.js --exec babel-node",
"build": "babel server -d dist",
"test": "cross-env NODE_ENV=test jest --coverage --detectOpenHandles --forceExit",
"eslint:check": " node node_modules/eslint/bin/eslint.js \"./**/*.js\"",
"eslint:fix": "eslint --fix server/",
"prettier:check": "prettier --check \"./**/*.js\"",
"prettier:fix": "prettier --write \"./**/*.js\"",
"check:lint": "npm run eslint:check && npm run prettier:check",
"pretest": "npm run check:lint",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"check:coverage": "nyc check-coverage --lines 80"
},
"repository": {
"type": "git",
"url": "https://github.com/vic3king/LSM.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/vic3king/LSM/issues"
},
"homepage": "https://github.com/vic3king/LSM#readme",
"devDependencies": {
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"coveralls": "^3.0.9",
"eslint": "^5.15.3",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.2.3",
"jest": "^25.2.7",
"lint-staged": "^10.1.2",
"nodemon": "^1.19.4",
"prettier": "^1.19.1",
"supertest": "^4.0.2"
},
"dependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/node": "^7.8.7",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@babel/register": "^7.8.6",
"@hapi/joi": "^16.1.7",
"aws-iot-device-sdk": "^2.2.4",
"aws-sdk": "^2.655.0",
"babel-eslint": "^10.1.0",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"bull": "^3.13.0",
"compression": "^1.7.4",
"cookie-session": "^1.4.0",
"cors": "^2.8.5",
"cross-env": "^6.0.3",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"helmet": "^3.21.3",
"jsonwebtoken": "^8.5.1",
"moment": "^2.24.0",
"mongoose": "^5.9.4",
"nodemailer": "^6.4.5",
"randomstring": "^1.1.5",
"swagger-jsdoc": "^3.5.0",
"swagger-ui-express": "^4.1.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write"
],
"*.js": "eslint --cache --fix"
},
"nyc": {
"exclude": [
"server/db/*.js",
"tests"
]
}
}