|
1 | 1 | { |
2 | | - "name": "protogenerate", |
| 2 | + "name": "@protogenjs/protogen", |
3 | 3 | "version": "0.1.1-alpha.1", |
4 | 4 | "description": "The protogen package makes it easy to write protoc plugins in JavaScript/Typescript", |
5 | | - "main": "lib/index.js", |
6 | | - "types": "lib/index.d.ts", |
7 | | - "scripts": { |
8 | | - "lint": "prettier --check src/**.ts test/**.ts", |
9 | | - "clean": "rm -rf lib", |
10 | | - "build": "tsc", |
11 | | - "test": "mkdir -p testout && chmod +x lib/test/generator.js && chmod +x lib/test/imports/generator.js && mocha lib/test/*.spec.js lib/test/**/*.spec.js --exit", |
12 | | - "prepack": "npm run build", |
13 | | - "docs": "typedoc src/index.ts" |
14 | | - }, |
15 | | - "files": [ |
16 | | - "lib" |
17 | | - ], |
| 5 | + "author": "fischor <fischor.sh@gmail.com>", |
18 | 6 | "license": "ISC", |
| 7 | + "homepage": "https://github.com/fischor/protogen-javascript", |
| 8 | + "repository": "github:fischor/protogen-javascript", |
| 9 | + "main": "lib/src/index.js", |
| 10 | + "types": "lib/src/index.d.ts", |
19 | 11 | "dependencies": { |
20 | 12 | "google-protobuf": "^3.17.3" |
21 | 13 | }, |
|
27 | 19 | "prettier": "^2.3.2", |
28 | 20 | "typedoc": "^0.21.5", |
29 | 21 | "typescript": "^4.3.5" |
| 22 | + }, |
| 23 | + "files": [ |
| 24 | + "lib/src/", |
| 25 | + "README.md" |
| 26 | + ], |
| 27 | + "publishConfig": { |
| 28 | + "access": "public" |
| 29 | + }, |
| 30 | + "scripts": { |
| 31 | + "lint": "prettier --check src/**.ts test/**.ts", |
| 32 | + "clean": "rm -rf lib", |
| 33 | + "build": "tsc", |
| 34 | + "test": "mkdir -p testout && chmod +x lib/test/generator.js && chmod +x lib/test/imports/generator.js && mocha lib/test/*.spec.js lib/test/**/*.spec.js --exit", |
| 35 | + "prepack": "npm run clean && npm run build", |
| 36 | + "docs": "typedoc src/index.ts" |
30 | 37 | } |
31 | 38 | } |
0 commit comments