package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 && yarn workspace storage-node run 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. ],
  23. "resolutions": {
  24. "@polkadot/api": "^0.96.1",
  25. "@polkadot/api-contract": "^0.96.1",
  26. "@polkadot/keyring": "^1.7.0-beta.5",
  27. "@polkadot/types": "^0.96.1",
  28. "@polkadot/util": "^1.7.0-beta.5",
  29. "@polkadot/util-crypto": "^1.7.0-beta.5",
  30. "babel-core": "^7.0.0-bridge.0",
  31. "typescript": "^3.7.2"
  32. },
  33. "devDependencies": {
  34. "husky": "^4.2.5",
  35. "prettier": "2.0.2",
  36. "eslint": "^5.16.0"
  37. },
  38. "husky": {
  39. "hooks": {
  40. "pre-commit": "devops/git-hooks/pre-commit",
  41. "pre-push": "devops/git-hooks/pre-push"
  42. }
  43. },
  44. "engines": {
  45. "node": ">=12.18.0",
  46. "yarn": "^1.22.0"
  47. }
  48. }