package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "name": "query-node-mappings",
  3. "version": "0.1.0",
  4. "description": "Mappings for hydra-processor",
  5. "main": "lib/src/index.js",
  6. "license": "MIT",
  7. "scripts": {
  8. "build": "rm -rf lib && tsc --build tsconfig.json && yarn copy-types",
  9. "copy-types": "cp ../../types/augment/all/defs.json lib/generated/types/typedefs.json",
  10. "clean": "rm -rf lib",
  11. "lint": "eslint . --ext .ts",
  12. "checks": "prettier ./ --check && yarn lint",
  13. "format": "prettier ./ --write ",
  14. "bootstrap-data:fetch:members": "yarn ts-node ./bootstrap-data/scripts/fetchMembersData.ts",
  15. "bootstrap-data:fetch:categories": "yarn ts-node ./bootstrap-data/scripts/fetchCategories.ts",
  16. "bootstrap-data:fetch:workingGroups": "yarn ts-node ./bootstrap-data/scripts/fetchWorkingGroupsData.ts",
  17. "bootstrap-data:fetch": "yarn bootstrap-data:fetch:members && yarn bootstrap-data:fetch:workingGroups && yarn bootstrap-data:fetch:categories"
  18. },
  19. "dependencies": {
  20. "@polkadot/types": "5.9.1",
  21. "@joystream/hydra-common": "^3.1.0-alpha.20",
  22. "@joystream/hydra-db-utils": "^3.1.0-alpha.20",
  23. "@joystream/metadata-protobuf": "^2.1.0",
  24. "@joystream/types": "^0.18.3",
  25. "@joystream/warthog": "^2.41.4",
  26. "@apollo/client": "^3.2.5"
  27. },
  28. "devDependencies": {
  29. "prettier": "^2.2.1",
  30. "ts-node": "^10.2.1",
  31. "typescript": "^4.4.3"
  32. }
  33. }