package.json 1.3 KB

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