forked from vbenjs/vite-plugin-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.22 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
{
"name": "vite-plugin-mock",
"version": "2.9.6",
"description": "A mock plugin for vite",
"main": "dist/index.js",
"files": [
"dist",
"es"
],
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"clean": "rimraf dist && rimraf es",
"dev": " tsup src/index.ts --dts --format cjs,esm --watch",
"dev:client": "tsc -w --p tsconfig.es.json",
"build": "npm run clean && tsup src/index.ts --dts --format cjs,esm && tsc -p tsconfig.es.json",
"log": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "npm run build",
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
"lint:eslint": "eslint \"src/**/*.{ts,tsx}\" --fix",
"test": "jest --coverage",
"test:watch": "jest --watch",
"prepare": "husky install"
},
"keywords": [
"vite",
"mock",
"hmr"
],
"author": "Vben",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/anncwb/vite-plugin-mock"
},
"bugs": {
"url": "https://github.com/anncwb/vite-plugin-mock/issues"
},
"homepage": "https://github.com/anncwb/vite-plugin-mock/tree/master/#readme",
"dependencies": {
"@rollup/plugin-node-resolve": "^13.0.4",
"@types/mockjs": "^1.0.4",
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"connect": "^3.7.0",
"debug": "^4.3.2",
"esbuild": "0.11.3",
"fast-glob": "^3.2.7",
"path-to-regexp": "^6.2.0"
},
"peerDependencies": {
"mockjs": ">=1.1.0",
"vite": ">=2.0.0"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/connect": "^3.4.35",
"@types/debug": "^4.1.7",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.1",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^24.4.0",
"husky": "^7.0.1",
"jest": "^27.0.6",
"lint-staged": "^11.1.2",
"mockjs": "^1.1.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.5",
"tsup": "4.8.21",
"typescript": "^4.3.5",
"vite": "2.1.5"
}
}