From 81b2e87067642a8cea8649cbdb2c342ca9fb6ac6 Mon Sep 17 00:00:00 2001 From: Alexander Forsyth Date: Wed, 29 Jul 2020 16:12:58 -0400 Subject: [PATCH] feat: build command (#1407) --- package.json | 4 ++-- packages/abort-controller/package.json | 1 + packages/body-checksum-browser/package.json | 1 + packages/body-checksum-node/package.json | 1 + packages/chunked-blob-reader-native/package.json | 1 + packages/chunked-blob-reader/package.json | 1 + packages/chunked-stream-reader-node/package.json | 1 + packages/client-documentation-generator/package.json | 1 + packages/config-resolver/package.json | 1 + packages/credential-provider-cognito-identity/package.json | 1 + packages/credential-provider-env/package.json | 1 + packages/credential-provider-imds/package.json | 1 + packages/credential-provider-ini/package.json | 1 + packages/credential-provider-node/package.json | 1 + packages/credential-provider-process/package.json | 1 + packages/eventstream-handler-node/package.json | 1 + packages/eventstream-marshaller/package.json | 1 + packages/eventstream-serde-browser/package.json | 1 + packages/eventstream-serde-config-resolver/package.json | 1 + packages/eventstream-serde-node/package.json | 1 + packages/eventstream-serde-universal/package.json | 1 + packages/fetch-http-handler/package.json | 1 + packages/hash-blob-browser/package.json | 1 + packages/hash-node/package.json | 1 + packages/hash-stream-node/package.json | 1 + packages/invalid-dependency/package.json | 1 + packages/is-array-buffer/package.json | 1 + packages/karma-credential-loader/package.json | 1 + packages/md5-js/package.json | 1 + packages/middleware-apply-body-checksum/package.json | 1 + packages/middleware-bucket-endpoint/package.json | 1 + packages/middleware-content-length/package.json | 1 + packages/middleware-eventstream/package.json | 1 + packages/middleware-expect-continue/package.json | 1 + packages/middleware-header-default/package.json | 1 + packages/middleware-host-header/package.json | 1 + packages/middleware-location-constraint/package.json | 1 + packages/middleware-retry/package.json | 1 + packages/middleware-sdk-api-gateway/package.json | 1 + packages/middleware-sdk-ec2/package.json | 1 + packages/middleware-sdk-glacier/package.json | 1 + packages/middleware-sdk-machinelearning/package.json | 1 + packages/middleware-sdk-rds/package.json | 1 + packages/middleware-sdk-route53/package.json | 1 + packages/middleware-sdk-s3-control/package.json | 1 + packages/middleware-sdk-s3/package.json | 1 + packages/middleware-sdk-sqs/package.json | 1 + packages/middleware-sdk-transcribe-streaming/package.json | 1 + packages/middleware-serde/package.json | 1 + packages/middleware-signing/package.json | 1 + packages/middleware-ssec/package.json | 1 + packages/middleware-stack/package.json | 1 + packages/middleware-user-agent/package.json | 1 + packages/node-http-handler/package.json | 1 + packages/property-provider/package.json | 1 + packages/protocol-http/package.json | 1 + packages/querystring-builder/package.json | 1 + packages/querystring-parser/package.json | 1 + packages/region-provider/package.json | 1 + packages/retry-config-provider/package.json | 1 + packages/s3-request-presigner/package.json | 1 + packages/service-error-classification/package.json | 1 + packages/sha256-tree-hash/package.json | 1 + packages/shared-ini-file-loader/package.json | 1 + packages/signature-v4/package.json | 1 + packages/smithy-client/package.json | 1 + packages/types/package.json | 1 + packages/url-parser-browser/package.json | 1 + packages/url-parser-node/package.json | 1 + packages/util-base64-browser/package.json | 1 + packages/util-base64-node/package.json | 1 + packages/util-body-length-browser/package.json | 1 + packages/util-body-length-node/package.json | 1 + packages/util-buffer-from/package.json | 1 + packages/util-create-request/package.json | 1 + packages/util-format-url/package.json | 1 + packages/util-hex-encoding/package.json | 1 + packages/util-locate-window/package.json | 1 + packages/util-uri-escape/package.json | 1 + packages/util-user-agent-browser/package.json | 1 + packages/util-user-agent-node/package.json | 1 + packages/util-utf8-browser/package.json | 1 + packages/util-utf8-node/package.json | 1 + packages/xml-builder/package.json | 1 + 84 files changed, 85 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index aa3dce5e4d50..8306fe31cdd8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build:crypto-dependencies": "lerna run --scope '@aws-sdk/types' --scope '@aws-sdk/util-utf8-browser' --scope '@aws-sdk/util-locate-window' --scope '@aws-sdk/hash-node' --include-dependencies pretest", "build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-*' --include-dependencies pretest", "build:smithy-client": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/client-rds-data' --include-dependencies pretest", - "build:all": "yarn build:crypto-dependencies && lerna run pretest", + "build:all": "yarn build:crypto-dependencies && lerna run build", "pretest:all": "yarn build:all", "test:all": "jest --coverage --passWithNoTests && lerna run test --scope @aws-sdk/fetch-http-handler --scope @aws-sdk/hash-blob-browser", "test:functional": "jest --config tests/functional/jest.config.js --passWithNoTests", @@ -109,4 +109,4 @@ ], "**/*.{ts,js,md,json}": "prettier --write" } -} \ No newline at end of file +} diff --git a/packages/abort-controller/package.json b/packages/abort-controller/package.json index 4d585d83608b..1123d349b35b 100644 --- a/packages/abort-controller/package.json +++ b/packages/abort-controller/package.json @@ -10,6 +10,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/body-checksum-browser/package.json b/packages/body-checksum-browser/package.json index 8692790864ca..56e98d57d974 100644 --- a/packages/body-checksum-browser/package.json +++ b/packages/body-checksum-browser/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/body-checksum-node/package.json b/packages/body-checksum-node/package.json index 2b60aff3de03..fa72545539e9 100644 --- a/packages/body-checksum-node/package.json +++ b/packages/body-checksum-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/chunked-blob-reader-native/package.json b/packages/chunked-blob-reader-native/package.json index 3b4f43cc46fb..60cfe4588570 100644 --- a/packages/chunked-blob-reader-native/package.json +++ b/packages/chunked-blob-reader-native/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/chunked-blob-reader/package.json b/packages/chunked-blob-reader/package.json index 08b92c7e6ea6..1749c728c5f7 100644 --- a/packages/chunked-blob-reader/package.json +++ b/packages/chunked-blob-reader/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/chunked-stream-reader-node/package.json b/packages/chunked-stream-reader-node/package.json index 81d8cc89e699..dfbf6c6a96e2 100644 --- a/packages/chunked-stream-reader-node/package.json +++ b/packages/chunked-stream-reader-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/client-documentation-generator/package.json b/packages/client-documentation-generator/package.json index f600f7be3bc9..34ad9cdcc98d 100644 --- a/packages/client-documentation-generator/package.json +++ b/packages/client-documentation-generator/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "exit 0" }, "main": "./dist/cjs/index.js", diff --git a/packages/config-resolver/package.json b/packages/config-resolver/package.json index 7e128f7a53fa..10293a3e9b4c 100644 --- a/packages/config-resolver/package.json +++ b/packages/config-resolver/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/credential-provider-cognito-identity/package.json b/packages/credential-provider-cognito-identity/package.json index 9c90cb0967fa..7caf71d3d7d7 100644 --- a/packages/credential-provider-cognito-identity/package.json +++ b/packages/credential-provider-cognito-identity/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/credential-provider-env/package.json b/packages/credential-provider-env/package.json index 9dd748c1d9f5..57dcf18eb940 100644 --- a/packages/credential-provider-env/package.json +++ b/packages/credential-provider-env/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-imds/package.json b/packages/credential-provider-imds/package.json index 3d9b27759661..419d19afee78 100644 --- a/packages/credential-provider-imds/package.json +++ b/packages/credential-provider-imds/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-ini/package.json b/packages/credential-provider-ini/package.json index e3500cc9a721..4294fa3f1068 100644 --- a/packages/credential-provider-ini/package.json +++ b/packages/credential-provider-ini/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-node/package.json b/packages/credential-provider-node/package.json index b7369c7ee684..42dc546d5929 100644 --- a/packages/credential-provider-node/package.json +++ b/packages/credential-provider-node/package.json @@ -12,6 +12,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/credential-provider-process/package.json b/packages/credential-provider-process/package.json index 4b19975deaa0..26f9f15f603f 100644 --- a/packages/credential-provider-process/package.json +++ b/packages/credential-provider-process/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/eventstream-handler-node/package.json b/packages/eventstream-handler-node/package.json index 3d32046d3cc3..a328149153f8 100644 --- a/packages/eventstream-handler-node/package.json +++ b/packages/eventstream-handler-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-marshaller/package.json b/packages/eventstream-marshaller/package.json index 3f645d19bfd2..4af9c948cc66 100644 --- a/packages/eventstream-marshaller/package.json +++ b/packages/eventstream-marshaller/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-browser/package.json b/packages/eventstream-serde-browser/package.json index 6a7d10ef9963..28e1a7f468a8 100644 --- a/packages/eventstream-serde-browser/package.json +++ b/packages/eventstream-serde-browser/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-config-resolver/package.json b/packages/eventstream-serde-config-resolver/package.json index 2c6a9eeff366..0cc09ad57016 100644 --- a/packages/eventstream-serde-config-resolver/package.json +++ b/packages/eventstream-serde-config-resolver/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-node/package.json b/packages/eventstream-serde-node/package.json index c4a4c397b17e..dc875d6e8167 100644 --- a/packages/eventstream-serde-node/package.json +++ b/packages/eventstream-serde-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/eventstream-serde-universal/package.json b/packages/eventstream-serde-universal/package.json index 0de193ec7cd8..6b7334bbef6a 100644 --- a/packages/eventstream-serde-universal/package.json +++ b/packages/eventstream-serde-universal/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/fetch-http-handler/package.json b/packages/fetch-http-handler/package.json index a69854e9e341..7386f016c173 100644 --- a/packages/fetch-http-handler/package.json +++ b/packages/fetch-http-handler/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --coverage && karma start karma.conf.js" }, "author": { diff --git a/packages/hash-blob-browser/package.json b/packages/hash-blob-browser/package.json index 39d6964b884c..5e30c93f84ca 100644 --- a/packages/hash-blob-browser/package.json +++ b/packages/hash-blob-browser/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "karma start karma.conf.js" }, "main": "./dist/cjs/index.js", diff --git a/packages/hash-node/package.json b/packages/hash-node/package.json index d85916dc36ca..f5d0ad7b27d0 100644 --- a/packages/hash-node/package.json +++ b/packages/hash-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/hash-stream-node/package.json b/packages/hash-stream-node/package.json index 12374d84325c..a62bd461503e 100644 --- a/packages/hash-stream-node/package.json +++ b/packages/hash-stream-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/invalid-dependency/package.json b/packages/invalid-dependency/package.json index d95689f6eea7..98b460185cb1 100644 --- a/packages/invalid-dependency/package.json +++ b/packages/invalid-dependency/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/is-array-buffer/package.json b/packages/is-array-buffer/package.json index bbb7de5d2c41..c7e63f83bbbb 100644 --- a/packages/is-array-buffer/package.json +++ b/packages/is-array-buffer/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/karma-credential-loader/package.json b/packages/karma-credential-loader/package.json index 090da4cf5a18..9cc3fe8dfdb4 100644 --- a/packages/karma-credential-loader/package.json +++ b/packages/karma-credential-loader/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", diff --git a/packages/md5-js/package.json b/packages/md5-js/package.json index a7c14792f227..c7e892f4e336 100644 --- a/packages/md5-js/package.json +++ b/packages/md5-js/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-apply-body-checksum/package.json b/packages/middleware-apply-body-checksum/package.json index 10f10726b507..84f6fa55082e 100644 --- a/packages/middleware-apply-body-checksum/package.json +++ b/packages/middleware-apply-body-checksum/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --coverage" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-bucket-endpoint/package.json b/packages/middleware-bucket-endpoint/package.json index 880284839d66..aaf3c2bd66ec 100644 --- a/packages/middleware-bucket-endpoint/package.json +++ b/packages/middleware-bucket-endpoint/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-content-length/package.json b/packages/middleware-content-length/package.json index f327cf145a2b..0861b5a2f37b 100644 --- a/packages/middleware-content-length/package.json +++ b/packages/middleware-content-length/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-eventstream/package.json b/packages/middleware-eventstream/package.json index 5370690053d4..75650a8c7b62 100644 --- a/packages/middleware-eventstream/package.json +++ b/packages/middleware-eventstream/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-expect-continue/package.json b/packages/middleware-expect-continue/package.json index d2e22bbbe61b..54d4b274e81a 100644 --- a/packages/middleware-expect-continue/package.json +++ b/packages/middleware-expect-continue/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-header-default/package.json b/packages/middleware-header-default/package.json index 1f9cfd374bd4..957873c7dd45 100644 --- a/packages/middleware-header-default/package.json +++ b/packages/middleware-header-default/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-host-header/package.json b/packages/middleware-host-header/package.json index 49a960fc91f2..a44b26a1227d 100644 --- a/packages/middleware-host-header/package.json +++ b/packages/middleware-host-header/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-location-constraint/package.json b/packages/middleware-location-constraint/package.json index 6f0cec1e5ea0..722e9fb5fcc6 100644 --- a/packages/middleware-location-constraint/package.json +++ b/packages/middleware-location-constraint/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-retry/package.json b/packages/middleware-retry/package.json index 0e02afffcf71..d7fec293f2b7 100644 --- a/packages/middleware-retry/package.json +++ b/packages/middleware-retry/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-api-gateway/package.json b/packages/middleware-sdk-api-gateway/package.json index c60f0d9b1935..6158aa195421 100644 --- a/packages/middleware-sdk-api-gateway/package.json +++ b/packages/middleware-sdk-api-gateway/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-ec2/package.json b/packages/middleware-sdk-ec2/package.json index 5a050b8b663f..47ffdf88c02f 100644 --- a/packages/middleware-sdk-ec2/package.json +++ b/packages/middleware-sdk-ec2/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-glacier/package.json b/packages/middleware-sdk-glacier/package.json index 1d98e7c77fae..c99f9fba237a 100644 --- a/packages/middleware-sdk-glacier/package.json +++ b/packages/middleware-sdk-glacier/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-machinelearning/package.json b/packages/middleware-sdk-machinelearning/package.json index 3d274a5488c0..27a2db4d5763 100644 --- a/packages/middleware-sdk-machinelearning/package.json +++ b/packages/middleware-sdk-machinelearning/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-rds/package.json b/packages/middleware-sdk-rds/package.json index 712a3cb391d7..296894ef1341 100644 --- a/packages/middleware-sdk-rds/package.json +++ b/packages/middleware-sdk-rds/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-route53/package.json b/packages/middleware-sdk-route53/package.json index ac4ee79ce58c..4a4bc6f7f4e8 100644 --- a/packages/middleware-sdk-route53/package.json +++ b/packages/middleware-sdk-route53/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-s3-control/package.json b/packages/middleware-sdk-s3-control/package.json index 48c30f9c3849..1bd9676604ba 100644 --- a/packages/middleware-sdk-s3-control/package.json +++ b/packages/middleware-sdk-s3-control/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-s3/package.json b/packages/middleware-sdk-s3/package.json index a0cd3c109523..4386e116d62f 100644 --- a/packages/middleware-sdk-s3/package.json +++ b/packages/middleware-sdk-s3/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-sqs/package.json b/packages/middleware-sdk-sqs/package.json index ed344b0e6e08..5c889e3597a5 100644 --- a/packages/middleware-sdk-sqs/package.json +++ b/packages/middleware-sdk-sqs/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-sdk-transcribe-streaming/package.json b/packages/middleware-sdk-transcribe-streaming/package.json index 2a47431b553a..fac858e340e4 100644 --- a/packages/middleware-sdk-transcribe-streaming/package.json +++ b/packages/middleware-sdk-transcribe-streaming/package.json @@ -8,6 +8,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "build": "yarn build:es && yarn build:cjs", "prepublishOnly": "yarn build", "pretest": "yarn build", "test": "jest --passWithNoTests" diff --git a/packages/middleware-serde/package.json b/packages/middleware-serde/package.json index 02a0153a8b6b..7aaa3389f389 100644 --- a/packages/middleware-serde/package.json +++ b/packages/middleware-serde/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-signing/package.json b/packages/middleware-signing/package.json index 59027798aa3b..712bc5e5982c 100644 --- a/packages/middleware-signing/package.json +++ b/packages/middleware-signing/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-ssec/package.json b/packages/middleware-ssec/package.json index 732c291a645f..e0475d47c338 100644 --- a/packages/middleware-ssec/package.json +++ b/packages/middleware-ssec/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/middleware-stack/package.json b/packages/middleware-stack/package.json index 7b1129e82502..388e26debe6c 100644 --- a/packages/middleware-stack/package.json +++ b/packages/middleware-stack/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/middleware-user-agent/package.json b/packages/middleware-user-agent/package.json index c3c4504c5197..b4449c63f952 100644 --- a/packages/middleware-user-agent/package.json +++ b/packages/middleware-user-agent/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", diff --git a/packages/node-http-handler/package.json b/packages/node-http-handler/package.json index 79ac0423e79b..804a2ee23e20 100644 --- a/packages/node-http-handler/package.json +++ b/packages/node-http-handler/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --coverage" }, "author": { diff --git a/packages/property-provider/package.json b/packages/property-provider/package.json index 0fc05fbc00af..806ca5c2d3dc 100644 --- a/packages/property-provider/package.json +++ b/packages/property-provider/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/protocol-http/package.json b/packages/protocol-http/package.json index 3974a70fb1f7..f36b7dfe25fe 100644 --- a/packages/protocol-http/package.json +++ b/packages/protocol-http/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/querystring-builder/package.json b/packages/querystring-builder/package.json index 591f74f793e1..d975b037c40a 100644 --- a/packages/querystring-builder/package.json +++ b/packages/querystring-builder/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/querystring-parser/package.json b/packages/querystring-parser/package.json index 7f4a87a4dc0d..3ea8de9b4533 100644 --- a/packages/querystring-parser/package.json +++ b/packages/querystring-parser/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/region-provider/package.json b/packages/region-provider/package.json index 175180f6ce3b..a5ce33417ee4 100644 --- a/packages/region-provider/package.json +++ b/packages/region-provider/package.json @@ -10,6 +10,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/retry-config-provider/package.json b/packages/retry-config-provider/package.json index caa0ba775a44..8c8f828fdff6 100644 --- a/packages/retry-config-provider/package.json +++ b/packages/retry-config-provider/package.json @@ -10,6 +10,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "keywords": [ diff --git a/packages/s3-request-presigner/package.json b/packages/s3-request-presigner/package.json index fb9c8b0f55d7..be88fb4934e5 100644 --- a/packages/s3-request-presigner/package.json +++ b/packages/s3-request-presigner/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/service-error-classification/package.json b/packages/service-error-classification/package.json index 224364a4d77a..708ac2288ae3 100644 --- a/packages/service-error-classification/package.json +++ b/packages/service-error-classification/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/sha256-tree-hash/package.json b/packages/sha256-tree-hash/package.json index 0eb61c38f98e..ce4890b3a576 100644 --- a/packages/sha256-tree-hash/package.json +++ b/packages/sha256-tree-hash/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/shared-ini-file-loader/package.json b/packages/shared-ini-file-loader/package.json index bcfcefa22c3d..9d9497f873ac 100644 --- a/packages/shared-ini-file-loader/package.json +++ b/packages/shared-ini-file-loader/package.json @@ -15,6 +15,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/signature-v4/package.json b/packages/signature-v4/package.json index a3cbfb6b4f8f..d7c3255fe6bf 100644 --- a/packages/signature-v4/package.json +++ b/packages/signature-v4/package.json @@ -9,6 +9,7 @@ "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", "build": "yarn build:es && yarn build:cjs", + "build": "yarn build:es && yarn build:cjs", "prepublishOnly": "yarn build", "pretest": "yarn build", "test": "jest --coverage" diff --git a/packages/smithy-client/package.json b/packages/smithy-client/package.json index e49b33966348..c54282ec36a1 100644 --- a/packages/smithy-client/package.json +++ b/packages/smithy-client/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest --passWithNoTests" }, "main": "./dist/cjs/index.js", diff --git a/packages/types/package.json b/packages/types/package.json index 1edae305dde5..0558d4d78a77 100755 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -13,6 +13,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "exit 0" }, "author": { diff --git a/packages/url-parser-browser/package.json b/packages/url-parser-browser/package.json index 7a3fa7cdb471..83c4e1fff085 100644 --- a/packages/url-parser-browser/package.json +++ b/packages/url-parser-browser/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/url-parser-node/package.json b/packages/url-parser-node/package.json index cf8d72ef74af..93b1e7332415 100644 --- a/packages/url-parser-node/package.json +++ b/packages/url-parser-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-base64-browser/package.json b/packages/util-base64-browser/package.json index 7ebaff80b0e9..6b01ca4c257a 100644 --- a/packages/util-base64-browser/package.json +++ b/packages/util-base64-browser/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/util-base64-node/package.json b/packages/util-base64-node/package.json index f70e15440d20..573797331d5e 100644 --- a/packages/util-base64-node/package.json +++ b/packages/util-base64-node/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/util-body-length-browser/package.json b/packages/util-body-length-browser/package.json index 9c0698ded2c1..e9c5072f0983 100644 --- a/packages/util-body-length-browser/package.json +++ b/packages/util-body-length-browser/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-body-length-node/package.json b/packages/util-body-length-node/package.json index 9a5f1a70c57c..5b7e9af45442 100644 --- a/packages/util-body-length-node/package.json +++ b/packages/util-body-length-node/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "devDependencies": { diff --git a/packages/util-buffer-from/package.json b/packages/util-buffer-from/package.json index 949a6831dd09..a7f928aa43fb 100644 --- a/packages/util-buffer-from/package.json +++ b/packages/util-buffer-from/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/util-create-request/package.json b/packages/util-create-request/package.json index 723b89e51810..ab8aa0136170 100644 --- a/packages/util-create-request/package.json +++ b/packages/util-create-request/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-format-url/package.json b/packages/util-format-url/package.json index e849868afcf9..b1258145cc18 100644 --- a/packages/util-format-url/package.json +++ b/packages/util-format-url/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-hex-encoding/package.json b/packages/util-hex-encoding/package.json index e6b3f1952e45..61ef050cebb2 100644 --- a/packages/util-hex-encoding/package.json +++ b/packages/util-hex-encoding/package.json @@ -7,6 +7,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/util-locate-window/package.json b/packages/util-locate-window/package.json index 2f276a073fb3..73493daaad1b 100644 --- a/packages/util-locate-window/package.json +++ b/packages/util-locate-window/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/util-uri-escape/package.json b/packages/util-uri-escape/package.json index ded426649de1..59ecf061b569 100644 --- a/packages/util-uri-escape/package.json +++ b/packages/util-uri-escape/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-user-agent-browser/package.json b/packages/util-user-agent-browser/package.json index 9b8e1c7ae8f9..232b277bce40 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-user-agent-node/package.json b/packages/util-user-agent-node/package.json index 98e2fe7ec45b..857420661e0f 100644 --- a/packages/util-user-agent-node/package.json +++ b/packages/util-user-agent-node/package.json @@ -6,6 +6,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "main": "./dist/cjs/index.js", diff --git a/packages/util-utf8-browser/package.json b/packages/util-utf8-browser/package.json index 5f70388e4000..ee0cb97428f5 100644 --- a/packages/util-utf8-browser/package.json +++ b/packages/util-utf8-browser/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/util-utf8-node/package.json b/packages/util-utf8-node/package.json index c2538d622ef7..d782746d06bb 100644 --- a/packages/util-utf8-node/package.json +++ b/packages/util-utf8-node/package.json @@ -9,6 +9,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": { diff --git a/packages/xml-builder/package.json b/packages/xml-builder/package.json index 59d2e8901d9d..404985cf04e0 100644 --- a/packages/xml-builder/package.json +++ b/packages/xml-builder/package.json @@ -15,6 +15,7 @@ "pretest": "yarn build:cjs", "build:cjs": "tsc -p tsconfig.cjs.json", "build:es": "tsc -p tsconfig.es.json", + "build": "yarn build:es && yarn build:cjs", "test": "jest" }, "author": {