package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. "./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. "scripts": {
  24. "build": "yarn compile && tsc",
  25. "compile": "yarn ts-node ./scripts/compile.ts",
  26. "generate-doc": "./generate-md-doc.sh",
  27. "test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha --inline-diffs -r ts-node/register 'test/**/*.ts'",
  28. "lint": "eslint ./src --ext .ts",
  29. "checks": "tsc --noEmit --pretty && prettier ./ --check && yarn lint",
  30. "format": "prettier ./ --write"
  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. },
  44. "devDependencies": {
  45. "@types/chai": "^4.2.11",
  46. "@types/mocha": "^8.2.0",
  47. "chai": "^4.2.0",
  48. "eslint": "^7.6.0",
  49. "mocha": "^8.2.1",
  50. "prettier": "2.0.2",
  51. "ts-node": "^8.8.1",
  52. "typescript": "^4.1.3",
  53. "protobufjs": "^6.11.2"
  54. }
  55. }