electron-vite/package.json

106 lines
2.5 KiB
JSON
Raw Normal View History

2022-03-17 09:21:02 +01:00
{
"name": "electron-vite",
2024-04-23 15:39:16 +02:00
"version": "2.2.0",
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"
2023-12-11 14:39:11 +01:00
},
"./package.json": "./package.json"
2023-12-08 15:03:47 +01:00
},
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"
},
2023-12-12 15:44:41 +01:00
"homepage": "https://electron-vite.org",
2022-03-17 09:21:02 +01:00
"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-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/core": "^1.6.5",
"@types/node": "^18.19.39",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"rollup": "^4.18.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-rm": "^1.0.2",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.6.3",
"typescript": "^5.3.3",
"vite": "^5.3.1"
2022-03-17 09:21:02 +01:00
},
"dependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-arrow-functions": "^7.24.7",
2022-11-01 15:58:32 +01:00
"cac": "^6.7.14",
2024-06-22 17:22:41 +02:00
"esbuild": "^0.21.5",
"magic-string": "^0.30.10",
"picocolors": "^1.0.1"
2022-03-17 09:21:02 +01:00
}
}