-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
69 lines (69 loc) · 1.89 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
{
"name": "@hectorjs/stub-backend",
"version": "1.29.0",
"description": "Stub a service",
"main": "index.js",
"directories": {
"test": "test"
},
"overrides": {
"optionator": "0.9.3",
"word-wrap": "npm:@aashutoshrathi/word-wrap"
},
"dependencies": {
"@hectorjs/stub-cli": "^1.47.1",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"deep-equal": "^1.1.2",
"express": "^4.18.2",
"fast-xml-parser": "^4.3.2",
"formidable": "^2.1.1",
"jsonpath": "^1.1.1",
"minimist": "^1.2.7",
"morgan": "^1.10.0",
"shelljs": "^0.8.5",
"socket.io": "^4.7.2",
"xml-js": "^1.6.11"
},
"devDependencies": {
"chai": "^4.3.10",
"eslint": "^8.56.0",
"eslint-config-google": "^0.14.0",
"husky": "^4.3.0",
"mocha": "^9.2.2",
"npm-force-resolutions": "^0.0.10",
"nyc": "^15.1.0",
"supertest": "^6.3.3"
},
"scripts": {
"hjs": "hjs",
"start": "set NODE_ENV=test & nodemon lib/server.js --profile test --logs tiny --port 3005",
"test": "env KEY=test mocha --recursive --exit --ui-enable",
"coverage": "env KEY=test nyc --reporter=html --reporter=text-summary mocha --recursive --exit --ui-enable",
"eslint": "eslint ./lib/**/*.js ./test/**/*.js",
"report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"test-all": "sh scripts/banners/cup-tea.sh && rm -rf node_modules && npm i && eslint ./lib/**/*.js ./test/**/*.js && npm run coverage"
},
"author": "Hector Jimenez Sanchez",
"license": "MIT",
"keywords": [
"stub",
"mock",
"backend",
"frontend",
"test",
"tool",
"configuration service"
],
"repository": {
"type": "git",
"url": "git://github.com/hector-js/stub-backend.git"
},
"homepage": "https://main.hectorjs.com",
"husky": {
"hooks": {
"pre-commit": "sh scripts/banners/earth.sh",
"pre-push": "npm run test-all"
}
}
}