-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
80 lines (80 loc) · 2.41 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
{
"name": "vite-express",
"version": "0.20.0",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"author": "szymmis",
"repository": "https://github.com/szymmis/vite-express",
"description": "Vite integration module for Express",
"license": "MIT",
"scripts": {
"dev": "concurrently -i -P \"sh scripts/dev.sh {1}\" \"yarn build --watch\" --",
"build": "rollup --config rollup.config.js --bundleConfigAsCjs",
"postbuild": "node -e 'const fs = require(\"fs\"); fs.writeFileSync(\"dist/main.d.ts\", fs.readFileSync(\"dist/main.d.ts\", \"utf8\").replace(/export default _default/, \"export = _default\"));'",
"pretest": "yarn build",
"test": "vitest --pool=forks",
"format": "prettier --write --loglevel silent",
"lint": "eslint --fix",
"type-check": "tsc --noEmit; tsc --noEmit -p create-vite-express/tsconfig.json",
"prepare": "husky install && cd create-vite-express && yarn install",
"publish:core": "bash scripts/publish.sh",
"publish:cli": "bash scripts/publish-cli.sh"
},
"dependencies": {
"express-static-gzip": "^2.1.7",
"picocolors": "^1.0.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@types/express": "^4.17.21",
"@types/mime": "^4.0.0",
"@types/node": "^22.2.0",
"@types/node-fetch": "^2.6.9",
"@types/socket.io": "^3.0.2",
"@types/socket.io-client": "^3.0.0",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"@vitejs/plugin-react": "^4.2.0",
"concurrently": "^8.2.2",
"eslint": "^9.9.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"express": "^4.18.2",
"globals": "^15.9.0",
"husky": "^9.1.4",
"lint-staged": "^15.1.0",
"nodemon": "^3.0.1",
"prettier": "^3.1.0",
"puppeteer": "^23.0.2",
"rimraf": "^6.0.1",
"rollup": "^4.5.2",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"supertest": "^7.0.0",
"tslib": "^2.6.2",
"tsx": "^4.5.0",
"typescript": "^5.3.2",
"vite": "^5.0.2",
"vitest": "^2.0.5"
},
"files": [
"./dist"
],
"lint-staged": {
"**/*.json": "yarn format",
"**/*.{js,jsx,ts,tsx}": [
"yarn lint",
"yarn format"
]
},
"keywords": [
"express",
"vite",
"integration",
"module",
"connector"
]
}