Skip to content

Commit

Permalink
feat: add patches to build files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Sydor committed Oct 18, 2021
1 parent 77b3507 commit f37bcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -12,7 +12,7 @@
"postinstall": "patch-package",
"lint": "npx eslint ./src/**/*.ts ./test/**/*.ts",
"prebuild": "rimraf dist ethers",
"build": "npm run build:contracts && npm run build:ts && copyfiles \"ethers/**/*.d.ts\" dist",
"build": "npm run build:contracts && npm run build:ts && copyfiles \"ethers/**/*.d.ts\" dist && copyfiles \"patches/*.patch\" dist",
"build:node": "npm run build:nats_node && bili --format cjs",
"build:front_end": "npm run build:nats_front_end && bili --format esm",
"build:nats_front_end": "grep -rl '\"nats.ws\"' ./src | xargs perl -i -pe's/nats\\.ws/nats\\.ws\\/lib\\/src\\/mod\\.js/g'",
Expand Down

0 comments on commit f37bcc1

Please sign in to comment.