Skip to content

Commit

Permalink
fix: fixed build script
Browse files Browse the repository at this point in the history
  • Loading branch information
bennymeg committed Nov 22, 2021
1 parent f3f5261 commit d88fd0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "jest --maxWorkers=1 .*.spec.ts",
"compile": "tsc",
"build": "npm run clear:all && tsc && npm run copy:all && npm run permission",
"publish": "npm publish build",
"publish": "cd build && npm publish",
"release": "standard-version",
"postrelease": "git push --follow-tags && npm run build && npm run publish",
"permission": "node ./scripts/make_build_public.js",
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_build_public.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const { join } = require('path');
const { writeFileSync } = require('fs');
const originalPkgJson = require(join(__dirname, '../package.json'));
const updatedPkgJson = { ...originalPkgJson, private: false };
const updatedPkgJson = { ...originalPkgJson, private: false, scripts: {} };

writeFileSync(
join(__dirname, '../build/package.json'),
Expand Down

0 comments on commit d88fd0c

Please sign in to comment.