package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "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:alice-as-lead": "ts-node ./scripts/devInitAliceLead.ts",
  18. "initialize:content-dir": "ts-node ./scripts/initializeContentDir.ts",
  19. "initialize:dev": "yarn initialize:alice-as-lead && yarn initialize:content-dir",
  20. "example:createChannel": "ts-node ./examples/createChannel.ts",
  21. "example:createVideo": "ts-node ./examples/createVideo.ts",
  22. "example:updateChannelTitle": "ts-node ./examples/updateChannelTitle.ts"
  23. },
  24. "dependencies": {
  25. "ajv": "6.12.5",
  26. "@joystream/prettier-config": "*",
  27. "@polkadot/api": "1.26.1",
  28. "@polkadot/keyring": "^3.0.1",
  29. "@joystream/types": "^0.14.0",
  30. "@apidevtools/json-schema-ref-parser": "^9.0.6"
  31. },
  32. "devDependencies": {
  33. "ts-node": "^8.8.2",
  34. "typescript": "^3.9.7",
  35. "json-schema-to-typescript": "^9.1.1"
  36. },
  37. "repository": {
  38. "type": "git",
  39. "url": "git+https://github.com/Joystream/joystream.git"
  40. },
  41. "license": "GPL-3.0-only",
  42. "bugs": {
  43. "url": "https://github.com/Joystream/joystream/issues"
  44. },
  45. "homepage": "https://github.com/Joystream/joystream"
  46. }