This repository has been archived by the owner on Oct 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
114 lines (114 loc) · 5.57 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
109
110
111
112
113
114
{
"license": "MIT",
"scripts": {
"clean": "npm prune && del-cli ./packages/*/dist ./packages/*/tsconfig.*tsbuildinfo",
"compile:clean": "tsc --build tsconfig.build.json --clean",
"compile:tests": "tsc --build tsconfig.test.json && tsc --build tsconfig.test.json --clean",
"compile": "tsc --build tsconfig.build.json",
"watch": "tsc --build tsconfig.build.json --watch",
"release": "npm run clean && npm install && lerna publish from-package --exact --force-publish=unmock-core --include-merged-tags",
"postinstall": "lerna run prepare && npm run lint-ts && npm run compile:tests && npm run compile",
"format-check": "prettier --check \"packages/**/*.ts\" \"packages/**/*.js\"",
"format": "prettier --write \"packages/**/*.ts\" \"packages/**/*.js\"",
"lint": "npm run lint-ts",
"lint-ts": "npm run format-check && tslint --project packages/unmock-types/ --config tslint.json && tslint --project packages/unmock-xmlhttprequest/ --config tslint.json && tslint --project packages/openapi-refinements/ --config tslint.json && tslint --project packages/unmock/tsconfig.node.json --config tslint.json && tslint --project packages/unmock/tsconfig.browser.json --config tslint.json && tslint --project packages/unmock-cli/ --config tslint.json && tslint --project packages/unmock-core/ --config tslint.json && tslint --project packages/unmock-jest/ --config tslint.json && tslint --project packages/unmock-node/ --config tslint.json && tslint --project packages/unmock-server/ --config tslint.json && tslint --project packages/unmock-browser/ --config tslint.json",
"lint-ts-fix": "npm run format && tslint --fix --project packages/unmock-types/ --config tslint.json && tslint --fix --project packages/unmock-xmlhttprequest/ --config tslint.json && tslint --fix --project packages/openapi-refinements/ --config tslint.json && tslint --fix --project packages/unmock/tsconfig.node.json --config tslint.json && tslint --fix --project packages/unmock/tsconfig.browser.json --config tslint.json && tslint --fix --project packages/unmock-cli/ --config tslint.json && tslint --fix --project packages/unmock-core/ --config tslint.json && tslint --fix --project packages/unmock-jest/ --config tslint.json && tslint --fix --project packages/unmock-node/ --config tslint.json && tslint --fix --project packages/unmock-server/ --config tslint.json && tslint --fix --project packages/unmock-browser/ --config tslint.json",
"test": "jest --verbose",
"test:debug": "DEBUG=unmock* jest --verbose",
"test:clean": "jest --clearCache",
"test:watch": "jest --verbose --watchAll",
"testonly": "npm test",
"test:ci": "npm run coverage -- --ci --maxWorkers=2 --reporters=default --reporters=jest-junit",
"coverage": "npm test -- --coverage",
"coverage:upload": "codecov",
"version": "lerna version --no-git-tag-version",
"unmock": "node packages/unmock-cli/dist/index.js",
"generate-spy": "npx ts-node packages/unmock-core/scripts/generate-spy.ts > packages/unmock-core/src/service/spy/generated/index.ts && npm run lint-ts-fix",
"generate-spy-dry": "npx ts-node packages/unmock-core/scripts/generate-spy.ts"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
],
"*.js": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@oclif/dev-cli": "^1.22.2",
"@testing-library/jest-dom": "^4.2.4",
"@types/app-root-path": "^1.2.4",
"@types/content-type": "^1.1.3",
"@types/debug": "^4.1.4",
"@types/glob": "^7.1.1",
"@types/ini": "^1.3.30",
"@types/jest": "^24.0.25",
"@types/js-yaml": "^3.12.1",
"@types/jsdom": "^12.2.4",
"@types/json-pointer": "^1.0.30",
"@types/lodash": "^4.14.149",
"@types/mitm": "^1.3.2",
"@types/mkdirp": "^0.5.2",
"@types/node": "^8.10.59",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/seedrandom": "^2.4.28",
"@types/shimmer": "^1.0.1",
"@types/supertest": "^2.0.8",
"@types/url-parse": "^1.4.3",
"@types/uuid": "^3.4.6",
"axios": "^0.19.0",
"babel-jest": "^24.9.0",
"codecov": "^3.6.5",
"del-cli": "^1.1.0",
"dotenv": "^7.0.0",
"express": "^4.16.4",
"jest": "^24.9.0",
"jest-junit": "^6.4.0",
"jsdom": "^15.2.1",
"lerna": "^3.20.2",
"lodash.template": "^4.5.0",
"markdown-toc": "^1.2.0",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"supertest": "^4.0.2",
"ts-jest": "^24.3.0",
"ts-node": "^8.5.4",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.7.4",
"unmock-jest-runner": "0.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unmock/unmock-js.git"
},
"homepage": "https://github.com/unmock/unmock-js",
"bugs": {
"url": "https://github.com/unmock/unmock-js/issues"
},
"dependencies": {
"openapi-refinements": "file:packages/openapi-refinements",
"unmock": "file:packages/unmock",
"unmock-browser": "file:packages/unmock-browser",
"unmock-cli": "file:packages/unmock-cli",
"unmock-core": "file:packages/unmock-core",
"unmock-fetch": "file:packages/unmock-fetch",
"unmock-jest": "file:packages/unmock-jest",
"unmock-node": "file:packages/unmock-node",
"unmock-runner": "file:packages/unmock-runner",
"unmock-server": "file:packages/unmock-server",
"unmock-types": "file:packages/unmock-types",
"unmock-xmlhttprequest": "file:packages/unmock-xmlhttprequest"
},
"name": "unmock",
"jest": {
"projects": [
"<rootDir>/packages/*"
]
}
}