package.json 1.5 KB

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