mirror of
https://github.com/pezkuwichain/pezkuwi-wasm.git
synced 2026-10-27 22:09:50 +00:00
The package shipped only compiled output, and no repository held its source. lib/ is @scure/sr25519 0.2.0 with three edits made directly in the compiled files: signing context 'substrate' -> 'bizinikiwi' and the two header comment lines. index.ts is upstream's 0.2.0 source with the same edits; compiled with its own tsconfig it reproduces lib/*.js and lib/*.d.ts byte for byte. Only the source maps change, since the hand-edited ones still described upstream's file. - index.ts, tsconfig.json, tsconfig.cjs.json, upstream MIT LICENSE - yarn build:scure-sr25519 rebuilds lib/ - scripts/check-scure-sr25519.sh, run in CI, fails when lib/ is not a build of index.ts - README: what differs from upstream, how to build; it said the context was 'bizinikiwi' instead of 'bizinikiwi'
57 lines
2.3 KiB
JSON
57 lines
2.3 KiB
JSON
{
|
|
"author": "PezkuwiChain <dev@pezkuwichain.io>",
|
|
"bugs": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm/issues",
|
|
"engines": {
|
|
"node": ">=18.14"
|
|
},
|
|
"homepage": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm#readme",
|
|
"license": "Apache-2.0",
|
|
"packageManager": "yarn@4.6.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.pezkuwichain.io/pezkuwichain/pezkuwi-wasm.git"
|
|
},
|
|
"sideEffects": false,
|
|
"type": "module",
|
|
"version": "7.5.19",
|
|
"versions": {
|
|
"git": "7.5.4",
|
|
"npm": "7.5.4"
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build:wasm",
|
|
"build:js": "./scripts/build-js.sh",
|
|
"build:release": "pezkuwi-ci-ghact-build",
|
|
"build:rollup": "pezkuwi-exec-rollup --config",
|
|
"build:scure-sr25519": "node node_modules/typescript/bin/tsc -p packages/scure-sr25519/tsconfig.json && node node_modules/typescript/bin/tsc -p packages/scure-sr25519/tsconfig.cjs.json",
|
|
"build:wasm": "./scripts/build.sh",
|
|
"clean": "./scripts/clean.sh",
|
|
"deno": "yarn deno:build && yarn deno:check",
|
|
"deno:build": "WITH_DENO=1 yarn build",
|
|
"deno:check": "deno check --import-map=import_map.json mod.ts",
|
|
"lint": "pezkuwi-dev-run-lint",
|
|
"postinstall": "pezkuwi-dev-yarn-only",
|
|
"test": "yarn test:wasm-crypto:rust",
|
|
"test:js": "yarn test:wasm-crypto:js",
|
|
"test:wasm-crypto:deno": "deno test --allow-read --import-map=import_map.json packages/wasm-crypto/test/deno.ts",
|
|
"test:wasm-crypto:js": "yarn test:wasm-crypto:js:jest && yarn test:wasm-crypto:js:node",
|
|
"test:wasm-crypto:js:jest": "pezkuwi-dev-run-test --env node --loader ./packages/wasm-crypto/test/loader-build.js",
|
|
"test:wasm-crypto:js:node": "node --no-warnings --loader ./packages/wasm-crypto/test/loader-build.js ./packages/wasm-crypto/test/wasm.js && node --no-warnings --loader ./packages/wasm-crypto/test/loader-build.js ./packages/wasm-crypto/test/asm.js",
|
|
"test:wasm-crypto:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --test-threads=1 --nocapture"
|
|
},
|
|
"devDependencies": {
|
|
"@pezkuwi/dev": "^0.86.0",
|
|
"@pezkuwi/util": "^14.0.1",
|
|
"@types/node": "^20.16.1",
|
|
"fflate": "^0.8.3"
|
|
},
|
|
"resolutions": {
|
|
"braces": "npm:@pezkuwi/braces@^3.0.4",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|