43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
{
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"bugs": "https://github.com/polkadot-js/wasm/issues",
|
|
"homepage": "https://github.com/polkadot-js/wasm#readme",
|
|
"license": "Apache-2.0",
|
|
"packageManager": "yarn@3.2.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/polkadot-js/wasm.git"
|
|
},
|
|
"sideEffects": false,
|
|
"version": "6.1.2-9",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build:wasm",
|
|
"build:js": "./scripts/build-js.sh",
|
|
"build:mac": "PATH=\"/opt/homebrew/opt/llvm/bin:$PATH\" CC=/opt/homebrew/opt/llvm/bin/clang AR=/opt/homebrew/opt/llvm/bin/llvm-ar yarn build",
|
|
"build:release": "polkadot-ci-ghact-build",
|
|
"build:rollup": "polkadot-exec-rollup --config",
|
|
"build:wasm": "./scripts/build.sh",
|
|
"clean": "./scripts/clean.sh",
|
|
"lint": "polkadot-dev-run-lint",
|
|
"postinstall": "polkadot-dev-yarn-only",
|
|
"test": "yarn test:wasm-crypto:rust",
|
|
"test:wasm-crypto:js": "yarn test:wasm-crypto:js:jest && yarn test:wasm-crypto:js:node",
|
|
"test:wasm-crypto:js:jest": "polkadot-dev-run-test ./test/jest.spec.js",
|
|
"test:wasm-crypto:js:node": "cd packages/wasm-crypto && node ./test/wasm.cjs && node ./test/asm.cjs",
|
|
"test:wasm-crypto:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --test-threads=1 --nocapture"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.5",
|
|
"@polkadot/dev": "^0.67.3",
|
|
"fflate": "^0.7.3",
|
|
"override-require": "^1.1.1"
|
|
},
|
|
"resolutions": {
|
|
"typescript": "^4.7.3"
|
|
}
|
|
}
|