package.json 2.4 KB

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