-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.72 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
49
50
51
52
53
54
55
56
{
"name": "@opensdks/sdk-qbo",
"version": "0.0.23",
"type": "module",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"./*.oas.types": "./*.oas.types.js",
"./*.oas.json": "./*.oas.json",
"./*": {
"types": "./types/*.d.ts",
"import": "./esm/*.js",
"require": "./cjs/*.js"
}
},
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./types/index.d.ts",
"files": [
"types",
"esm",
"cjs",
"src",
"*.ts",
"*.d.ts",
"*.oas.json",
"!**/*.spec.ts",
"!*.orig.oas.json"
],
"scripts": {
"build": "concurrently npm:build:*",
"build:cjs": "tsc -p ./tsconfig.build.json --declaration false --declarationMap false --module CommonJS --moduleResolution Node10 --outDir ./cjs",
"build:cjs-pkgjson": "mkdir -p ./cjs && mkdir -p ./types && echo '{\"type\": \"commonjs\"}' | tee ./cjs/package.json ./types/package.json",
"build:esm": "tsc -p ./tsconfig.build.json --declaration false --declarationMap false --outDir ./esm",
"build:types": "tsc -p ./tsconfig.build.json --emitDeclarationOnly --outDir ./types",
"clean": "rm -rf ./esm ./cjs ./types",
"generate": "run-s generate:*",
"generate:json": "npx tsx ./src/qbo.oas.ts | prettier --parser json > ./qbo.oas.json",
"generate:types": "node ../../packages/cli/generateFromOas.js ./qbo.oas.json",
"version": "pnpm version"
},
"dependencies": {},
"devDependencies": {
"@opensdks/runtime": "workspace:*",
"@opensdks/util-zod": "workspace:*",
"concurrently": "^8.2.2",
"openapi-typescript": "6.7.1",
"prettier": "^3.1.0"
},
"publishConfig": {
"access": "public"
}
}