⬆️ bump jest + use sucrase/jest

This commit is contained in:
platane
2022-11-03 08:50:04 +01:00
parent 463b90d43c
commit 4a03759871
5 changed files with 989 additions and 1352 deletions

View File

@@ -5,16 +5,26 @@
"private": true,
"repository": "github:platane/snk",
"devDependencies": {
"@types/jest": "27.4.1",
"@sucrase/jest-plugin": "3.0.0",
"@types/jest": "29.2.1",
"@types/node": "16.11.7",
"jest": "27.5.1",
"jest": "29.2.2",
"prettier": "2.6.2",
"ts-jest": "27.1.4",
"sucrase": "3.28.0",
"typescript": "4.6.3"
},
"workspaces": [
"packages/**"
],
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/?(*.)+(spec|test).ts"
],
"transform": {
"\\.(ts|tsx)$": "@sucrase/jest-plugin"
}
},
"scripts": {
"type": "tsc --noEmit",
"lint": "yarn prettier -c '**/*.{ts,js,json,md,yml,yaml}' '!packages/*/dist/**' '!svg-only/dist/**'",