package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@joystream/metadata-protobuf",
  3. "version": "1.0.1",
  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. "publishConfig": {
  23. "access": "public",
  24. "registry": "https://registry.npmjs.org"
  25. },
  26. "scripts": {
  27. "build": "yarn compile && rm -rf lib && tsc",
  28. "compile": "yarn ts-node ./scripts/compile.ts",
  29. "generate-doc": "./generate-md-doc.sh",
  30. "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --inline-diffs -r ts-node/register 'test/**/*.ts'",
  31. "lint": "eslint ./src --ext .ts",
  32. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  33. "format": "prettier ./ --write",
  34. "prepack": "npm run build && npm run checks"
  35. },
  36. "files": [
  37. "lib/**/*",
  38. "doc/**",
  39. "proto/**",
  40. "compiled/**/*",
  41. "README.md"
  42. ],
  43. "dependencies": {
  44. "google-protobuf": "^3.14.0",
  45. "long": "^4.0.0",
  46. "@types/long": "^4.0.1",
  47. "i18n-iso-countries": "^6.8.0",
  48. "iso-639-1": "^2.1.9",
  49. "protobufjs": "^6.11.2",
  50. "iso-3166-2": "^1.0.0",
  51. "@types/iso-3166-2": "^1.0.0"
  52. },
  53. "devDependencies": {
  54. "@types/chai": "^4.2.11",
  55. "@types/mocha": "^8.2.0",
  56. "chai": "^4.2.0",
  57. "eslint": "^7.6.0",
  58. "mocha": "^8.2.1",
  59. "prettier": "2.0.2",
  60. "ts-node": "^10.2.1",
  61. "typescript": "^4.4.3"
  62. }
  63. }