package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "private": true,
  3. "name": "joystream",
  4. "license": "GPL-3.0-only",
  5. "scripts": {
  6. "test": "yarn && yarn workspaces run test",
  7. "test-migration": "yarn && yarn workspaces run test-migration",
  8. "postinstall": "yarn workspace @joystream/types build",
  9. "cargo-checks": "devops/git-hooks/pre-commit && devops/git-hooks/pre-push",
  10. "cargo-build": "scripts/cargo-build.sh",
  11. "lint": "yarn workspaces run lint"
  12. },
  13. "workspaces": [
  14. "tests/network-tests",
  15. "cli",
  16. "types",
  17. "pioneer",
  18. "pioneer/packages/*",
  19. "devops/eslint-config",
  20. "devops/prettier-config"
  21. ],
  22. "resolutions": {
  23. "@polkadot/api": "^0.96.1",
  24. "@polkadot/api-contract": "^0.96.1",
  25. "@polkadot/keyring": "^1.7.0-beta.5",
  26. "@polkadot/types": "^0.96.1",
  27. "@polkadot/util": "^1.7.0-beta.5",
  28. "@polkadot/util-crypto": "^1.7.0-beta.5",
  29. "babel-core": "^7.0.0-bridge.0",
  30. "typescript": "^3.7.2"
  31. },
  32. "devDependencies": {
  33. "eslint-config-prettier": "^6.11.0",
  34. "eslint-plugin-prettier": "^3.1.3",
  35. "eslint-plugin-react": "^7.20.3",
  36. "eslint-plugin-react-hooks": "^4.0.4",
  37. "husky": "^4.2.5",
  38. "prettier": "2.0.2"
  39. },
  40. "husky": {
  41. "hooks": {
  42. "pre-commit": "devops/git-hooks/pre-commit",
  43. "pre-push": "devops/git-hooks/pre-push"
  44. }
  45. }
  46. }