update fields

This commit is contained in:
草鞋没号 2022-03-15 08:34:01 +08:00
parent c9fb179a91
commit 14a291866f

View File

@ -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",