91 lines
2.1 KiB
JSON
91 lines
2.1 KiB
JSON
{
|
|
"name": "electron-vite",
|
|
"version": "1.0.15",
|
|
"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"
|
|
},
|
|
"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": "npm run lint && node scripts/build.js"
|
|
},
|
|
"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"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@swc/core": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/api-extractor": "^7.33.5",
|
|
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
"@rollup/plugin-typescript": "^9.0.2",
|
|
"@swc/core": "^1.3.11",
|
|
"@types/node": "16.18.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"eslint": "^8.26.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"fs-extra": "^10.1.0",
|
|
"lint-staged": "^13.0.3",
|
|
"prettier": "^2.7.1",
|
|
"rollup": "^2.79.1",
|
|
"simple-git-hooks": "^2.8.1",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^4.8.4",
|
|
"vite": "^3.2.2"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.19.6",
|
|
"@babel/plugin-transform-arrow-functions": "^7.18.6",
|
|
"cac": "^6.7.14",
|
|
"esbuild": "^0.15.12",
|
|
"magic-string": "^0.26.7",
|
|
"picocolors": "^1.0.0"
|
|
}
|
|
}
|