Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ![fffunction](./fffunction.svg)
![typescript](https://img.shields.io/badge/written%20for-typescript-3178c6?style=flat-square) ![biome](https://img.shields.io/badge/checked%20with-biome-60a5fa?style=flat-square) [![codecov](https://img.shields.io/codecov/c/github/adrgautier/fffunction?style=flat-square&token=IPTGBDRRJE)](https://codecov.io/gh/adrgautier/fffunction) [![npm](https://img.shields.io/npm/v/fffunction?style=flat-square)](https://www.npmjs.com/package/fffunction)
![typescript](https://img.shields.io/badge/written%20for-typescript-3178c6?style=flat-square) ![biome](https://img.shields.io/badge/checked%20with-biome-60a5fa?style=flat-square) ![vitest](https://img.shields.io/badge/tested%20with-vitest-729b1b?style=flat-square) [![codecov](https://img.shields.io/codecov/c/github/adrgautier/fffunction?style=flat-square&token=IPTGBDRRJE)](https://codecov.io/gh/adrgautier/fffunction) [![npm](https://img.shields.io/npm/v/fffunction?style=flat-square)](https://www.npmjs.com/package/fffunction)

**fffunction** is a tool which simplifies **polymorphic** functions declaration and adds **type constraints** to the implemention function.

Expand Down
3 changes: 0 additions & 3 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noUselessLoneBlockStatements": "off"
},
"correctness": {
"noUnusedPrivateClassMembers": "off"
}
Expand Down
32 changes: 6 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@
"sideEffects": false,
"devDependencies": {
"@biomejs/biome": "2.1.3",
"@types/jest": "29.5.12",
"jest": "29.4.0",
"@vitest/coverage-v8": "3.2.4",
"rimraf": "6.0.1",
"ts-expect": "1.3.0",
"ts-jest": "29.4.0",
"ts-pattern": "5.8.0",
"typescript": "5.9.2"
"typescript": "5.9.2",
"vite": "7.0.6",
"vitest": "3.2.4"
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"test": "jest --coverage && npm run compile",
"test": "vitest run --coverage --typecheck && npm run compile",
"compile": "tsc -p ./tsconfig.test.json --noEmit",
"format": "biome format --write src tests",
"lint": "biome lint src tests",
Expand All @@ -38,24 +37,5 @@
"function"
],
"author": "Adrien Gautier",
"license": "MIT",
"jest": {
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testRegex": "/tests/.*.test.ts$",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"collectCoverageFrom": [
"src/**/*.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
}
"license": "MIT"
}
Loading