Skip to content

Commit

Permalink
pack: revert electron-builder configuration file extension to js
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Oct 17, 2023
1 parent aef17d2 commit 2baf326
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-template-curly-in-string */
import dotenv from 'dotenv'

const baseConfig: any = {
const baseConfig = {
productName: 'Vutron',
appId: 'com.vutron.vutron',
asar: true,
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"dev": "cross-env ELECTRON_ENABLE_LOGGING=true vite",
"dev:debug": "vite -d",
"dev:debug:force": "vite -d --force",
"build": "npm run build:pre && electron-builder --config=buildAssets/builder/config.ts",
"build": "npm run build:pre && electron-builder --config=buildAssets/builder/config.js",
"build:pre": "npm run format:fix && vue-tsc --noEmit && vite build",
"build:all": "npm run build:pre && electron-builder --config=buildAssets/builder/config.ts -wml",
"build:dir": "npm run build:pre && electron-builder --config=buildAssets/builder/config.ts --dir",
"build:mac": "npm run build:pre && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --config=buildAssets/builder/config.ts --mac",
"build:linux": "npm run build:pre && electron-builder --config=buildAssets/builder/config.ts --linux",
"build:win": "npm run build:pre && electron-builder --config=buildAssets/builder/config.ts --windows",
"build:all": "npm run build:pre && electron-builder --config=buildAssets/builder/config.js -wml",
"build:dir": "npm run build:pre && electron-builder --config=buildAssets/builder/config.js --dir",
"build:mac": "npm run build:pre && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --config=buildAssets/builder/config.js --mac",
"build:linux": "npm run build:pre && electron-builder --config=buildAssets/builder/config.js --linux",
"build:win": "npm run build:pre && electron-builder --config=buildAssets/builder/config.js --windows",
"lint": "eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter src",
"lint:fix": "eslint --ext .js,.ts,.vue -f ./node_modules/eslint-friendly-formatter --fix src",
"format": "prettier .",
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"lib": ["esnext", "dom"]
},
"include": ["src/*.ts", "src/*.d.ts", "src/renderer"],
"exclude": ["./dist/**/*"],
"references": [
{
"path": "./tsconfig.node.json"
Expand Down

0 comments on commit 2baf326

Please sign in to comment.