mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
update fields
This commit is contained in:
parent
c9fb179a91
commit
14a291866f
11
package.json
11
package.json
@ -6,16 +6,13 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node scripts/watch.mjs",
|
"dev": "node scripts/watch.mjs",
|
||||||
"typecheck": "vue-tsc --project packages/renderer/tsconfig.json --noEmit",
|
"build": "vue-tsc --noEmit --p packages/renderer/tsconfig.json && electron-builder",
|
||||||
"prebuild": "npm run typecheck && node scripts/build.mjs",
|
|
||||||
"init": "git config core.hooksPath .git/hooks/ && rm -rf .git/hooks && npx simple-git-hooks",
|
"init": "git config core.hooksPath .git/hooks/ && rm -rf .git/hooks && npx simple-git-hooks",
|
||||||
"build": "electron-builder",
|
|
||||||
"debug": "npm run prebuild && vite ./packages/renderer",
|
|
||||||
"test:e2e": "npx playwright test",
|
"test:e2e": "npx playwright test",
|
||||||
"test:e2e:headless": "npx playwright test --headed"
|
"test:e2e:headless": "npx playwright test --headed"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
"node": ">=14.17.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.19.2",
|
"@playwright/test": "^1.19.2",
|
||||||
@ -32,8 +29,8 @@
|
|||||||
"vue-tsc": "^0.31.1"
|
"vue-tsc": "^0.31.1"
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"//": "Used in build scripts",
|
"VITE_DEV_SERVER_HOST": "127.0.0.1",
|
||||||
"PORT": 3344
|
"VITE_DEV_SERVER_PORT": 3344
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"vite",
|
"vite",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user