Skip to content

Commit

Permalink
chore: remove jest
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed May 3, 2022
1 parent 39ec7da commit 0624f5b
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1,583 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,5 @@ jobs:
version: 7
run_install: true
- run: pnpm run build
- run: pnpm run test
env:
CI: true
12 changes: 0 additions & 12 deletions jest.config.js

This file was deleted.

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
},
"./src": {
"import": "./src"
}
},
"files": [
"dist",
"src",
"readme.md",
"tsconfig.json"
],
Expand Down Expand Up @@ -52,9 +56,7 @@
"dev": "vite",
"build:vite": "vite build",
"preview": "vite preview --port 2323",
"deploy": "vite build && gh-pages -d example/dist",
"test": "jest --env=jsdom --colors --coverage test",
"test:watch": "jest --env=jsdom --colors --coverage test --watch"
"deploy": "vite build && gh-pages -d example/dist"
},
"peerDependencies": {
"react": "^18.0.0",
Expand All @@ -69,15 +71,13 @@
"@rollup/plugin-commonjs": "22.0.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-typescript": "8.3.2",
"@types/jest": "27.5.0",
"@types/lodash-es": "4.17.6",
"@types/node": "17.0.31",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.3",
"dts-bundle-generator": "6.9.0",
"gh-pages": "3.2.3",
"husky": "7.0.4",
"jest": "28.0.3",
"lint-staged": "12.4.1",
"postcss": "8.4.13",
"postcss-preset-env": "7.5.0",
Expand All @@ -88,10 +88,8 @@
"rollup-plugin-peer-deps-external": "2.2.4",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-terser": "7.0.2",
"ts-jest": "27.1.4",
"tslib": "2.4.0",
"typescript": "4.6.4",
"vite": "2.9.7",
"vite-tsconfig-paths": "3.4.1"
"vite": "2.9.7"
}
}
Loading

0 comments on commit 0624f5b

Please sign in to comment.