package.json 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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.4.7",
  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. "eslint-plugin-header": "^3.0.0",
  61. "eslint-plugin-sort-destructure-keys": "^1.3.5",
  62. "i18next-scanner": "^2.11.0",
  63. "jest": "^26.4.1",
  64. "react": "^16.13.1",
  65. "react-dom": "^16.13.1",
  66. "react-i18next": "^11.7.0",
  67. "source-map-explorer": "^2.4.2",
  68. "storybook-react-router": "^1.0.8",
  69. "stylelint": "^13.6.1",
  70. "stylelint-config-recommended": "^3.0.0",
  71. "stylelint-config-styled-components": "^0.1.1",
  72. "terser-webpack-plugin": "^3.0.7",
  73. "ts-jest": "^26.2.0",
  74. "tsconfig-paths-webpack-plugin": "^3.2.0",
  75. "typescript": "^4.4.3",
  76. "webpack": "^4.44.0",
  77. "webpack-cli": "^3.3.12",
  78. "webpack-merge": "^4.2.2",
  79. "webpack-plugin-serve": "^1.0.1"
  80. },
  81. "dependencies": {
  82. "@joystream/types": "link:../types",
  83. "@types/lodash": "^4.14.138",
  84. "@types/marked": "^0.7.0",
  85. "ajv": "^6.10.2",
  86. "cpx": "^1.5.0",
  87. "css-loader": "^3.2.0",
  88. "less": "^3.10.3",
  89. "less-loader": "^5.0.0",
  90. "lodash": "^4.17.15",
  91. "node-sass": "^4.13.0",
  92. "sass-loader": "^8.0.0",
  93. "style-loader": "^1.0.0"
  94. },
  95. "volta": {
  96. "extends": "../package.json"
  97. }
  98. }