-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.25 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
{
"name": "unplugin-mock",
"version": "1.0.3",
"packageManager": "pnpm@7.25.1",
"description": "keep polite by plugin",
"keywords": [
"unplugin",
"mock",
"mock-server",
"unplugin-mock"
],
"license": "MIT",
"author": "tangdaoyuan <1197633750@qq.com> (https://github.com/tangdaoyuan/)",
"repository": {
"type": "git",
"url": "git+https://github.com/tangdaoyuan/unplugin-mock.git"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"./vite": {
"require": {
"types": "./dist/vite.d.ts",
"default": "./dist/vite.cjs"
},
"import": {
"types": "./dist/vite.d.ts",
"default": "./dist/vite.mjs"
}
},
"./types": {
"require": "./dist/types.cjs",
"import": "./dist/types.mjs",
"types": "./dist/types.d.ts"
},
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./*": "./*"
},
"files": [
"dist",
"*.d.ts",
"@types"
],
"scripts": {
"test": "vitest",
"test:run": "vitest run",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"start": "node ./src/index.ts",
"play": "npm -C playground run dev",
"stub": "unbuild --stub",
"build": "unbuild",
"prepublishOnly": "pnpm run build",
"release": "bumpp --tag --commit --push && pnpm publish"
},
"bugs": {
"url": "https://github.com/tangdaoyuan/unplugin-mock/issues"
},
"homepage": "https://github.com/tangdaoyuan/unplugin-mock#readme",
"peerDependencies": {
"esbuild": "*",
"rollup": "*",
"vite": "*"
},
"dependencies": {
"chokidar": "^3.5.3",
"fast-glob": "^3.2.11",
"http-api-utils": "^0.1.3",
"import-module-runtime": "^0.1.2",
"magic-string": "^0.27.0",
"picocolors": "^1.0.0",
"regexparam": "^2.0.0",
"unplugin": "^1.0.0"
},
"devDependencies": {
"@suger-tdy/eslint-config": "^1.1.4",
"@types/normalize-path": "^3.0.0",
"bumpp": "^8.0.0",
"esbuild": "^0.17.0",
"eslint": "^8.17.0",
"normalize-path": "^3.0.0",
"typescript": "^4.7.3",
"unbuild": "^1.0.0",
"vite": "^4.0.0",
"vitest": "^0.28.0"
}
}