From 27d999917386708617b2553a15cc763fa7c319f2 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Wed, 23 Oct 2024 12:23:17 -0400 Subject: [PATCH] remove unneeded files/packages export_versions.sh is in the 'setup' folder of e-mission-server and will be downloaded dynamically via bin/setup.sh; does not need to be duplicated here We do not need babel to run the jest tests because Transcrypt outputs jest-compliant JS --- bin/export_versions.sh | 4 ---- package.json | 17 +---------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 bin/export_versions.sh diff --git a/bin/export_versions.sh b/bin/export_versions.sh deleted file mode 100644 index 95d4dda..0000000 --- a/bin/export_versions.sh +++ /dev/null @@ -1,4 +0,0 @@ -# taken from https://github.com/e-mission/e-mission-server/blob/master/setup/export_versions.sh - -export EXP_CONDA_VER=23.5.2 -export EXP_CONDA_VER_SUFFIX=0 diff --git a/package.json b/package.json index 387f553..8c023d8 100644 --- a/package.json +++ b/package.json @@ -5,17 +5,12 @@ "description": "A common library to share code between projects in the e-mission-platform. Written in Python and exposed as both Python and JavaScript.", "main": "./emcommon_js/index.js", "types": "./emcommon_js/dist/index.d.ts", - "scripts": { - "test": "jest" - }, "jest": { "testMatch": [ "**/test_*.js" ], "globals": { "window": {} }, - "transform": { - "^.+\\.jsx?$": "babel-jest" - } + "transform": {} }, "prettier": { "printWidth": 100, @@ -30,18 +25,8 @@ "dependencies": { "color": "^3.1.2" }, - "babel": { - "presets": [ - "@babel/preset-env" - ] - }, "devDependencies": { "@types/jest": "^29.5.12", - "@babel/preset-env": "^7.14.5", - "@babel/preset-react": "^7.14.5", - "@babel/preset-typescript": "^7.14.5", - "@babel/plugin-transform-runtime": "^7.14.5", - "babel-jest": "^27.0.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "mapshaper": "^0.6.99",