Skip to content

Commit

Permalink
Package 'publish' script wasn't building the JS prior to publication.
Browse files Browse the repository at this point in the history
  • Loading branch information
kickscondor committed May 20, 2020
1 parent c178e8d commit bb4ff6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"webext": "fsbin emptyDir build/webext && cross-env STORAGE=webext parcel build src/manifest.json --no-cache --no-source-maps -d build/webext",
"webext:lint": "web-ext lint --source-dir ./build/webext/",
"webext:safe": "find build/webext -type f -name '*.js' | xargs sed -i='' -e 's/Function(\"return this\")/function(){return this}/g' -e 's/\\([=: {]\\)Function(/\\1(function(){return function(){}})(/g'",
"publish": "electron-builder -wml -p always",
"publish:windows": "electron-builder -w -p always"
"publish": "npm run electron:setup && electron-builder -wml -p always",
"publish:windows": "npm run electron:setup && electron-builder -w -p always"
},
"build": {
"appId": "at.fraidyc",
Expand Down Expand Up @@ -95,7 +95,7 @@
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"ava": "^2.4.0",
"ava": "^3.8.2",
"electron": "^8.3.0",
"electron-builder": "^22.6.0",
"electron-notarize": "^0.3.0",
Expand Down

0 comments on commit bb4ff6f

Please sign in to comment.