package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "name": "@joystream/metadata-protobuf",
  3. "version": "1.0.0",
  4. "description": "Joystream Metadata Protobuf Library ",
  5. "main": "lib/index.js",
  6. "types": "lib/index.d.ts",
  7. "exports": {
  8. ".": "./lib/index.js",
  9. "./utils": "./lib/utils.js",
  10. "./licenses": "./lib/licenses.js"
  11. },
  12. "typesVersions": {
  13. "*": {
  14. "lib/index.d.ts": ["lib/index.d.ts"],
  15. "*": [ "lib/*" ]
  16. }
  17. },
  18. "repository": "https://github.com/joystream/joystream",
  19. "author": "Joystream Contributors",
  20. "license": "MIT",
  21. "private": false,
  22. "scripts": {
  23. "build": "yarn compile && rm -rf lib && tsc",
  24. "compile": "yarn ts-node ./scripts/compile.ts",
  25. "generate-doc": "./generate-md-doc.sh",
  26. "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --inline-diffs -r ts-node/register 'test/**/*.ts'",
  27. "lint": "eslint ./src --ext .ts",
  28. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  29. "format": "prettier ./ --write",
  30. "prepublish": "yarn build"
  31. },
  32. "files": [
  33. "lib/**/*",
  34. "doc/**",
  35. "proto/**",
  36. "compiled/**/*",
  37. "README.md"
  38. ],
  39. "dependencies": {
  40. "google-protobuf": "^3.14.0",
  41. "long": "^4.0.0",
  42. "@types/long": "^4.0.1",
  43. "i18n-iso-countries": "^6.8.0",
  44. "iso-639-1": "^2.1.9"
  45. },
  46. "devDependencies": {
  47. "@types/chai": "^4.2.11",
  48. "@types/mocha": "^8.2.0",
  49. "chai": "^4.2.0",
  50. "eslint": "^7.6.0",
  51. "mocha": "^8.2.1",
  52. "prettier": "2.0.2",
  53. "ts-node": "^8.8.1",
  54. "typescript": "^4.1.3",
  55. "protobufjs": "^6.11.2"
  56. }
  57. }