-
Notifications
You must be signed in to change notification settings - Fork 69
/
package.json
48 lines (48 loc) · 1.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "@bufbuild/protoplugin",
"version": "2.2.2",
"license": "Apache-2.0",
"description": "Helps to create your own Protocol Buffers code generators.",
"keywords": [
"protobuf",
"schema",
"typescript",
"ecmascript",
"protoc-plugin"
],
"repository": {
"type": "git",
"url": "https://github.com/bufbuild/protobuf-es.git",
"directory": "packages/protoplugin"
},
"scripts": {
"prebuild": "rm -rf ./dist/*",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "../../node_modules/typescript/bin/tsc --project tsconfig.json --outDir ./dist/esm",
"format": "prettier --write --ignore-unknown '.' '!dist' '!.turbo'",
"license-header": "license-header",
"lint": "eslint --max-warnings 0 .",
"attw": "attw --pack"
},
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"dependencies": {
"@bufbuild/protobuf": "2.2.2",
"@typescript/vfs": "^1.5.2",
"typescript": "5.4.5"
},
"files": [
"dist/**"
],
"devDependencies": {
"@types/lz-string": "^1.5.0"
}
}