diff --git a/packages/clay-alert/package.json b/packages/clay-alert/package.json index d524a99761..4c4e25e161 100644 --- a/packages/clay-alert/package.json +++ b/packages/clay-alert/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-autocomplete/package.json b/packages/clay-autocomplete/package.json index 2b9480cbad..aa02db8c22 100644 --- a/packages/clay-autocomplete/package.json +++ b/packages/clay-autocomplete/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-badge/package.json b/packages/clay-badge/package.json index 41bec8702a..b7f57217ea 100644 --- a/packages/clay-badge/package.json +++ b/packages/clay-badge/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-breadcrumb/package.json b/packages/clay-breadcrumb/package.json index 377c125f68..723b2f80eb 100644 --- a/packages/clay-breadcrumb/package.json +++ b/packages/clay-breadcrumb/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-button/package.json b/packages/clay-button/package.json index 5bdb4c138e..e56b9a6ea5 100644 --- a/packages/clay-button/package.json +++ b/packages/clay-button/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-card/package.json b/packages/clay-card/package.json index 64047e9936..5d993cc371 100644 --- a/packages/clay-card/package.json +++ b/packages/clay-card/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-charts/package.json b/packages/clay-charts/package.json index 016d343853..d4936a885b 100644 --- a/packages/clay-charts/package.json +++ b/packages/clay-charts/package.json @@ -7,7 +7,7 @@ "ts:main": "src/index.tsx", "scripts": { "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "copySvg": "ncp src/svg lib/svg", "prepublishOnly": "yarn sass && yarn build && yarn buildTypes && yarn copySvg", "sass": "sass src/scss/main.scss lib/css/main.css --source-map", diff --git a/packages/clay-color-picker/package.json b/packages/clay-color-picker/package.json index de98117e3a..c468f2561d 100644 --- a/packages/clay-color-picker/package.json +++ b/packages/clay-color-picker/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-core/package.json b/packages/clay-core/package.json index 4356e6db22..5d7435861d 100644 --- a/packages/clay-core/package.json +++ b/packages/clay-core/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-data-provider/package.json b/packages/clay-data-provider/package.json index 4a6424fec5..2bba4bf8f6 100644 --- a/packages/clay-data-provider/package.json +++ b/packages/clay-data-provider/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-date-picker/package.json b/packages/clay-date-picker/package.json index 53c10d405b..412ff0e774 100644 --- a/packages/clay-date-picker/package.json +++ b/packages/clay-date-picker/package.json @@ -11,7 +11,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-drop-down/package.json b/packages/clay-drop-down/package.json index e6ba2f8812..39aba7d16f 100644 --- a/packages/clay-drop-down/package.json +++ b/packages/clay-drop-down/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-empty-state/package.json b/packages/clay-empty-state/package.json index c461445a90..31d638b205 100644 --- a/packages/clay-empty-state/package.json +++ b/packages/clay-empty-state/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-form/package.json b/packages/clay-form/package.json index 6282e3b6aa..df461bb3b2 100644 --- a/packages/clay-form/package.json +++ b/packages/clay-form/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-icon/package.json b/packages/clay-icon/package.json index 074dbda19d..24aa17bcc3 100644 --- a/packages/clay-icon/package.json +++ b/packages/clay-icon/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-label/package.json b/packages/clay-label/package.json index ab3c8e4881..246a28dfe3 100644 --- a/packages/clay-label/package.json +++ b/packages/clay-label/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-layout/package.json b/packages/clay-layout/package.json index 6aa2d99c7d..391a931fb0 100644 --- a/packages/clay-layout/package.json +++ b/packages/clay-layout/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-link/package.json b/packages/clay-link/package.json index 469cd2b375..9a81d7597b 100644 --- a/packages/clay-link/package.json +++ b/packages/clay-link/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-list/package.json b/packages/clay-list/package.json index cd949122fd..c2d621d8ea 100644 --- a/packages/clay-list/package.json +++ b/packages/clay-list/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-loading-indicator/package.json b/packages/clay-loading-indicator/package.json index b0f1d0934b..87ad775f16 100644 --- a/packages/clay-loading-indicator/package.json +++ b/packages/clay-loading-indicator/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-localized-input/package.json b/packages/clay-localized-input/package.json index df17bcff75..62fc0cf5b3 100644 --- a/packages/clay-localized-input/package.json +++ b/packages/clay-localized-input/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-management-toolbar/package.json b/packages/clay-management-toolbar/package.json index 636d79ef59..3851ffb97e 100644 --- a/packages/clay-management-toolbar/package.json +++ b/packages/clay-management-toolbar/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-modal/package.json b/packages/clay-modal/package.json index bc04abec1d..0f4694a526 100644 --- a/packages/clay-modal/package.json +++ b/packages/clay-modal/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-multi-select/package.json b/packages/clay-multi-select/package.json index 0fcd39629f..3b84e6e02d 100644 --- a/packages/clay-multi-select/package.json +++ b/packages/clay-multi-select/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-multi-step-nav/package.json b/packages/clay-multi-step-nav/package.json index ad33d04cd7..5d11883b59 100644 --- a/packages/clay-multi-step-nav/package.json +++ b/packages/clay-multi-step-nav/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-nav/package.json b/packages/clay-nav/package.json index 0994d99e9d..d111330e67 100644 --- a/packages/clay-nav/package.json +++ b/packages/clay-nav/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-navigation-bar/package.json b/packages/clay-navigation-bar/package.json index a3b8c67a63..dd3146db76 100644 --- a/packages/clay-navigation-bar/package.json +++ b/packages/clay-navigation-bar/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-pagination-bar/package.json b/packages/clay-pagination-bar/package.json index 306a23b5aa..c85aa875eb 100644 --- a/packages/clay-pagination-bar/package.json +++ b/packages/clay-pagination-bar/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-pagination/package.json b/packages/clay-pagination/package.json index 1f882d2ebb..b3e56ab1c9 100644 --- a/packages/clay-pagination/package.json +++ b/packages/clay-pagination/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-panel/package.json b/packages/clay-panel/package.json index 2ec375cd33..203474fd8b 100644 --- a/packages/clay-panel/package.json +++ b/packages/clay-panel/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-popover/package.json b/packages/clay-popover/package.json index b33f84578f..89e8ff96bd 100644 --- a/packages/clay-popover/package.json +++ b/packages/clay-popover/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-progress-bar/package.json b/packages/clay-progress-bar/package.json index a279b433bb..237d101a4a 100644 --- a/packages/clay-progress-bar/package.json +++ b/packages/clay-progress-bar/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-provider/package.json b/packages/clay-provider/package.json index 7e6c5941a6..6fce8d3aa9 100644 --- a/packages/clay-provider/package.json +++ b/packages/clay-provider/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-shared/package.json b/packages/clay-shared/package.json index cf2f70c563..d9df878124 100644 --- a/packages/clay-shared/package.json +++ b/packages/clay-shared/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-slider/package.json b/packages/clay-slider/package.json index 3e5282cd4a..b6f82e1249 100644 --- a/packages/clay-slider/package.json +++ b/packages/clay-slider/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-sticker/package.json b/packages/clay-sticker/package.json index 8b0c0c1a60..18a1ee5c83 100644 --- a/packages/clay-sticker/package.json +++ b/packages/clay-sticker/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-table/package.json b/packages/clay-table/package.json index a8e608264c..72f050839a 100644 --- a/packages/clay-table/package.json +++ b/packages/clay-table/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-tabs/package.json b/packages/clay-tabs/package.json index 59db8e98d4..57507d9591 100644 --- a/packages/clay-tabs/package.json +++ b/packages/clay-tabs/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-time-picker/package.json b/packages/clay-time-picker/package.json index 912bd002e3..7536af9f59 100644 --- a/packages/clay-time-picker/package.json +++ b/packages/clay-time-picker/package.json @@ -11,7 +11,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-toolbar/package.json b/packages/clay-toolbar/package.json index da758fea6f..67ed1bb7f3 100644 --- a/packages/clay-toolbar/package.json +++ b/packages/clay-toolbar/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-tooltip/package.json b/packages/clay-tooltip/package.json index c4d9561f9c..23a1d1ff53 100644 --- a/packages/clay-tooltip/package.json +++ b/packages/clay-tooltip/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/clay-upper-toolbar/package.json b/packages/clay-upper-toolbar/package.json index 20aad6ee2c..30a0024673 100644 --- a/packages/clay-upper-toolbar/package.json +++ b/packages/clay-upper-toolbar/package.json @@ -15,7 +15,7 @@ "lib" ], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" }, diff --git a/packages/generator-clay-component/app/templates/_package.json b/packages/generator-clay-component/app/templates/_package.json index 268695161f..dd4ee1b620 100644 --- a/packages/generator-clay-component/app/templates/_package.json +++ b/packages/generator-clay-component/app/templates/_package.json @@ -13,7 +13,7 @@ "ts:main": "src/index.tsx", "files": ["lib", "src"], "scripts": { - "build": "cross-env NODE_ENV=production babel src --root-mode upward --out-dir lib --extensions .ts,.tsx", + "build": "cross-env NODE_ENV=production node ../../scripts/build.js", "buildTypes": "cross-env NODE_ENV=production tsc --project ./tsconfig.declarations.json", "test": "jest --config ../../jest.config.js" },