-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
108 lines (108 loc) · 3.17 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "role-assigner",
"version": "1.0.0",
"description": "An app that assigns roles randomly to team members",
"main": "server/app.js",
"nyc": {
"require": [
"@babel/register"
],
"exclude": [
"doc",
"coverage",
"server/config",
"server/db/migrations",
"server/db/models",
"server/db/seeders",
"server/tests"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": false,
"instrument": true,
"all": false
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run lint",
"git add --force"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"scripts": {
"start": "node dist/app.js",
"watch": "NODE_ENV=development nodemon --exec babel-node server/app.js",
"test": "NODE_ENV=test nyc mocha --recursive server/tests --require @babel/register --exit",
"test:watch": "NODE_ENV=test mocha --recursive server/tests --require @babel/register --watch",
"pretest": "NODE_ENV=test npm run lint && npm run prettier && NODE_ENV=test npm run migrate:seed:test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coveralls": "cat coverage/lcov.info | coveralls",
"build": "rm -rf build && babel server -d dist",
"check-staged": "lint-staged",
"prettier": "prettier --write '**/*.{js,jsx}'",
"lint": "node_modules/eslint/bin/eslint.js server --fix",
"migrate:seed": "sequelize db:migrate:undo:all && sequelize db:migrate && sequelize db:seed:undo:all && sequelize db:seed:all",
"migrate:seed:test": "sequelize db:migrate:undo:all && sequelize db:migrate && sequelize db:seed:undo:all && sequelize db:seed:all"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NedyUdombat/Role-Assigner.git"
},
"author": "Team Zinnia",
"license": "ISC",
"bugs": {
"url": "https://github.com/NedyUdombat/Role-Assigner/issues"
},
"homepage": "https://github.com/NedyUdombat/Role-Assigner#readme",
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.18.3",
"cors": "^2.8.5",
"cron": "^1.7.0",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"joi": "^14.3.1",
"jsonwebtoken": "^8.5.1",
"pg": "^7.9.0",
"pg-hstore": "^2.3.2",
"sequelize": "^5.15.1",
"sequelize-cli": "^5.4.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/node": "^7.2.2",
"@babel/plugin-transform-regenerator": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/register": "^7.4.0",
"@babel/runtime": "^7.4.2",
"babel-plugin-istanbul": "^5.1.1",
"babel-eslint": "^10.0.1",
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"coveralls": "^3.0.3",
"eslint": "^5.15.3",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"mocha": "^6.1.4",
"mocha-lcov-reporter": "^1.3.0",
"nodemon": "^1.18.10",
"nyc": "^13.3.0",
"prettier": "^1.16.4"
}
}