Skip to content

Commit 0624f5b

Browse files
committed
chore: remove jest
1 parent 39ec7da commit 0624f5b

File tree

5 files changed

+40
-1583
lines changed

5 files changed

+40
-1583
lines changed

.github/workflows/build.yml

-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,5 @@ jobs:
3838
version: 7
3939
run_install: true
4040
- run: pnpm run build
41-
- run: pnpm run test
4241
env:
4342
CI: true

jest.config.js

-12
This file was deleted.

package.json

+6-8
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
".": {
1313
"import": "./dist/index.esm.js",
1414
"require": "./dist/index.cjs.js"
15+
},
16+
"./src": {
17+
"import": "./src"
1518
}
1619
},
1720
"files": [
1821
"dist",
22+
"src",
1923
"readme.md",
2024
"tsconfig.json"
2125
],
@@ -52,9 +56,7 @@
5256
"dev": "vite",
5357
"build:vite": "vite build",
5458
"preview": "vite preview --port 2323",
55-
"deploy": "vite build && gh-pages -d example/dist",
56-
"test": "jest --env=jsdom --colors --coverage test",
57-
"test:watch": "jest --env=jsdom --colors --coverage test --watch"
59+
"deploy": "vite build && gh-pages -d example/dist"
5860
},
5961
"peerDependencies": {
6062
"react": "^18.0.0",
@@ -69,15 +71,13 @@
6971
"@rollup/plugin-commonjs": "22.0.0",
7072
"@rollup/plugin-node-resolve": "13.3.0",
7173
"@rollup/plugin-typescript": "8.3.2",
72-
"@types/jest": "27.5.0",
7374
"@types/lodash-es": "4.17.6",
7475
"@types/node": "17.0.31",
7576
"@types/react": "18.0.8",
7677
"@types/react-dom": "18.0.3",
7778
"dts-bundle-generator": "6.9.0",
7879
"gh-pages": "3.2.3",
7980
"husky": "7.0.4",
80-
"jest": "28.0.3",
8181
"lint-staged": "12.4.1",
8282
"postcss": "8.4.13",
8383
"postcss-preset-env": "7.5.0",
@@ -88,10 +88,8 @@
8888
"rollup-plugin-peer-deps-external": "2.2.4",
8989
"rollup-plugin-postcss": "4.0.2",
9090
"rollup-plugin-terser": "7.0.2",
91-
"ts-jest": "27.1.4",
9291
"tslib": "2.4.0",
9392
"typescript": "4.6.4",
94-
"vite": "2.9.7",
95-
"vite-tsconfig-paths": "3.4.1"
93+
"vite": "2.9.7"
9694
}
9795
}

0 commit comments

Comments
 (0)