* Single instance package detection * s/require/request/ * Internal isReady * Revert unneeded from-build alias
31 lines
989 B
JSON
31 lines
989 B
JSON
{
|
|
"repository": "https://github.com/polkadot-js/wasm",
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"license": "Apache-2",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"resolutions": {
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn build:wasm",
|
|
"build:release": "polkadot-ci-ghact-build",
|
|
"build:wasm": "./scripts/build.sh",
|
|
"lint": "polkadot-dev-run-lint",
|
|
"clean": "./scripts/clean.sh",
|
|
"postinstall": "polkadot-dev-yarn-only",
|
|
"test": "yarn test:wasm:rust",
|
|
"test:wasm:js": "yarn test:wasm:js:jest && yarn test:wasm:js:node",
|
|
"test:wasm:js:jest": "polkadot-dev-run-test ./test/jest.spec.js",
|
|
"test:wasm:js:node": "cd packages/wasm-crypto && node ./test/wasm.js && node ./test/asm.js",
|
|
"test:wasm:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --nocapture"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@polkadot/dev": "^0.61.5"
|
|
},
|
|
"version": "3.0.1"
|
|
}
|