|
11 | 11 | "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", |
12 | 12 | "lint": "npx eslint -c ../../.eslintrc.js \"src/**/*.ts\" && node ./scripts/lint", |
13 | 13 | "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", |
14 | | - "test": "yarn g:jest" |
| 14 | + "test": "yarn g:jest --maxWorkers=1", |
| 15 | + "test:cbor:perf": "node ./scripts/cbor-perf.mjs" |
15 | 16 | }, |
16 | 17 | "main": "./dist-cjs/index.js", |
17 | 18 | "module": "./dist-es/index.js", |
|
29 | 30 | "node": "./package.json", |
30 | 31 | "import": "./package.json", |
31 | 32 | "require": "./package.json" |
| 33 | + }, |
| 34 | + "./cbor": { |
| 35 | + "module": "./dist-es/submodules/cbor/index.js", |
| 36 | + "node": "./dist-cjs/submodules/cbor/index.js", |
| 37 | + "import": "./dist-es/submodules/cbor/index.js", |
| 38 | + "require": "./dist-cjs/submodules/cbor/index.js", |
| 39 | + "types": "./dist-types/submodules/cbor/index.d.ts" |
32 | 40 | } |
33 | 41 | }, |
34 | 42 | "author": { |
|
44 | 52 | "@smithy/protocol-http": "workspace:^", |
45 | 53 | "@smithy/smithy-client": "workspace:^", |
46 | 54 | "@smithy/types": "workspace:^", |
| 55 | + "@smithy/util-body-length-browser": "workspace:^", |
47 | 56 | "@smithy/util-middleware": "workspace:^", |
| 57 | + "@smithy/util-utf8": "workspace:^", |
48 | 58 | "tslib": "^2.6.2" |
49 | 59 | }, |
50 | 60 | "engines": { |
|
58 | 68 | } |
59 | 69 | }, |
60 | 70 | "files": [ |
61 | | - "dist-*/**" |
| 71 | + "dist-*/**", |
| 72 | + "./cbor.js" |
62 | 73 | ], |
63 | 74 | "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/core", |
64 | 75 | "repository": { |
|
70 | 81 | "@types/node": "^16.18.96", |
71 | 82 | "concurrently": "7.0.0", |
72 | 83 | "downlevel-dts": "0.10.1", |
| 84 | + "json-bigint": "^1.0.0", |
73 | 85 | "rimraf": "3.0.2", |
74 | 86 | "typedoc": "0.23.23" |
75 | 87 | }, |
|
0 commit comments