-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
67 lines (67 loc) · 2.01 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
{
"name": "node-express-mongoose-rest",
"version": "1.0.0",
"main": "index.js",
"author": "Ricardo Canelas",
"license": "MIT",
"browserslist": "> 0.5%, not dead",
"dependencies": {
"bcryptjs": "^2.4.3",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"crypto": "^1.0.1",
"dotenv": "^6.1.0",
"express": "^4.16.4",
"express-jwt": "^6.0.0",
"express-session": "^1.15.6",
"jsonwebtoken": "^8.3.0",
"mongoose": "^5.7.5",
"passport": "^0.4.0",
"passport-local": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.2",
"@babel/core": "^7.1.2",
"@babel/node": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"chai": "^4.2.0",
"chai-http": "^4.2.0",
"eslint": "^5.8.0",
"eslint-config-prettier": "^3.1.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.1.3",
"lint-staged": "^8.0.4",
"mocha": "^5.2.0",
"mongoose-seed": "^0.5.1",
"nodemon": "^1.18.5",
"nyc": "^13.1.0",
"prettier": "^1.14.3"
},
"scripts": {
"start": "cross-env NODE_ENV=development nodemon --exec babel-node src/server.js",
"build": "babel src --out-dir dist",
"serve": "node dist/server.js",
"test": "cross-env NODE_ENV=test mocha --require @babel/register src/tests/*.js --exit",
"test:coverage": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text mocha --require @babel/register src/tests/*.js --exit",
"lint": "node_modules/.bin/eslint *.js src --color --ignore-path .gitignore .",
"lint:fix": "node_modules/.bin/eslint --fix *.js src --color --ignore-path .gitignore .",
"lint-staged": "lint-staged",
"seed": "cross-env NODE_ENV=development babel-node src/seeder.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js}": [
"prettier --write",
"eslint",
"git add"
]
}
}