package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "private": true,
  3. "name": "joystream",
  4. "version": "1.0.0",
  5. "license": "GPL-3.0-only",
  6. "scripts": {
  7. "test": "yarn && yarn workspaces run test",
  8. "test-migration": "yarn && yarn workspaces run test-migration",
  9. "postinstall": "yarn workspace @joystream/types build",
  10. "cargo-checks": "devops/git-hooks/pre-commit && devops/git-hooks/pre-push",
  11. "cargo-build": "scripts/cargo-build.sh",
  12. "lint": "yarn workspaces run lint"
  13. },
  14. "workspaces": [
  15. "tests/network-tests",
  16. "cli",
  17. "types",
  18. "storage-node",
  19. "storage-node/packages/*",
  20. "devops/eslint-config",
  21. "devops/prettier-config",
  22. "pioneer",
  23. "pioneer/packages/apps*",
  24. "pioneer/packages/page*",
  25. "pioneer/packages/react*",
  26. "pioneer/packages/joy-utils",
  27. "pioneer/packages/joy-members",
  28. "pioneer/packages/joy-pages",
  29. "pioneer/packages/joy-election",
  30. "pioneer/packages/joy-proposals",
  31. "pioneer/packages/joy-roles",
  32. "pioneer/packages/joy-media",
  33. "utils/api-examples"
  34. ],
  35. "resolutions": {
  36. "@polkadot/api": "1.26.1",
  37. "@polkadot/api-contract": "1.26.1",
  38. "@polkadot/keyring": "3.0.1",
  39. "@polkadot/types": "1.26.1",
  40. "@polkadot/util": "3.0.1",
  41. "@polkadot/util-crypto": "3.0.1",
  42. "@polkadot/wasm-crypto": "1.2.1",
  43. "babel-core": "^7.0.0-bridge.0",
  44. "typescript": "^3.9.7",
  45. "bn.js": "^5.1.2"
  46. },
  47. "devDependencies": {
  48. "husky": "^4.2.5",
  49. "prettier": "2.0.2",
  50. "eslint": "^7.6.0"
  51. },
  52. "husky": {
  53. "hooks": {
  54. "pre-commit": "devops/git-hooks/pre-commit",
  55. "pre-push": "devops/git-hooks/pre-push"
  56. }
  57. },
  58. "engines": {
  59. "node": ">=12.18.0",
  60. "yarn": "^1.22.0"
  61. }
  62. }