Files
2026-02-02 13:38:42 +01:00

71 lines
2.4 KiB
JSON

{
"name": "tiny-pattern-ts",
"private": true,
"version": "0.0.0",
"description": "Pattern matching for TypeScript/ESM environments (F#-style, not regex)",
"keywords": [
"pattern-matching",
"pattern",
"match",
"algebraic-data-types",
"adt",
"typescript"
],
"license": "MIT",
"type": "module",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/tmueller/tiny-pattern-ts.git"
},
"scripts": {
"dev": "vite",
"build": "vite build && tsc --emitDeclarationOnly",
"clean": "rimraf dist",
"clean:build": "rimraf dist",
"test": "npm run check:tsc && npm run test:unit",
"test:unit": "vitest run",
"test:ci": "vitest run --coverage --reporter=dot --reporter=lcov --run",
"check": "npm run check:eslint && npm run check:prettier && npm run check:cspell && npm run check:tsc && npm run check:package && npm run check:outdated",
"check:eslint": "eslint . --ext .ts,.tsx,.js,.jsx",
"check:prettier": "prettier --check .",
"check:cspell": "cspell .",
"check:tsc": "tsc --noEmit",
"check:package": "sort-package-json --check",
"check:outdated": "check-outdated",
"fix": "npm run fix:eslint && npm run fix:prettier && npm run fix:package",
"fix:eslint": "eslint . --ext .ts,.tsx,.js,.jsx --fix",
"fix:prettier": "prettier --write .",
"fix:package": "sort-package-json --write",
"use:git-commit-message": "cp commit-message-template .git/COMMIT_EDITMSG || true"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"changesets": "^1.0.2",
"check-outdated": "^2.13.0",
"cspell": "^8.19.3",
"eslint": "^9.25.1",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",
"lefthook": "^1.11.12",
"prettier": "^3.5.3",
"sort-package-json": "^3.1.0",
"tslib": "^2.8.1",
"type-fest": "^4.40.1",
"typescript": "~5.7.2",
"vite": "^6.3.1",
"vitest": "^2.1.9"
}
}