package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@joystream/metadata-protobuf",
  3. "version": "2.1.0",
  4. "description": "Joystream Metadata Protobuf Library (Olympia Release)",
  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. "./consts": "./lib/consts.js"
  12. },
  13. "typesVersions": {
  14. "*": {
  15. "lib/index.d.ts": ["lib/index.d.ts"],
  16. "*": [ "lib/*" ]
  17. }
  18. },
  19. "repository": "https://github.com/joystream/joystream",
  20. "author": "Joystream Contributors",
  21. "license": "MIT",
  22. "private": false,
  23. "publishConfig": {
  24. "access": "public",
  25. "registry": "https://registry.npmjs.org"
  26. },
  27. "scripts": {
  28. "build": "yarn compile && rm -rf lib && tsc",
  29. "compile": "yarn ts-node ./scripts/compile.ts",
  30. "generate-doc": "./generate-md-doc.sh",
  31. "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --inline-diffs -r ts-node/register 'test/**/*.ts'",
  32. "lint": "eslint ./src --ext .ts",
  33. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  34. "format": "prettier ./ --write",
  35. "prepack": "npm run build && npm run checks"
  36. },
  37. "files": [
  38. "lib/**/*",
  39. "doc/**",
  40. "proto/**",
  41. "compiled/**/*",
  42. "README.md"
  43. ],
  44. "dependencies": {
  45. "google-protobuf": "^3.14.0",
  46. "long": "^4.0.0",
  47. "@types/long": "^4.0.1",
  48. "i18n-iso-countries": "^6.8.0",
  49. "iso-639-1": "^2.1.9",
  50. "protobufjs": "^6.11.2",
  51. "iso-3166-2": "^1.0.0",
  52. "@types/iso-3166-2": "^1.0.0"
  53. },
  54. "devDependencies": {
  55. "@types/chai": "^4.2.11",
  56. "@types/mocha": "^8.2.0",
  57. "chai": "^4.2.0",
  58. "eslint": "^7.6.0",
  59. "mocha": "^8.2.1",
  60. "prettier": "2.0.2",
  61. "ts-node": "^10.2.1",
  62. "typescript": "^4.4.3"
  63. }
  64. }