91 lines
2.2 KiB
JSON
91 lines
2.2 KiB
JSON
{
|
|
"name": "electron-vite",
|
|
"version": "1.0.29",
|
|
"description": "Electron build tooling based on Vite",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"bin": {
|
|
"electron-vite": "bin/electron-vite.js"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"dist",
|
|
"node.d.ts"
|
|
],
|
|
"engines": {
|
|
"node": "^14.18.0 || >=16.0.0"
|
|
},
|
|
"packageManager": "pnpm@8.6.10",
|
|
"author": "Alex Wei<https://github.com/alex8088>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/alex8088/electron-vite.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/alex8088/electron-vite/issues"
|
|
},
|
|
"homepage": "https://github.com/alex8088/electron-vite#readme",
|
|
"keywords": [
|
|
"electron",
|
|
"vite",
|
|
"cli",
|
|
"plugin"
|
|
],
|
|
"scripts": {
|
|
"format": "prettier --write .",
|
|
"lint": "eslint --ext .ts src/**",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged",
|
|
"commit-msg": "node scripts/verifyCommit.js $1"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write"
|
|
],
|
|
"*.ts?(x)": [
|
|
"eslint",
|
|
"prettier --parser=typescript --write"
|
|
]
|
|
},
|
|
"peerDependencies": {
|
|
"@swc/core": "^1.0.0",
|
|
"vite": "^3.0.0 || ^4.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@swc/core": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
"@swc/core": "^1.3.100",
|
|
"@types/node": "^18.19.3",
|
|
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
"@typescript-eslint/parser": "^6.13.2",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"lint-staged": "^15.2.0",
|
|
"prettier": "^3.1.0",
|
|
"rollup": "^4.6.1",
|
|
"rollup-plugin-dts": "^6.1.0",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"tslib": "^2.6.2",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.0.6"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.23.5",
|
|
"@babel/plugin-transform-arrow-functions": "^7.23.3",
|
|
"cac": "^6.7.14",
|
|
"esbuild": "^0.19.8",
|
|
"magic-string": "^0.30.5",
|
|
"picocolors": "^1.0.0"
|
|
}
|
|
}
|