-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.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
{
"name": "json-server-reset",
"description": "Reset middleware for json-server",
"version": "0.0.0-development",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"bugs": "https://github.com/bahmutov/json-server-reset/issues",
"engines": {
"node": ">=8"
},
"files": [
"src/*.js",
"!src/*-spec.js"
],
"homepage": "https://github.com/bahmutov/json-server-reset#readme",
"keywords": [
"json-server",
"middleware",
"reset"
],
"license": "MIT",
"main": "src/",
"private": false,
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/bahmutov/json-server-reset.git"
},
"scripts": {
"ban": "ban",
"deps": "deps-ok && dependency-check --no-dev .",
"issues": "git-issues",
"license": "license-checker --production --onlyunknown --csv",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"test": "npm run unit",
"unit": "mocha src/*-spec.js",
"unused-deps": "dependency-check --unused --no-dev .",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:open:4000": "cypress open --config baseUrl=http://localhost:4000",
"start": "json-server cypress/fixtures/data.json --middlewares ./src/index.js --middlewares ./src/merge",
"start:server": "node ./cypress/fixtures/example-server",
"watch:server": "DEBUG=json-server-reset node --watch ./cypress/fixtures/example-server",
"e2e": "start-server-and-test 3000 cy:run",
"dev": "start-server-and-test 3000 cy:open",
"dev2": "start-test start:server 4000 cy:open:4000",
"semantic-release": "semantic-release"
},
"devDependencies": {
"ban-sensitive-files": "1.10.7",
"check-more-types": "2.24.0",
"cypress": "12.17.4",
"dependency-check": "4.1.0",
"deps-ok": "1.4.1",
"git-issues": "1.3.1",
"json-server": "0.17.4",
"lazy-ass": "2.0.3",
"license-checker": "25.0.1",
"mocha": "10.8.2",
"prettier": "2.8.8",
"semantic-release": "20.1.3",
"start-server-and-test": "1.15.5"
},
"dependencies": {
"debug": "4.4.0"
},
"peerDependencies": {
"json-server": ">=0.17"
}
}