package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "repository": "https://github.com/polkadot-js/apps",
  3. "author": "Jaco Greeff <jacogr@gmail.com>",
  4. "license": "Apache-2",
  5. "private": true,
  6. "homepage": ".",
  7. "workspaces": [
  8. "packages/*"
  9. ],
  10. "resolutions": {
  11. "@polkadot/api": "^1.9.1",
  12. "@polkadot/api-contract": "^1.9.1",
  13. "@polkadot/keyring": "^2.7.1",
  14. "@polkadot/types": "^1.9.1",
  15. "@polkadot/util": "^2.7.1",
  16. "@polkadot/util-crypto": "^2.7.1",
  17. "babel-core": "^7.0.0-bridge.0",
  18. "typescript": "^3.8.3"
  19. },
  20. "scripts": {
  21. "analyze": "yarn run build && cd packages/apps && yarn run source-map-explorer build/main.*.js",
  22. "build": "yarn run build:i18n && yarn run build:code",
  23. "build:code": "NODE_ENV=production node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.js",
  24. "build:i18n": "i18next-scanner --config i18next-scanner.config.js",
  25. "build:release": "yarn polkadot-ci-ghact-build && yarn polkadot-ci-ghact-docs",
  26. "build:www": "rm -rf packages/apps/build && mkdir -p packages/apps/build && yarn run build:i18n && cd packages/apps && NODE_ENV=production webpack --config webpack.config.js",
  27. "docs": "echo \"skipping docs\"",
  28. "clean": "polkadot-dev-clean-build",
  29. "clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
  30. "lint": "polkadot-dev-run-lint",
  31. "postinstall": "polkadot-dev-yarn-only",
  32. "test": "polkadot-dev-run-test packages/page-claims/src",
  33. "start": "yarn clean && cd packages/apps && webpack --config webpack.config.js"
  34. },
  35. "devDependencies": {
  36. "@babel/core": "^7.9.0",
  37. "@babel/register": "^7.9.0",
  38. "@babel/runtime": "^7.9.2",
  39. "@polkadot/dev": "^0.52.1",
  40. "@polkadot/ts": "^0.3.14",
  41. "@types/bn.js": "^4.11.6",
  42. "@types/chart.js": "^2.9.16",
  43. "@types/file-saver": "^2.0.1",
  44. "@types/i18next": "^13.0.0",
  45. "@types/jest": "^25.1.4",
  46. "@types/react-beautiful-dnd": "^12.1.2",
  47. "@types/react-copy-to-clipboard": "^4.3.0",
  48. "@types/react-dom": "^16.9.5",
  49. "@types/react-router-dom": "^5.1.3",
  50. "@types/react-tooltip": "^3.11.0",
  51. "@types/store": "^2.0.2",
  52. "@types/styled-components": "^5.0.1",
  53. "@types/styled-theming": "^2.2.2",
  54. "i18next-scanner": "^2.11.0",
  55. "react": "^16.13.1",
  56. "react-dom": "^16.13.1",
  57. "webpack": "^4.42.1",
  58. "webpack-cli": "^3.3.11",
  59. "webpack-plugin-serve": "^0.12.1"
  60. }
  61. }