package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. ],
  31. "resolutions": {
  32. "@polkadot/api": "1.26.1",
  33. "@polkadot/api-contract": "1.26.1",
  34. "@polkadot/keyring": "3.0.1",
  35. "@polkadot/types": "1.26.1",
  36. "@polkadot/util": "3.0.1",
  37. "@polkadot/util-crypto": "3.0.1",
  38. "@polkadot/wasm-crypto": "1.2.1",
  39. "babel-core": "^7.0.0-bridge.0",
  40. "typescript": "^3.9.7"
  41. },
  42. "devDependencies": {
  43. "husky": "^4.2.5",
  44. "prettier": "2.0.2",
  45. "eslint": "^7.6.0"
  46. },
  47. "husky": {
  48. "hooks": {
  49. "pre-commit": "devops/git-hooks/pre-commit",
  50. "pre-push": "devops/git-hooks/pre-push"
  51. }
  52. },
  53. "engines": {
  54. "node": ">=12.18.0",
  55. "yarn": "^1.22.0"
  56. }
  57. }