package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "version": "0.51.1",
  3. "license": "Apache-2",
  4. "private": true,
  5. "engines": {
  6. "node": ">=14.0.0",
  7. "yarn": "^1.22.0"
  8. },
  9. "homepage": ".",
  10. "name": "pioneer",
  11. "scripts": {
  12. "analyze": "yarn clean && BUILD_ANALYZE=1 yarn run build:code && yarn source-map-explorer packages/apps/build/main.*.js",
  13. "build": "yarn run build:i18n && yarn run build:code",
  14. "build:code": "NODE_ENV=production node ./scripts/dev-build-ts.js",
  15. "build:i18n": "i18next-scanner --config i18next-scanner.config.js && node ./scripts/i18nSort.js",
  16. "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",
  17. "docs": "echo \"skipping docs\"",
  18. "clean": "polkadot-dev-clean-build",
  19. "clean:i18n": "rm -rf packages/apps/public/locales/en && mkdir -p packages/apps/public/locales/en",
  20. "lint": "tsc --noEmit --pretty && eslint --ext .js,.jsx,.ts,.tsx .",
  21. "lint:css": "stylelint './packages/**/src/**/*.tsx'",
  22. "lint-only-errors": "yarn lint --quiet",
  23. "lint-autofix": "yarn lint --fix",
  24. "postinstall": "polkadot-dev-yarn-only",
  25. "test": "echo \"skipping tests\"",
  26. "vanitygen": "node packages/app-accounts/scripts/vanitygen.js",
  27. "start": "yarn clean && cd packages/apps && webpack --config webpack.config.js",
  28. "build-storybook": "build-storybook -c .storybook",
  29. "storybook": "start-storybook -s ./packages/apps/public -p 3001"
  30. },
  31. "devDependencies": {
  32. "//": "Joystream-specific",
  33. "@babel/core": "^7.10.5",
  34. "@babel/register": "^7.10.5",
  35. "@babel/runtime": "^7.10.5",
  36. "@pinata/sdk": "^1.1.10",
  37. "@polkadot/dev": "^0.55.28",
  38. "@polkadot/ts": "^0.3.62",
  39. "@storybook/addon-actions": "^5.2.5",
  40. "@storybook/addon-console": "^1.2.1",
  41. "@storybook/addon-knobs": "^5.2.5",
  42. "@storybook/addon-storysource": "^5.2.5",
  43. "@storybook/react": "^5.2.5",
  44. "@types/bn.js": "^4.11.6",
  45. "@types/chart.js": "^2.9.23",
  46. "@types/file-saver": "^2.0.1",
  47. "@types/i18next": "^13.0.0",
  48. "@types/jest": "^26.0.10",
  49. "@types/react-beautiful-dnd": "^13.0.0",
  50. "@types/react-copy-to-clipboard": "^4.3.0",
  51. "@types/react-dom": "^16.9.8",
  52. "@types/react-router-dom": "^5.1.5",
  53. "@types/react-tooltip": "^4.2.4",
  54. "@types/store": "^2.0.2",
  55. "@types/styled-components": "^5.1.1",
  56. "@types/styled-theming": "^2.2.4",
  57. "concurrently": "^5.2.0",
  58. "devtron": "^1.4.0",
  59. "dnslink-cloudflare": "^2.0.4",
  60. "electron": "^9.1.1",
  61. "electron-builder": "^22.8.0",
  62. "electron-builder-notarize": "^1.2.0",
  63. "eslint-plugin-header": "^3.0.0",
  64. "eslint-plugin-sort-destructure-keys": "^1.3.5",
  65. "i18next-scanner": "^2.11.0",
  66. "jest": "^26.4.1",
  67. "react": "^16.13.1",
  68. "react-dom": "^16.13.1",
  69. "react-i18next": "^11.7.0",
  70. "source-map-explorer": "^2.4.2",
  71. "storybook-react-router": "^1.0.8",
  72. "stylelint": "^13.6.1",
  73. "stylelint-config-recommended": "^3.0.0",
  74. "stylelint-config-styled-components": "^0.1.1",
  75. "terser-webpack-plugin": "^3.0.7",
  76. "ts-jest": "^26.2.0",
  77. "tsconfig-paths-webpack-plugin": "^3.2.0",
  78. "typescript": "^3.9.7",
  79. "webpack": "^4.44.0",
  80. "webpack-cli": "^3.3.12",
  81. "webpack-merge": "^4.2.2",
  82. "webpack-plugin-serve": "^1.0.1"
  83. },
  84. "dependencies": {
  85. "@joystream/types": "link:../types",
  86. "@types/lodash": "^4.14.138",
  87. "@types/marked": "^0.7.0",
  88. "ajv": "^6.10.2",
  89. "cpx": "^1.5.0",
  90. "css-loader": "^3.2.0",
  91. "less": "^3.10.3",
  92. "less-loader": "^5.0.0",
  93. "lodash": "^4.17.15",
  94. "node-sass": "^4.13.0",
  95. "sass-loader": "^8.0.0",
  96. "style-loader": "^1.0.0"
  97. },
  98. "volta": {
  99. "extends": "../package.json"
  100. }
  101. }