120 lines
5.7 KiB
JSON
120 lines
5.7 KiB
JSON
{
|
|
"author": "Jaco Greeff <jacogr@gmail.com>",
|
|
"bugs": "https://github.com/polkadot-js/apps/issues",
|
|
"description": "An Apps portal into the Polkadot network",
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"homepage": "https://github.com/polkadot-js/apps#readme",
|
|
"license": "Apache-2.0",
|
|
"name": "polkadot-apps",
|
|
"packageManager": "yarn@3.2.0",
|
|
"private": true,
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/polkadot-js/apps.git"
|
|
},
|
|
"sideEffects": false,
|
|
"version": "0.116.2-80-x",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"main": "packages/apps-electron/build/electron.js",
|
|
"scripts": {
|
|
"analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/main.*.js",
|
|
"build": "yarn run build:i18n && yarn run build:code",
|
|
"build:code": "NODE_ENV=production yarn polkadot-dev-build-ts",
|
|
"build:devElectronMain": "cd packages/apps-electron && yarn webpack --config webpack.main.cjs",
|
|
"build:devElectronRenderer": "cd packages/apps-electron && yarn webpack --config webpack.renderer.cjs",
|
|
"build:electron": "yarn clean:electronBuild && yarn build:electronMain && yarn build:electronRenderer",
|
|
"build:electronMain": "cd packages/apps-electron && NODE_ENV=production yarn webpack --config webpack.main.cjs",
|
|
"build:electronRenderer": "cd packages/apps-electron && NODE_ENV=production yarn webpack --config webpack.renderer.cjs",
|
|
"build:i18n": "i18next-scanner --config i18next-scanner.config.cjs && node ./scripts/i18nSort.cjs",
|
|
"build:release:electron": "yarn build && yarn build:electron && yarn postinstall:electron",
|
|
"build:release:ghpages": "yarn polkadot-ci-ghact-docs",
|
|
"build:release:ipfs": "node scripts/ipfsUpload.mjs",
|
|
"build:release:www": "yarn polkadot-ci-ghact-build && yarn build:release:ghpages && yarn build:release:ipfs",
|
|
"build:robohash": "node scripts/robohash.cjs",
|
|
"build:www": "rm -rf packages/apps/build && mkdir -p packages/apps/build && yarn run build:i18n && cd packages/apps && yarn webpack --config webpack.config.cjs",
|
|
"ci:chainEndpoints": "NODE_OPTIONS=--max_old_space_size=8192 polkadot-dev-run-test --runInBand packages/apps-config/src/ci/chainEndpoints",
|
|
"ci:chainTypes": "NODE_OPTIONS=--max_old_space_size=8192 polkadot-dev-run-test --runInBand packages/apps-config/src/ci/chainTypes",
|
|
"clean": "polkadot-dev-clean-build",
|
|
"clean:electronBuild": "cd packages/apps-electron && polkadot-dev-clean-build",
|
|
"clean:electronRelease": "cd packages/apps-electron && rm -rf release",
|
|
"clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
|
|
"docs": "echo \"skipping docs\"",
|
|
"lint": "polkadot-dev-run-lint",
|
|
"packElectron": "yarn build:release:electron && yarn clean:electronRelease && electron-builder build -mwl",
|
|
"packElectron:linux": "yarn build:release:electron && electron-builder build --linux",
|
|
"packElectron:mac": "yarn build:release:electron && electron-builder build --mac",
|
|
"packElectron:test": "yarn build:release:electron && electron-builder --dir",
|
|
"packElectron:win": "yarn build:release:electron && electron-builder build --win",
|
|
"postinstall": "polkadot-dev-yarn-only",
|
|
"postinstall:electron": "electron-builder install-app-deps",
|
|
"start": "yarn clean && cd packages/apps && yarn webpack-cli serve --config webpack.serve.cjs --port 3000",
|
|
"start:electron": "yarn clean:electronBuild && concurrently 'yarn build:devElectronMain && cd packages/apps-electron && electron ./build/electron.js' 'yarn build:devElectronRenderer'",
|
|
"test": "polkadot-dev-run-test --runInBand --testPathIgnorePatterns slow --testNamePattern='^((?!--SLOW--).)*$'",
|
|
"test:all": "polkadot-dev-run-test --runInBand --config ./jest-slow.config.cjs",
|
|
"test:one": "polkadot-dev-run-test",
|
|
"test:skipped": "echo 'tests skipped'"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.6",
|
|
"@babel/register": "^7.18.6",
|
|
"@babel/runtime": "^7.18.6",
|
|
"@crustio/crust-pin": "^1.0.0",
|
|
"@pinata/sdk": "^1.1.26",
|
|
"@polkadot/dev": "^0.67.53",
|
|
"@types/chart.js": "^2.9.37",
|
|
"@types/file-saver": "^2.0.5",
|
|
"@types/jest": "^28.1.4",
|
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
"@types/react-copy-to-clipboard": "^5.0.2",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/store": "^2.0.2",
|
|
"@types/styled-components": "^5.1.25",
|
|
"@types/styled-theming": "^2.2.5",
|
|
"concurrently": "^7.2.2",
|
|
"devtron": "^1.4.0",
|
|
"dnslink-cloudflare": "^3.0.0",
|
|
"electron": "^12.2.3",
|
|
"electron-builder": "22.14.13",
|
|
"electron-builder-notarize": "^1.2.0",
|
|
"i18next-scanner": "^3.3.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-is": "^18.2.0",
|
|
"source-map-explorer": "^2.5.2",
|
|
"styled-components": "^5.3.5",
|
|
"webpack": "^5.73.0",
|
|
"webpack-cli": "^4.10.0"
|
|
},
|
|
"resolutions": {
|
|
"@polkadot/api": "^8.11.3",
|
|
"@polkadot/api-augment": "^8.11.3",
|
|
"@polkadot/api-base": "^8.11.3",
|
|
"@polkadot/api-contract": "^8.11.3",
|
|
"@polkadot/api-derive": "^8.11.3",
|
|
"@polkadot/hw-ledger": "^9.7.2",
|
|
"@polkadot/keyring": "^9.7.2",
|
|
"@polkadot/networks": "^9.7.2",
|
|
"@polkadot/phishing": "^0.16.2",
|
|
"@polkadot/rpc-augment": "^8.11.3",
|
|
"@polkadot/rpc-core": "^8.11.3",
|
|
"@polkadot/rpc-provider": "^8.11.3",
|
|
"@polkadot/types": "^8.11.3",
|
|
"@polkadot/types-augment": "^8.11.3",
|
|
"@polkadot/types-codec": "^8.11.3",
|
|
"@polkadot/types-create": "^8.11.3",
|
|
"@polkadot/types-known": "^8.11.3",
|
|
"@polkadot/types-support": "^8.11.3",
|
|
"@polkadot/util": "^9.7.2",
|
|
"@polkadot/util-crypto": "^9.7.2",
|
|
"@polkadot/wasm-crypto": "^6.2.2",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"styled-components": "^5.3.1",
|
|
"typescript": "^4.7.4"
|
|
}
|
|
}
|