From a036b48eed42f9aa749b2af3c3b86f1edff85d46 Mon Sep 17 00:00:00 2001 From: Saad <38024451+sdadn@users.noreply.github.com> Date: Mon, 13 May 2024 14:41:17 -0500 Subject: [PATCH] update dependencies --- babel.config.js | 6 +----- package.json | 25 ++++++++++--------------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/babel.config.js b/babel.config.js index d0924203a8..2cc3bfad48 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,14 +3,10 @@ module.exports = (api) => { api.assertVersion('^7.4.4'); const presets = [ - ['@babel/preset-env', { useBuiltIns: 'entry', corejs: { version: 3.6, proposals: true } }], '@babel/preset-react', ]; - const plugins = [ - '@babel/plugin-proposal-object-rest-spread', - '@babel/plugin-transform-object-assign', - ]; + const plugins = []; return { presets, diff --git a/package.json b/package.json index a51a1dd27c..5a817b1c15 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "license": "Apache-2.0", "private": true, "engines": { - "node": "12 || 14", + "node": "14", "npm": "9" }, "browserslist": [ @@ -40,7 +40,7 @@ "@cerner/terra-framework-docs": "1", "@cerner/terra-graphs-docs": "1", "@cerner/terra-toolkit-docs": "2", - "terra-application": "^1.56.0", + "terra-application": "1", "terra-clinical-data-grid": "2", "terra-clinical-detail-view": "3", "terra-clinical-header": "3", @@ -51,34 +51,29 @@ "terra-clinical-result": "1" }, "devDependencies": { - "@babel/cli": "7", - "@babel/core": "7", - "@babel/plugin-proposal-object-rest-spread": "7", - "@babel/plugin-transform-object-assign": "7", - "@babel/preset-env": "7", "@babel/preset-react": "7", "@cerner/browserslist-config-terra": "3", "@cerner/eslint-config-terra": "5", - "@cerner/stylelint-config-terra": "4", + "@cerner/stylelint-config-terra": "5", "@cerner/terra-cli": "1", "@cerner/terra-open-source-scripts": "1", - "@cerner/webpack-config-terra": "2", + "@cerner/webpack-config-terra": "3", "eslint": "7", - "gh-pages": "3", - "stylelint": "13", + "gh-pages": "5", + "stylelint": "15", "webpack": "5", "webpack-cli": "4", - "webpack-dev-server": "3", + "webpack-dev-server": "4", "webpack-merge": "5" }, "scripts": { - "clean": "rm -rf node_modules", - "clean:install": "npm run clean && npm install", + "clean": "echo 'removing ./node_modules' && rm -rf node_modules && echo 'removed ./node_modules'", + "clean:install": "npm run clean && time npm install", "build:production": "webpack --mode=production", "build:development": "webpack", "lint": "npm run lint:js && npm run lint:scss", "lint:js": "eslint --ext .js,.jsx .", - "lint:scss": "stylelint 'src/**/*.scss' --syntax scss", + "lint:scss": "stylelint 'src/**/*.scss'", "start": "webpack serve", "test": "", "deploy": "gh-pages -d build"