Skip to content

Commit

Permalink
Build scripts + version
Browse files Browse the repository at this point in the history
  • Loading branch information
tonygoldcrest committed Feb 15, 2024
1 parent 083c1a6 commit 8e07f46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"description": "Play your favorite Clone Hero drum tracks",
"version": "0.1.0",
"keywords": [
"clonehero",
"drums",
Expand All @@ -24,7 +25,8 @@
"build:renderer": "cross-env NODE_ENV=production TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.prod.ts",
"postinstall": "ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && npm run build:dll",
"lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx",
"package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish never && npm run build:dll",
"package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build -w --x64 --mac --publish never && npm run build:dll",
"package:win": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build -w --x64 --publish never && npm run build:dll",
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app",
"start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",
"start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only .",
Expand Down Expand Up @@ -172,6 +174,7 @@
},
"build": {
"productName": "DrumHero",
"buildVersion": "0.1.0",
"appId": "org.dh.DrumHero",
"asar": true,
"asarUnpack": "**\\*.{node,dll}",
Expand Down
11 changes: 5 additions & 6 deletions release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "electron-react-boilerplate",
"version": "4.6.0",
"description": "A foundation for scalable desktop apps",
"name": "drum-hero",
"version": "0.1.0",
"description": "Play your favorite Clone Hero drum tracks",
"license": "MIT",
"author": {
"name": "Electron React Boilerplate Maintainers",
"email": "electronreactboilerplate@gmail.com",
"url": "https://github.com/electron-react-boilerplate"
"name": "Anton Korolkov",
"email": "peancored@gmail.com"
},
"main": "./dist/main/main.js",
"scripts": {
Expand Down

0 comments on commit 8e07f46

Please sign in to comment.