package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "@joystream/cd-schemas",
  3. "version": "0.1.0",
  4. "description": "JSON schemas, inputs and related tooling for Joystream content directory 2.0",
  5. "author": "Joystream contributors",
  6. "main": "lib/index.js",
  7. "scripts": {
  8. "build": "tsc --build tsconfig.lib.json",
  9. "lint": "eslint ./ --ext .ts --ignore-path .gitignore",
  10. "ts-check": "tsc --noEmit --pretty",
  11. "pretty": "prettier ./ --write --ignore-path .gitignore",
  12. "validate": "ts-node ./scripts/validate.ts",
  13. "checks": "yarn ts-check && prettier ./ --check --ignore-path .gitignore && yarn validate && yarn lint",
  14. "generate:types": "ts-node --files ./scripts/schemasToTS.ts",
  15. "generate:entity-schemas": "ts-node ./scripts/inputSchemasToEntitySchemas.ts",
  16. "generate:all": "yarn generate:entity-schemas && yarn generate:types",
  17. "initialize:lead": "ts-node ./scripts/devInitContentLead.ts",
  18. "initialize:content-dir": "ts-node ./scripts/initializeContentDir.ts",
  19. "initialize:dev": "yarn initialize:lead && yarn initialize:content-dir",
  20. "example:createChannel": "ts-node ./examples/createChannel.ts",
  21. "example:createVideo": "ts-node ./examples/createVideo.ts",
  22. "example:updateChannelHandle": "ts-node ./examples/updateChannelHandle.ts",
  23. "example:createChannelWithoutTransaction": "ts-node ./examples/createChannelWithoutTransaction.ts",
  24. "example:updateChannelHandlelWithoutTransaction": "ts-node ./examples/updateChannelHandleWithoutTransaction.ts"
  25. },
  26. "dependencies": {
  27. "ajv": "6.12.5",
  28. "@joystream/prettier-config": "*",
  29. "@polkadot/api": "1.26.1",
  30. "@polkadot/keyring": "^3.0.1",
  31. "@joystream/types": "^0.14.0",
  32. "@apidevtools/json-schema-ref-parser": "^9.0.6"
  33. },
  34. "devDependencies": {
  35. "ts-node": "^8.8.2",
  36. "typescript": "^3.9.7",
  37. "json-schema-to-typescript": "^9.1.1"
  38. },
  39. "repository": {
  40. "type": "git",
  41. "url": "git+https://github.com/Joystream/joystream.git"
  42. },
  43. "license": "GPL-3.0-only",
  44. "bugs": {
  45. "url": "https://github.com/Joystream/joystream/issues"
  46. },
  47. "homepage": "https://github.com/Joystream/joystream",
  48. "volta": {
  49. "node": "12.18.2",
  50. "yarn": "1.22.4"
  51. },
  52. "publishConfig": {
  53. "access": "public",
  54. "registry": "https://registry.npmjs.org"
  55. }
  56. }