Skip to content

Commit b714c59

Browse files
author
Andrea Cosentino
committed
chore: add verify build script execution
1 parent b8fb626 commit b714c59

1 file changed

Lines changed: 98 additions & 97 deletions

File tree

package.json

Lines changed: 98 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,98 @@
1-
{
2-
"name": "@ndriadev/vite-plugin-ws-rest-fs-api",
3-
"description": "Plugin Mock WebSocket, REST and File-based APIs for Vite",
4-
"private": false,
5-
"version": "1.0.0",
6-
"type": "module",
7-
"files": [
8-
"dist/",
9-
"README.md",
10-
"LICENSE",
11-
"CHANGELOG.md"
12-
],
13-
"main": "./dist/index.cjs",
14-
"module": "./dist/index.mjs",
15-
"types": "./dist/index.d.ts",
16-
"exports": {
17-
".": {
18-
"types": "./dist/index.d.ts",
19-
"require": "./dist/index.cjs",
20-
"import": "./dist/index.mjs"
21-
}
22-
},
23-
"scripts": {
24-
"dev": "unbuild --stub",
25-
"build": "unbuild",
26-
"test": "vitest",
27-
"test:coverage": "vitest --coverage",
28-
"test:run": "vitest run",
29-
"lint": "eslint .",
30-
"lint:fix": "eslint . --fix",
31-
"typecheck": "tsc --noEmit",
32-
"docs:dev": "vitepress dev docs",
33-
"docs:build": "vitepress build docs",
34-
"docs:preview": "vitepress preview docs",
35-
"clean": "rimraf dist coverage docs/.vitepress/dist docs/.vitepress/cache",
36-
"prebuild": "pnpm run clean",
37-
"prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run test:run && pnpm run build",
38-
"changelog": "node scripts/generate-changelog.js",
39-
"release:patch": "bash scripts/release.sh patch",
40-
"release:minor": "bash scripts/release.sh minor",
41-
"release:major": "bash scripts/release.sh major",
42-
"postversion": "git push && git push --tags",
43-
"version": "pnpm run changelog && git add CHANGELOG.md"
44-
},
45-
"engines": {
46-
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
47-
},
48-
"devDependencies": {
49-
"@eslint/eslintrc": "^3.3.0",
50-
"@eslint/js": "^9.21.0",
51-
"@types/node": "^22.13.9",
52-
"@vitest/coverage-v8": "3.2.4",
53-
"eslint": "^9.21.0",
54-
"globals": "^16.0.0",
55-
"mkdirp": "^3.0.1",
56-
"rimraf": "^6.1.2",
57-
"typescript-eslint": "^8.26.0",
58-
"unbuild": "^3.5.0",
59-
"vitepress": "^1.5.0",
60-
"vitest": "^3.2.4"
61-
},
62-
"peerDependencies": {
63-
"vite": "^4.0.0 || ^5.0.0 || ^6.0.0 || >=7.0.0"
64-
},
65-
"keywords": [
66-
"vite",
67-
"vite-plugin",
68-
"plugin",
69-
"mock",
70-
"server",
71-
"api",
72-
"mock-server",
73-
"REST",
74-
"rest",
75-
"WS",
76-
"ws",
77-
"websocket",
78-
"FS",
79-
"file-system",
80-
"file-based"
81-
],
82-
"repository": {
83-
"type": "git",
84-
"url": "git+https://github.com/nDriaDev/vite-plugin-ws-rest-fs-api"
85-
},
86-
"author": {
87-
"name": "Andrea Cosentino",
88-
"email": "andreacosentino.work@gmail.com",
89-
"url": "https://github.com/nDriaDev/"
90-
},
91-
"readmeFilename": "README.md",
92-
"bugs": {
93-
"url": "https://github.com/nDriaDev/vite-plugin-ws-rest-fs-api/issues"
94-
},
95-
"homepage": "https://github.com/nDriaDev/vite-plugin-ws-rest-fs-api",
96-
"license": "MIT"
97-
}
1+
{
2+
"name": "@ndriadev/vite-plugin-ws-rest-fs-api",
3+
"description": "Plugin Mock WebSocket, REST and File-based APIs for Vite",
4+
"private": false,
5+
"version": "1.0.0",
6+
"type": "module",
7+
"files": [
8+
"dist/",
9+
"README.md",
10+
"LICENSE",
11+
"CHANGELOG.md"
12+
],
13+
"main": "./dist/index.cjs",
14+
"module": "./dist/index.mjs",
15+
"types": "./dist/index.d.ts",
16+
"exports": {
17+
".": {
18+
"types": "./dist/index.d.ts",
19+
"require": "./dist/index.cjs",
20+
"import": "./dist/index.mjs"
21+
}
22+
},
23+
"scripts": {
24+
"dev": "unbuild --stub",
25+
"test": "vitest",
26+
"test:coverage": "vitest --coverage",
27+
"test:run": "vitest run",
28+
"lint": "eslint .",
29+
"lint:fix": "eslint . --fix",
30+
"typecheck": "tsc --noEmit",
31+
"docs:dev": "vitepress dev docs",
32+
"docs:build": "vitepress build docs",
33+
"docs:preview": "vitepress preview docs",
34+
"clean": "rimraf dist coverage docs/.vitepress/dist docs/.vitepress/cache",
35+
"prebuild": "pnpm run clean",
36+
"build": "unbuild",
37+
"postbuild": "node scripts/verify-build.js",
38+
"prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run test:run && pnpm run build",
39+
"changelog": "node scripts/generate-changelog.js",
40+
"release:patch": "bash scripts/release.sh patch",
41+
"release:minor": "bash scripts/release.sh minor",
42+
"release:major": "bash scripts/release.sh major",
43+
"postversion": "git push && git push --tags",
44+
"version": "pnpm run changelog && git add CHANGELOG.md"
45+
},
46+
"engines": {
47+
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
48+
},
49+
"devDependencies": {
50+
"@eslint/eslintrc": "^3.3.0",
51+
"@eslint/js": "^9.21.0",
52+
"@types/node": "^22.13.9",
53+
"@vitest/coverage-v8": "3.2.4",
54+
"eslint": "^9.21.0",
55+
"globals": "^16.0.0",
56+
"mkdirp": "^3.0.1",
57+
"rimraf": "^6.1.2",
58+
"typescript-eslint": "^8.26.0",
59+
"unbuild": "^3.5.0",
60+
"vitepress": "^1.5.0",
61+
"vitest": "^3.2.4"
62+
},
63+
"peerDependencies": {
64+
"vite": "^4.0.0 || ^5.0.0 || ^6.0.0 || >=7.0.0"
65+
},
66+
"keywords": [
67+
"vite",
68+
"vite-plugin",
69+
"plugin",
70+
"mock",
71+
"server",
72+
"api",
73+
"mock-server",
74+
"REST",
75+
"rest",
76+
"WS",
77+
"ws",
78+
"websocket",
79+
"FS",
80+
"file-system",
81+
"file-based"
82+
],
83+
"repository": {
84+
"type": "git",
85+
"url": "git+https://github.com/nDriaDev/vite-plugin-ws-rest-fs-api"
86+
},
87+
"author": {
88+
"name": "Andrea Cosentino",
89+
"email": "andreacosentino.work@gmail.com",
90+
"url": "https://github.com/nDriaDev/"
91+
},
92+
"readmeFilename": "README.md",
93+
"bugs": {
94+
"url": "https://github.com/nDriaDev/vite-plugin-ws-rest-fs-api/issues"
95+
},
96+
"homepage": "https://github.com/nDriaDev/vite-plugin-ws-rest-fs-api",
97+
"license": "MIT"
98+
}

0 commit comments

Comments
 (0)