forked from bufbuild/protobuf-es
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.11 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
{
"name": "@bufbuild/protobuf",
"version": "1.0.0",
"license": "(Apache-2.0 AND BSD-3-Clause)",
"description": "A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.",
"repository": {
"type": "git",
"url": "https://github.com/bufbuild/protobuf-es.git",
"directory": "packages/protobuf"
},
"sideEffects": false,
"scripts": {
"clean": "rm -rf ./dist/cjs/* ./dist/esm/* ./dist/types/*",
"build": "npm run build:cjs && npm run build:esm+types",
"build:cjs": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm+types": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module ES2015 --outDir ./dist/esm --declaration --declarationDir ./dist/types"
},
"main": "./dist/cjs/index.js",
"type": "module",
"types": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"files": [
"dist/**/"
]
}