Fix Windows contributors being unable to build and test the xrpl mono repo (#1822)

* Let ripple-binary-codec to build on windows & nix

Co-authored-by: Justintime <justinthenicholasoftime@protonmail.com>
This commit is contained in:
Jackson Mills
2021-11-23 12:29:06 -08:00
committed by GitHub
parent 887cb97c2b
commit 89b8833610
99 changed files with 53 additions and 111 deletions

View File

@@ -20,7 +20,9 @@
"ripple-address-codec": "^4.2.0"
},
"scripts": {
"build": "tsc -b && cp ./src/enums/definitions.json ./dist/enums",
"build": "run-script-os",
"build:default": "tsc -b && copy .\\src\\enums\\definitions.json .\\dist\\enums",
"build:nix": "tsc -b && cp ./src/enums/definitions.json ./dist/enums",
"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
"prepare": "npm run build && npm test",
"test": "jest",