electron-vite/package.json

103 lines
2.4 KiB
JSON
Raw Normal View History

2022-03-17 09:21:02 +01:00
{
"name": "electron-vite",
2023-11-17 15:27:06 +01:00
"version": "1.0.29",
2022-08-25 13:28:17 +02:00
"description": "Electron build tooling based on Vite",
2023-12-08 15:03:47 +01:00
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
2022-03-17 09:21:02 +01:00
"types": "dist/index.d.ts",
2023-12-08 15:03:47 +01:00
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./node": {
"types": "./node.d.ts"
}
},
2022-03-17 09:21:02 +01:00
"bin": {
"electron-vite": "bin/electron-vite.js"
},
"files": [
"bin",
2022-11-07 17:36:22 +01:00
"dist",
"node.d.ts"
2022-03-17 09:21:02 +01:00
],
"engines": {
2023-12-08 14:35:06 +01:00
"node": "^18.0.0 || >=20.0.0"
2022-03-17 09:21:02 +01:00
},
2023-07-29 10:45:45 +02:00
"packageManager": "pnpm@8.6.10",
2022-03-17 09:21:02 +01:00
"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",
2023-12-07 15:32:59 +01:00
"build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript"
2022-03-17 09:21:02 +01:00
},
"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",
2023-12-08 15:09:49 +01:00
"vite": "^4.0.0 || ^5.0.0"
2022-03-17 09:21:02 +01:00
},
"peerDependenciesMeta": {
"@swc/core": {
"optional": true
}
},
2022-03-17 09:21:02 +01:00
"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",
2023-12-07 14:01:04 +01:00
"lint-staged": "^15.2.0",
"prettier": "^3.1.0",
2023-12-07 14:20:27 +01:00
"rollup": "^4.6.1",
2023-12-07 14:43:19 +01:00
"rollup-plugin-dts": "^6.1.0",
"simple-git-hooks": "^2.9.0",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
2023-12-07 14:22:47 +01:00
"vite": "^5.0.6"
2022-03-17 09:21:02 +01:00
},
"dependencies": {
"@babel/core": "^7.23.5",
"@babel/plugin-transform-arrow-functions": "^7.23.3",
2022-11-01 15:58:32 +01:00
"cac": "^6.7.14",
2023-12-07 14:24:19 +01:00
"esbuild": "^0.19.8",
"magic-string": "^0.30.5",
2022-03-17 09:21:02 +01:00
"picocolors": "^1.0.0"
}
}