Skip to content

Commit

Permalink
Reference a new version of "buffer" (to be used by browserify). See b…
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Dec 1, 2020
1 parent d684c67 commit d5eff9e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
50 changes: 26 additions & 24 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"compile-browser-min": "tsc -p tsconfig.json && browserify out/index.js -o out-browser/erdjs.min.js --standalone erdjs -p tinyify",
"compile": "tsc -p tsconfig.json",
"compile-proto": "npx pbjs -t static-module -w commonjs -o src/proto/compiled.js src/proto/transaction.proto && npx pbts -o src/proto/compiled.d.ts src/proto/compiled.js",
"compile-browser-tests": "tsc -p tsconfig.tests.json && browserify $(find out-tests -type f -name '*.js') --exclude *.localTestnet.spec.ts --exclude *.mainnet.spec.ts -o out-browser/erdjs-tests.js --standalone erdjs-tests",
"compile-browser-tests": "tsc -p tsconfig.tests.json && browserify $(find out-tests -type f -name '*.js') --require buffer/:buffer --exclude *.localTestnet.spec.ts --exclude *.mainnet.spec.ts -o out-browser/erdjs-tests.js --standalone erdjs-tests",
"pretest": "npm run compile",
"prepublish": "npm run compile && npm run compile-browser && npm run compile-browser-min"
},
Expand Down Expand Up @@ -51,6 +51,7 @@
"@types/protobufjs": "^6.0.0",
"assert": "^2.0.0",
"browserify": "^17.0.0",
"buffer": "^6.0.3",
"chai": "^4.2.0",
"mocha": "^7.1.1",
"tinyify": "^3.0.0",
Expand Down

0 comments on commit d5eff9e

Please sign in to comment.