Skip to content

Commit

Permalink
Improve package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
StarLederer committed Jul 22, 2022
1 parent 2cdd14f commit d2681ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
"main": "packages/main/dist/index.js",
"scripts": {
"dev": "node scripts/dev.js",
"build": "cross-env MODE=production node scripts/build.js",
"precompile": "cross-env MODE=production pnpm run build",
"build:electron": "cross-env MODE=production node scripts/build.js",
"build:addon": "cd packages/native-addon && pnpm run build-release",
"build": "pnpm run build:addon && pnpm run build:electron",
"precompile": "pnpm run build",
"compile": "electron-builder",
"pretest": "pnpm run build",
"lint": "eslint . --ext js,ts,svelte",
Expand Down

0 comments on commit d2681ee

Please sign in to comment.