add jest
This commit is contained in:
parent
cda9b90f35
commit
12b5ae1953
|
@ -0,0 +1,6 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
['@babel/preset-env', { targets: { node: 'current' } }],
|
||||
'@babel/preset-typescript',
|
||||
],
|
||||
}
|
|
@ -19,13 +19,18 @@
|
|||
"test": "wsrun -e -c -s test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.18.2",
|
||||
"@babel/preset-env": "^7.18.2",
|
||||
"@babel/preset-typescript": "^7.17.12",
|
||||
"@parcel/config-default": "^2.6.0",
|
||||
"@parcel/packager-ts": "2.3.2",
|
||||
"@parcel/transformer-js": "^2.6.0",
|
||||
"@parcel/transformer-react-refresh-wrap": "^2.6.0",
|
||||
"@parcel/transformer-typescript-types": "2.3.2",
|
||||
"@types/jest": "^27.5.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.12.0",
|
||||
"@typescript-eslint/parser": "^5.12.0",
|
||||
"babel-jest": "^28.1.0",
|
||||
"eslint": "^8.9.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-import-resolver-node": "^0.3.6",
|
||||
|
@ -39,6 +44,7 @@
|
|||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||||
"husky": "^7.0.4",
|
||||
"jest": "^28.1.0",
|
||||
"lint-staged": "^12.3.4",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"parcel": "^2.3.2",
|
||||
|
|
Loading…
Reference in New Issue