Skip to content

Commit

Permalink
Exclude local lib files via electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
steeelydan committed Aug 28, 2024
1 parent bb57fc6 commit d35626f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"dev": "npm run parseTypeDocs && concurrently -n esm,cjs -c yellow,green \"npm run watch:esm\" \"npm run watch:cjs\"",
"dist:esm": "tsc -p tsconfig.esm.json",
"dist:cjs": "tsc -p tsconfig.cjs.json",
"removeTempFiles": "rm -rf debug_tsoutput.json && rm -rf coverage",
"dist": "npm run parseTypeDocs && npm run removeTempFiles && rm -rf ./dist/* && npm run dist:esm && npm run dist:cjs && node ./scripts/setVersionConstant.mjs",
"dist": "npm run parseTypeDocs && rm -rf ./dist/* && npm run dist:esm && npm run dist:cjs && node ./scripts/setVersionConstant.mjs",
"test": "npm run dist:cjs && c8 mocha './dist/cjs/**/*.spec.js' --reporter-option maxDiffSize=0",
"test:single": "mocha './dist/esm/**/*.spec.js' --reporter-option maxDiffSize=0 --grep",
"check": "eslint ./src && tsc --noEmit",
Expand Down
5 changes: 4 additions & 1 deletion desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
"files": [
"build/**/*",
"gui-dist/**/*",
"distResources/**/*"
"distResources/**/*",
"!node_modules/@js2eel/compiler/**/*",
"node_modules/@js2eel/compiler/dist/**/*",
"node_modules/@js2eel/compiler/package.json"
],
"directories": {
"output": "../dist/desktop",
Expand Down

0 comments on commit d35626f

Please sign in to comment.