89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"name": "@preact/preset-vite",
|
|
"version": "2.10.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": "rimraf demo/node_modules && 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/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",
|
|
"vite-prerender-plugin": "^0.5.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "7.x",
|
|
"vite": "2.x || 3.x || 4.x || 5.x || 6.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"
|
|
}
|
|
}
|