-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathpackage.json
executable file
·106 lines (106 loc) · 2.95 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
{
"name": "better-mock",
"description": "Forked from Mockjs. Generate random data & Intercept ajax request. Support miniprogram.",
"author": "[email protected]",
"version": "0.3.7",
"main": "./dist/mock.node.js",
"module": "./dist/mock.browser.esm.js",
"browser": "./dist/mock.browser.js",
"scripts": {
"test": "mochify test/browser/**/*.js --timeout=20000",
"test:node": "mocha test/node/**/*.js --timeout=20000",
"cover": "nyc --reporter=lcov --instrument false mochify test/browser/**/*.js --timeout=20000 --transform [ babelify --ignore [ test ] --plugins [ babel-plugin-istanbul ] ]",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"cover:type": "type-coverage --strict --cache --ignore-catch --ignore-files '**/parser.js' --ignore-files '**/color-convert.ts'",
"dev": "npm run dev:browser & npm run dev:node",
"dev:browser": "node build/dev.js browser",
"dev:node": "node build/dev.js node",
"build": "rimraf dist/*.js && npm run lint && node build/build.js",
"doc:dev": "vuepress dev doc",
"doc:build": "vuepress build doc",
"doc:deploy": "sh doc/deploy.sh",
"lint": "eslint 'src/**/*.{js,ts}'"
},
"keywords": [
"mock",
"mockJSON",
"mockAjax",
"mockjs",
"javascript mocking",
"intercept request",
"ajax",
"xhr",
"XMLHttpRequest",
"fetch",
"fetch mocking",
"miniProgram",
"mp"
],
"files": [
"bin",
"dist",
"src",
"test",
"typings",
"LICENCE",
"package.json",
"README.md",
"tsconfig.json"
],
"bin": {
"random": "bin/random"
},
"types": "./typings/index.d.ts",
"typeCoverage": {
"atLeast": 84
},
"dependencies": {
"china-location": "^2.0.0",
"regexparam": "^1.3.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@types/node": "^12.7.2",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"axios": "^0.19.2",
"babel-plugin-istanbul": "^5.2.0",
"babelify": "^10.0.0",
"chai": "^4.2.0",
"commander": "^3.0.0",
"coveralls": "^3.0.6",
"eslint": "^6.8.0",
"husky": "^4.0.0",
"jquery": "^3.4.1",
"lint-staged": "^9.5.0",
"mocha": "^6.2.0",
"mochify": "^6.4.1",
"monaco-editor": "^0.19.2",
"monaco-editor-webpack-plugin": "^1.8.2",
"nyc": "^14.1.1",
"ora": "^5.1.0",
"raw-loader": "^4.0.0",
"rimraf": "^2.6.3",
"rollup": "^1.14.4",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.25.2",
"serve-handler": "^6.1.3",
"type-coverage": "^2.3.1",
"typescript": "^3.7.2",
"uglify-js": "^3.6.0",
"vuepress": "^1.0.3",
"zlib": "^1.0.5"
},
"repository": {
"type": "git",
"url": "https://github.com/lavyun/better-mock"
},
"engines": {
"node": ">=6"
},
"license": "MIT"
}