From e7105d1e9912d7014151e2ecf8df1d6febe7e473 Mon Sep 17 00:00:00 2001 From: sarath Date: Sun, 7 Jul 2024 11:56:38 +0530 Subject: [PATCH] build configs --- .babelrc | 3 +++ .npmignore | 4 ++++ package.json | 10 ++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 .babelrc create mode 100644 .npmignore diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..ed0009a --- /dev/null +++ b/.babelrc @@ -0,0 +1,3 @@ +{ + "presets": ["react"] +} \ No newline at end of file diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..2b2cddf --- /dev/null +++ b/.npmignore @@ -0,0 +1,4 @@ +.babelrc +Example +test +./example \ No newline at end of file diff --git a/package.json b/package.json index 544742c..ca7a270 100644 --- a/package.json +++ b/package.json @@ -21,10 +21,16 @@ "mobx" ], "peerDependencies": { - "react": "^18.2.0" + "react": "^18.2.0", + "react-dom": "^18.2.0" }, "devDependencies": { - "react": "^18.2.0" + "@babel/preset-react": "^7.24.7", + "babel-jest": "^29.7.0", + "jest": "^29.7.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-test-renderer": "^18.3.1" }, "author": "sarath263", "license": "ISC",