Skip to content

Commit

Permalink
Get repc when npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
arv committed Feb 2, 2021
1 parent 152a97f commit ca1238b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
"build:watch": "rollup --config rollup.config.js --watch",
"start:diff-server": "bin/diff-server --db=/tmp/diffs serve",
"postinstall": "rm -f node_modules/fetch-mock/esm/client.d.ts && tool/get-deps.sh",
"prepublishOnly": "tool/validate-binaries-for-publish.cjs && npm run lint && npm run test && rm -rf out && npm run build && npm run build-dev",
"prepublishOnly": "tool/validate-binaries-for-publish.cjs && npm run lint && npm run get-repc && npm run test && rm -rf out && npm run build && npm run build-dev",
"prepack": "npm run prepublishOnly",
"perf": "node perf/runner.js"
"perf": "node perf/runner.js",
"get-repc": "tool/get-deps.sh && git restore bin/diff-server"
},
"bin": {
"diff-server": "bin/diff-server"
Expand Down

0 comments on commit ca1238b

Please sign in to comment.