package.json 2.3 KB

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