eccd6e16e2
* js error message * Ability to explicitly disconnect mixfetch * removed unused import * added disconnect method directly to sdk package * simplifying error throw Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> * added onunload event listener handler * Using global instance of mixfetch to disconnect Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> * Bump RC versions * MixFetch, move unload handler to creation and check for undefined `window` * Bump RC version * Force TLS on mixFetch demo * Add info about working around mixed content errors for mixFetch --------- Co-authored-by: Mark Sinclair <14054343+mmsinclair@users.noreply.github.com> Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
52 lines
2.2 KiB
JSON
52 lines
2.2 KiB
JSON
{
|
|
"name": "@nymproject/nymsphere",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"license": "Apache 2.0",
|
|
"workspaces": [
|
|
"dist/wasm/**",
|
|
"dist/node/**",
|
|
"sdk/typescript/packages/**",
|
|
"ts-packages/*",
|
|
"nym-wallet",
|
|
"nym-connect/**",
|
|
"explorer",
|
|
"types",
|
|
"clients/validator"
|
|
],
|
|
"scripts": {
|
|
"nuke": "npx rimraf **/node_modules node_modules",
|
|
"clean": "lerna run clean",
|
|
|
|
"build:ci:sdk": "run-s build:types build:packages build:wasm build:sdk:ci",
|
|
"build:sdk:ci": "lerna run --scope '{@nymproject/sdk,@nymproject/node-tester,@nymproject/sdk-react,@nymproject/mix-fetch}' build:dev --stream",
|
|
|
|
"build": "run-s build:types build:packages",
|
|
"build:wasm": "make sdk-wasm-build",
|
|
"build:sdk": "make sdk-typescript-build",
|
|
"build:types": "lerna run --scope @nymproject/types build --stream",
|
|
"build:packages": "run-s build:packages:theme build:packages:react",
|
|
"build:packages:theme": "lerna run --scope @nymproject/mui-theme build",
|
|
"build:packages:react": "lerna run --scope @nymproject/react build",
|
|
"build:react-example": "lerna run --scope @nymproject/react-webpack-with-theme-example build --stream",
|
|
"build:playground": "lerna run --scope @nymproject/react storybook:build --stream",
|
|
"build:ci": "yarn build && run-p build:react-example build:playground && yarn build:ci:collect-artifacts",
|
|
"build:ci:collect-artifacts": "mkdir -p ts-packages/dist && mv ts-packages/react-components/storybook-static ts-packages/dist/storybook && mv ts-packages/react-webpack-with-theme-example/dist ts-packages/dist/example",
|
|
"docs:prod:build": "run-s docs:prod:build:ws",
|
|
"docs:prod:build:ws": "lerna run docs:prod:build --stream",
|
|
"sdk:build": "./sdk/typescript/scripts/build-prod-sdk.sh",
|
|
"sdk:publish": "./sdk/typescript/scripts/publish.sh",
|
|
"lint": "lerna run lint --stream",
|
|
"lint:fix": "lerna run lint:fix --stream",
|
|
"tsc": "lerna run tsc --stream",
|
|
"types:lint:fix": "lerna run lint:fix --scope @nymproject/types --scope @nymproject/nym-wallet-app",
|
|
"audit:fix": "npm_config_yes=true npx yarn-audit-fix -- --dry-run"
|
|
},
|
|
"devDependencies": {
|
|
"lerna": "^7.3.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"@npmcli/node-gyp": "^3.0.0",
|
|
"node-gyp": "^9.3.1"
|
|
}
|
|
}
|