mm
This commit is contained in:
46
templates/vite-react-app/package.json
Normal file
46
templates/vite-react-app/package.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"name": "vite-react-app",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"sideEffects": [
|
||||
"*.css"
|
||||
],
|
||||
"module": "./dist/index.es.js",
|
||||
"main": "./dist/index.cjs.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"style": "./dist/index.css",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.es.js",
|
||||
"require": "./dist/index.cjs.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./index.css": "./dist/index.css"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"gen-css": "ts-node scripts/gen-index-css.ts",
|
||||
"gen-ts": "ts-node scripts/gen-index-ts.ts",
|
||||
"gen-index": "pnpm run gen-css && pnpm run gen-ts",
|
||||
"dev": "pnpm run gen-index && vite build --watch",
|
||||
"build": "pnpm run gen-index && tsc -p tsconfig.build.json && vite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^25.6.0",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@vitejs/plugin-react": "~5.2.0",
|
||||
"glob": "^13.0.6",
|
||||
"typescript": "~6.0.3",
|
||||
"vite": "~7.3.2",
|
||||
"vite-plugin-dts": "^4.5.4",
|
||||
"ts-node": "^10.9.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.2.5",
|
||||
"react-dom": "^19.2.5"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user