-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.62 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.62 KB
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": "@ndriadev/vite-plugin-universal-api",
"description": "Plugin Mock WebSocket, REST and File-based APIs for Vite",
"private": false,
"version": "2.2.0",
"type": "module",
"files": [
"dist/",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"dev": "tsdown --watch",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:run": "vitest run",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "tsc --noEmit",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"clean": "rimraf dist coverage docs/.vitepress/dist docs/.vitepress/cache",
"prebuild": "pnpm run clean",
"build": "tsdown",
"postbuild": "node scripts/verify-build.js",
"prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run test:run && pnpm run build",
"changelog": "node scripts/generate-changelog.js",
"release:patch": "bash scripts/release.sh patch",
"release:minor": "bash scripts/release.sh minor",
"release:major": "bash scripts/release.sh major",
"postversion": "git push && git push --tags",
"version": "pnpm run changelog && git add CHANGELOG.md"
},
"engines": {
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@types/node": "^22.19.17",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^4.1.4",
"eslint": "^10.2.0",
"globals": "^17.4.0",
"mkdirp": "^3.0.1",
"rimraf": "^6.1.3",
"tsdown": "^0.21.7",
"tsx": "^4.21.0",
"typescript-eslint": "^8.58.1",
"vitepress": "^1.6.4",
"vitest": "^4.1.4",
"ws": "^8.20.0"
},
"peerDependencies": {
"vite": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || >=8.0.0"
},
"keywords": [
"vite",
"vite-plugin",
"plugin",
"mock",
"server",
"api",
"mock-server",
"REST",
"rest",
"WS",
"ws",
"websocket",
"FS",
"file-system",
"file-based"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nDriaDev/vite-plugin-universal-api"
},
"author": {
"name": "Andrea Cosentino",
"email": "admin@ndria.dev",
"url": "https://github.com/nDriaDev/"
},
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/nDriaDev/vite-plugin-universal-api/issues"
},
"homepage": "https://github.com/nDriaDev/vite-plugin-universal-api",
"license": "MIT"
}