package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@joystream/types",
  3. "version": "0.13.0",
  4. "description": "Types for Joystream Substrate Runtime - Alexandria release",
  5. "main": "index.js",
  6. "types": "index.d.ts",
  7. "scripts": {
  8. "prepublish": "npm run build",
  9. "build": "tsc --build tsconfig.json",
  10. "lint": "eslint ./ --quiet --ext .ts",
  11. "format": "prettier ./ --write",
  12. "check:augment": "tsc --build tsconfig-augment.json && tsc --build tsconfig-augment-codec.json",
  13. "checks": "yarn build && madge --circular ./ && yarn lint && prettier ./ --check && yarn check:augment",
  14. "generate:defs": "ts-node node_modules/.bin/polkadot-types-from-defs --package . --input ./augment",
  15. "generate:meta": "ts-node node_modules/.bin/polkadot-types-from-chain --package . --endpoint ws://127.0.0.1:9944 --output ./augment --strict",
  16. "generate:codec-defs": "ts-node ./src/scripts/generateCodecDefs.ts",
  17. "generate:registry-json": "ts-node ./src/scripts/generateRegistryJson.ts",
  18. "generate:augment": "yarn generate:registry-json && yarn generate:defs && yarn generate:meta",
  19. "generate:all": "yarn generate:augment && yarn generate:codec-defs",
  20. "generate:json-schemas": "json2ts -i ./src/hiring/schemas/role.schema.json -o ./src/hiring/schemas/role.schema.typings.ts"
  21. },
  22. "author": "Joystream contributors",
  23. "maintainers": [],
  24. "dependencies": {
  25. "@polkadot/api": "1.26.1",
  26. "@polkadot/types": "1.26.1",
  27. "@polkadot/keyring": "^3.0.1",
  28. "@types/lodash": "^4.14.157",
  29. "@types/vfile": "^4.0.0",
  30. "ajv": "^6.11.0",
  31. "lodash": "^4.17.15",
  32. "moment": "^2.24.0"
  33. },
  34. "devDependencies": {
  35. "@polkadot/typegen": "1.26.1",
  36. "ts-node": "^8.6.2",
  37. "typescript": "^3.7.2",
  38. "madge": "^3.9.2",
  39. "json-schema-to-typescript": "^9.1.1"
  40. },
  41. "engines": {
  42. "node": ">=12.18.0",
  43. "yarn": "^1.22.0"
  44. },
  45. "publishConfig": {
  46. "access": "public",
  47. "registry": "https://registry.npmjs.org"
  48. },
  49. "repository": {
  50. "type": "git",
  51. "url": "git+https://github.com/Joystream/joystream.git"
  52. },
  53. "keywords": [
  54. "substrate",
  55. "joystream",
  56. "runtime"
  57. ],
  58. "license": "GPL-3.0-only",
  59. "bugs": {
  60. "url": "https://github.com/Joystream/joystream/issues"
  61. },
  62. "homepage": "https://github.com/Joystream/joystream"
  63. }