-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 2.84 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": "node-auth",
"repository": {
"type": "git",
"url": "git+https://github.com/abdalla/node-auth.git"
},
"version": "1.2.0",
"author": "Carlos Abdalla",
"license": "MIT",
"homepage": "https://github.com/abdalla/node-auth#readme",
"description": "##It is a project to help to create an api using nodejs.",
"main": "server.js",
"scripts": {
"lint": "eslint src/** --fix && eslint test/** --fix",
"build": "babel src -s -D -d dist --presets es2015,latest",
"babel": "./node_modules/babel-cli/bin/babel-node.js --presets latest --plugins syntax-async-functions ./src/server.js",
"babel-node": "./node_modules/babel-cli/bin/babel-node.js ./src/server.js",
"start": "nodemon --exec npm run babel-node",
"test": "NODE_ENV=test mocha test --timeout 120000 --recursive -r babel-register --reporter spec --exit",
"t-travis": "NODE_ENV=test mocha test --timeout 240000 --recursive -r babel-register --exit",
"t-travis2": "NODE_ENV=test node_modules/.bin/babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha --timeout 120000 -- test/* --report lcovonly -- -R spec && cat ./coverage/lcov.info",
"test-cover": "NODE_ENV=test node_modules/.bin/babel-node node_modules/.bin/babel-istanbul cover node_modules/.bin/_mocha -- test/*",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm t",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"lint-staged": {
"*.js": [
"eslint src/** --fix",
"eslint test/** --fix",
"git add"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"bcrypt-nodejs": "0.0.3",
"bluebird": "3.7.2",
"body-parser": "^1.19.0",
"express": "4.17.1",
"helmet": "^4.6.0",
"jsonwebtoken": "^9.0.0",
"mongoose": "6.11.3",
"morgan": "1.10.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^13.2.0",
"babel-cli": "^6.26.0",
"babel-eslint": "10.1.0",
"babel-istanbul": "^0.12.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"chai": "4.3.4",
"commitizen": "^4.2.5",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "7.32.0",
"eslint-plugin-async-await": "0.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "4.0.0",
"factory-girl": "^5.0.4",
"faker": "^5.5.3",
"husky": "^7.0.2",
"istanbul": "^0.4.5",
"lint-staged": "^13.2.1",
"mocha": "^9.2.2",
"mocha-lcov-reporter": "^1.3.0",
"mongodb-memory-server": "7.4.3",
"nodemon": "^2.0.20",
"prettier": "2.4.1",
"snyk": "^1.1064.0",
"supertest": "6.1.6"
},
"snyk": true
}