-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
91 lines (91 loc) · 2.22 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
{
"name": "dialetus-service",
"version": "2.1.0",
"main": "index.js",
"repository": "[email protected]:mvfsillva/dialetus-service.git",
"author": "Marcus Silva <[email protected]>",
"license": "MIT",
"keywords": [
"dialetus",
"dialects",
"dialect",
"brazil",
"dictionary",
"brasil",
"dialetos",
"girias",
"dicionário",
"API"
],
"scripts": {
"start": "NODE_ENV=production node server",
"dev": "nodemon server",
"lint": "xo --quiet",
"precommit": "lint-staged",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"test": "npm run lint && npm run test:unit && npm run test:integration",
"test:unit": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=html mocha --opts ./test/unit/mocha.opts",
"test:integration": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=html mocha --opts ./test/integration/mocha.opts"
},
"devDependencies": {
"all-contributors-cli": "6.20.0",
"chai": "4.3.0",
"chai-as-promised": "7.1.1",
"chai-http": "4.3.0",
"cross-env": "7.0.3",
"eslint-config-prettier": "6.15.0",
"husky": "4.3.8",
"lint-staged": "10.5.4",
"mocha": "7.2.0",
"nock": "11.9.1",
"nodemon": "2.0.7",
"nyc": "15.1.0",
"proxyquire": "2.1.3",
"sinon": "8.1.1",
"sinon-chai": "3.5.0",
"supertest": "4.0.2",
"xo": "0.22.0"
},
"dependencies": {
"bluebird": "^3.5.1",
"body-parser": "^1.18.3",
"cors": "^2.8.4",
"deepmerge": "^4.0.0",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"glob": "^7.1.3",
"hoopa-logger": "^1.1.0",
"mongo-sanitize": "^1.0.0",
"mongoose": "^5.2.9",
"morgan": "^1.9.0",
"slugify": "^1.3.1"
},
"xo": {
"extends": [
"prettier"
],
"globals": [
"it",
"describe",
"before",
"after",
"afterEach",
"assert",
"sinon",
"expect"
],
"rules": {
"prefer-promise-reject-errors": 0,
"no-use-extend-native/no-use-extend-native": 0
}
},
"lint-staged": {
"*.js": [
"yarn lint",
"yarn test:unit",
"prettier --semi false --single-quote --trailing-comma --write",
"git add"
]
}
}