From 4c1f6cd6aeb180e9a7405d1573f7b0e22117c970 Mon Sep 17 00:00:00 2001 From: Maciej Jastrzebski Date: Fri, 16 Aug 2024 16:50:41 +0200 Subject: [PATCH] chore: package.json cleanup (#1648) --- package.json | 5 ----- scripts/test_react_17 | 12 ------------ 2 files changed, 17 deletions(-) delete mode 100755 scripts/test_react_17 diff --git a/package.json b/package.json index 457d9498a..d3162aadb 100644 --- a/package.json +++ b/package.json @@ -26,18 +26,13 @@ "clean": "del build", "test": "jest", "test:ci": "jest --maxWorkers=2 --collectCoverage=true --coverage-provider=v8", - "test:react-17": "scripts/test_react_17", "typecheck": "tsc", - "flow": "flow", "copy-flowtypes": "cp typings/index.flow.js build", "lint": "eslint src --cache", "validate": "yarn lint && yarn typecheck && yarn test", "build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"", - "build:js:watch": "yarn build:js --watch", "build:ts": "tsc --build tsconfig.release.json", - "build:ts:watch": "yarn build:ts --watch --preserveWatchOutput", "build": "yarn clean && yarn build:js && yarn build:ts && yarn copy-flowtypes", - "prepare": "yarn build", "prepublish": "yarn build", "publish": "release-it" }, diff --git a/scripts/test_react_17 b/scripts/test_react_17 deleted file mode 100755 index cbef0e0ce..000000000 --- a/scripts/test_react_17 +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -cp yarn.lock yarn.lock.backup -cp package.json package.json.backup - -yarn add -D react@17.0.2 react-test-renderer@17.0.2 react-native@0.68.3 --ignore-scripts -yarn test:ci --collectCoverage=false - -mv package.json.backup package.json -mv yarn.lock.backup yarn.lock - -yarn --ignore-scripts