mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-01 09:35:48 +00:00
fix: don't run ripple-binary-codec tests on install (#2260)
fix rbc scripts
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
"scripts": {
|
||||
"build": "tsc -b && copyfiles ./src/enums/definitions.json ./dist/enums/",
|
||||
"clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
|
||||
"prepare": "npm run build && npm test",
|
||||
"test": "jest --verbose false --silent=false ./test/*.test.js",
|
||||
"prepublishOnly": "npm test",
|
||||
"test": "npm run build && jest --verbose false --silent=false ./test/*.test.js",
|
||||
"lint": "eslint . --ext .ts --ext .test.js"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -36,7 +36,7 @@ const coreTypes: Record<string, typeof SerializedType> = {
|
||||
|
||||
// Ensures that the DEFAULT_DEFINITIONS object connects these types to fields for serializing/deserializing
|
||||
// This is done here instead of in enums/index.ts to avoid a circular dependency
|
||||
// because some of the above types depend on BinarySerailizer which depends on enums/index.ts.
|
||||
// because some of the above types depend on BinarySerializer which depends on enums/index.ts.
|
||||
DEFAULT_DEFINITIONS.associateTypes(coreTypes)
|
||||
|
||||
export {
|
||||
|
||||
Reference in New Issue
Block a user