package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 && 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. },
  31. "files": [
  32. "lib/**/*",
  33. "doc/**",
  34. "proto/**",
  35. "compiled/**/*",
  36. "README.md"
  37. ],
  38. "dependencies": {
  39. "google-protobuf": "^3.14.0",
  40. "long": "^4.0.0",
  41. "@types/long": "^4.0.1"
  42. },
  43. "devDependencies": {
  44. "@types/chai": "^4.2.11",
  45. "@types/mocha": "^8.2.0",
  46. "chai": "^4.2.0",
  47. "eslint": "^7.6.0",
  48. "mocha": "^8.2.1",
  49. "prettier": "2.0.2",
  50. "ts-node": "^8.8.1",
  51. "typescript": "^4.1.3",
  52. "protobufjs": "^6.11.2"
  53. }
  54. }