package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "@joystream/types",
  3. "version": "0.16.1",
  4. "description": "Types for Joystream Substrate Runtime - Sumer 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 ./ --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 ./ && prettier ./ --check && yarn check:augment && yarn lint",
  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:augment-codec": "ts-node ./src/scripts/generateAugmentCodec.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:augment-codec",
  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": "4.2.1",
  26. "@polkadot/types": "4.2.1",
  27. "@polkadot/keyring": "^6.0.5",
  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": "4.2.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": ">=14.0.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. "volta": {
  64. "node": "14.16.1",
  65. "yarn": "1.22.4"
  66. }
  67. }