-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
92 lines (92 loc) · 2.18 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
{
"name": "@preact/preset-vite",
"version": "2.9.1",
"description": "Preact preset for the vite bundler",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"types": "dist/cjs/index.d.ts",
"scripts": {
"dev": "vite demo",
"dev:build": "vite build demo",
"dev:preview": "vite preview demo",
"build": "rimraf dist && tsc && tsc -p tsconfig.cjs.json && node tools/postbuild.mjs",
"test": "node --test test",
"prepublishOnly": "npm run build"
},
"keywords": [
"preact",
"vite",
"vite-preset",
"preset"
],
"author": "The Preact Team (https://preactjs.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/preactjs/preset-vite.git"
},
"license": "MIT",
"files": [
"dist/"
],
"dependencies": {
"@babel/code-frame": "^7.22.13",
"@babel/plugin-transform-react-jsx": "^7.22.15",
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
"@prefresh/vite": "^2.4.1",
"@rollup/pluginutils": "^4.1.1",
"babel-plugin-transform-hook-names": "^1.0.2",
"debug": "^4.3.4",
"kolorist": "^1.8.0",
"magic-string": "0.30.5",
"node-html-parser": "^6.1.10",
"source-map": "^0.7.4",
"stack-trace": "^1.0.0-pre2"
},
"peerDependencies": {
"@babel/core": "7.x",
"vite": "2.x || 3.x || 4.x || 5.x"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@types/babel__code-frame": "^7.0.6",
"@types/babel__core": "^7.1.14",
"@types/debug": "^4.1.5",
"@types/estree": "^0.0.50",
"@types/node": "^14.14.33",
"@types/stack-trace": "^0.0.33",
"lint-staged": "^10.5.4",
"preact": "^10.19.2",
"preact-iso": "^2.3.2",
"preact-render-to-string": "^6.3.1",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.77.3",
"simple-git-hooks": "^2.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.2.3",
"vite": "^2.6.7"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,yml,json}": [
"prettier --write"
]
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"prettier": {
"useTabs": true,
"arrowParens": "avoid",
"trailingComma": "all"
},
"volta": {
"node": "18.12.1"
}
}