-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.48 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
{
"name": "mock-requests",
"version": "1.4.3",
"description": "Mocks XMLHttpRequest and fetch requests with the specified response object",
"author": "Devon Powell",
"license": "MIT",
"main": "index.js",
"types": "index.d.ts",
"files": [
"*"
],
"repository": {
"type": "git",
"url": "https://github.com/D-Pow/mock-requests.git"
},
"homepage": "https://d-pow.github.io/mock-requests",
"engines": {
"node": ">=16.11.0",
"npm": ">=8"
},
"scripts": {
"test": "jest --coverage tests",
"test:getCoverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"verify": "npm run test",
"clean": "npx shx rm -rf dist docs coverage",
"build": "webpack --mode production",
"prebuild": "npm run clean",
"postbuild": "npm run build:demo && npm run docgen",
"docgen": "npm run gentypes",
"postdocgen": "npm run jsdoc",
"gentypes": "npm run gentypes:src && npm run gentypes:bin",
"gentypes:src": "tsc -b config/tsconfig.src.json",
"gentypes:bin": "tsc -b config/tsconfig.bin.json",
"jsdoc": "jsdoc -c config/jsdoc.config.json",
"build:demo": "( cd demo; ! [[ -d node_modules ]] && npm install; npm run build );",
"deploy": "gh-pages -d docs",
"predeploy": "npm run build",
"postdeploy": "echo \"Deployed docs website to '$(node -p \"require('./package.json').homepage\")'\"",
"prepublishLib": "npm run deploy",
"publishLib": "cd dist; npm publish"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.17.2",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/webpack": "^5.28.0",
"babel-loader": "^8.2.3",
"better-docs": "^2.7.2",
"copy-webpack-plugin": "^10.2.4",
"core-js": "^3.21.1",
"coveralls": "^3.1.1",
"docdash": "^1.2.0",
"gh-pages": "^3.2.3",
"jest": "^27.5.1",
"jsdoc": "^3.6.10",
"shelljs": "^0.8.5",
"typescript": "^4.6.2",
"webpack": "^5.69.1",
"webpack-cli": "^4.9.2"
},
"jest": {
"preset": "./config/jest.config.mjs"
},
"keywords": [
"network",
"mock",
"mocking",
"mocks",
"mocker",
"fetch",
"fetch-mock",
"XMLHttpRequest",
"XMLHttpRequest-mock",
"request",
"requests",
"request-mock",
"XHR",
"xhr-mock",
"AJAX",
"ajax mock",
"HTTP",
"HTTPS"
]
}