Skip to content

Commit

Permalink
Update dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Feb 20, 2024
1 parent 9167dc4 commit 86107d6
Show file tree
Hide file tree
Showing 5 changed files with 1,140 additions and 1,040 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
- name: Install dependencies
run: pnpm install --ignore-scripts
- name: Run unit tests
run: pnpm unit
run: pnpm bnt
65 changes: 38 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
"react native"
],
"scripts": {
"unit": "tsm node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
"test": "c8 pnpm unit && eslint . && check-dts && size-limit"
"test:lint": "eslint .",
"test:coverage": "c8 pnpm bnt",
"test:types": "check-dts",
"test:size": "size-limit",
"test": "pnpm run /^test:/"
},
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
Expand All @@ -37,34 +40,36 @@
"react": ">=18.0.0"
},
"devDependencies": {
"@logux/eslint-config": "^50.0.0",
"@size-limit/preset-small-lib": "^8.2.4",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.2.3",
"@types/react": "^18.2.7",
"@types/react-dom": "^18.2.4",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"c8": "^7.13.0",
"@logux/eslint-config": "^52.0.2",
"@size-limit/preset-small-lib": "^11.0.2",
"@testing-library/react": "^14.2.1",
"@types/node": "^20.11.19",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"better-node-test": "^0.5.0",
"c8": "^9.1.0",
"check-dts": "^0.7.2",
"clean-publish": "^4.2.0",
"eslint": "^8.41.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.0",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-perfectionist": "^2.5.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"happy-dom": "^9.20.3",
"happy-dom": "^13.3.8",
"nanodelay": "^2.0.2",
"nanostores": "^0.9.0",
"nanostores": "^0.10.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.2.4",
"tsm": "^2.3.0",
"typescript": "^5.0.4",
"uvu": "^0.5.6"
"size-limit": "^11.0.2",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
},
"prettier": {
"arrowParens": "avoid",
Expand All @@ -76,15 +81,21 @@
},
"c8": {
"exclude": [
"**/*.test.*"
"**/*.test.*",
"test/*"
],
"lines": 100,
"reporter": "lcov",
"check-coverage": true
"check-coverage": true,
"reporter": [
"text",
"lcov"
],
"skip-full": true,
"clean": true
},
"eslintConfig": {
"extends": [
"@logux/eslint-config/esm",
"@logux/eslint-config",
"plugin:react-hooks/recommended"
],
"rules": {
Expand All @@ -101,7 +112,7 @@
"index.js": "{ useStore }",
"nanostores": "{ map, computed }"
},
"limit": "907 B"
"limit": "892 B"
}
]
}
Loading

0 comments on commit 86107d6

Please sign in to comment.