protobuf.js/cli/package.json
Madiyar a1d60292ec
fix: proper relative path to protobufjs in cli (#1753)
According to https://docs.npmjs.com/cli/v8/configuring-npm/package-json#local-paths the local path should be `file:..` instead of `file://..`.

The later version copies whole top-level file-system in a macOS and with a recent version of npm (8.12.2) and results in a `MODULE_NOT_FOUND` error.

Co-authored-by: Alexander Fenster <fenster@google.com>
2022-07-06 18:27:19 -07:00

36 lines
844 B
JSON

{
"name": "protobufjs-cli",
"description": "Translates between file formats and generates static code as well as TypeScript definitions.",
"version": "0.1.0",
"author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
"repository": {
"type": "git",
"url": "https://github.com/protobufjs/protobuf.js.git"
},
"license": "BSD-3-Clause",
"main": "index.js",
"types": "index.d.ts",
"bin": {
"pbjs": "bin/pbjs",
"pbts": "bin/pbts"
},
"peerDependencies": {
"protobufjs": "^7.0.0"
},
"dependencies": {
"chalk": "^4.0.0",
"escodegen": "^1.13.0",
"espree": "^7.1.0",
"estraverse": "^5.1.0",
"glob": "^7.2.1",
"jsdoc": "^3.6.3",
"minimist": "^1.2.0",
"semver": "^7.1.2",
"tmp": "^0.2.1",
"uglify-js": "^3.7.7"
},
"devDependencies": {
"protobufjs": "file:.."
}
}