Skip to content

Commit

Permalink
use postinstall instead of hijacking build-server (#1655)
Browse files Browse the repository at this point in the history
  • Loading branch information
lizthegrey authored Mar 30, 2023
1 parent 6e1cd6c commit f3ad842
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:dev": "yarn run build-server && yarn run build-client:dev",
"build-client": "webpack --config out/server/infra/build-client/webpack.prod.js",
"build-client:dev": "webpack --config out/server/infra/build-client/webpack.dev.js",
"build-server": "patch -N -r - -p1 < patches/pnp-loader.patch > /dev/null; tsc",
"build-server": "tsc",
"watch-server": "tsc -w",
"start": "yarn node out/server/bin/witness/witness.js",
"updatedb": "yarn node out/server/bin/updatedb.js",
Expand All @@ -18,7 +18,8 @@
"lint": "esprint",
"presubmit": "prettier --write --list-different . && esprint && jest",
"ci-lint": "esprint check --workers=2",
"ci-pretty-check": "prettier --check ."
"ci-pretty-check": "prettier --check .",
"postinstall": "patch -N -r - -p1 < patches/pnp-loader.patch > /dev/null || true"
},
"type": "module",
"dependencies": {
Expand Down

0 comments on commit f3ad842

Please sign in to comment.