-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.38 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.38 KB
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": "@operandinc/sdk",
"author": "Operand, Inc.",
"version": "5.0.23",
"license": "MIT",
"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/**/*"
],
"sideEffects": false,
"engines": {
"node": ">=16",
"npm": ">=8"
},
"scripts": {
"generate": "buf generate buf.build/operand/mcp",
"clean": "rm -rf ./dist/cjs/* ./dist/esm/* ./dist/types/*",
"build": "npm run build:cjs && npm run build:esm+types",
"build:cjs": "npx tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm+types": "npx tsc --project tsconfig.json --module ES2015 --outDir ./dist/esm --declaration --declarationDir ./dist/types"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@bufbuild/protoc-gen-connect-web": "^0.7.0",
"@bufbuild/protoc-gen-es": "^1.0.0",
"@types/isomorphic-fetch": "^0.0.36",
"@types/node": "18.11.18",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"dependencies": {
"@bufbuild/connect-web": "^0.7.0",
"@bufbuild/protobuf": "^1.0.0",
"isomorphic-fetch": "^3.0.0"
}
}