The repository.url shipped github.com/tmueller/... but the real remote is gitea.e1nsnull.de/tmu/..., so the npm page's Repository link 404'd. Add homepage + bugs, fix the URL, and rename the CONTRIBUTING "GitHub" reference to the forge. Delete .npmignore: when a package.json `files` allowlist is present npm never consults .npmignore, so it was dead weight that would only drift. Add "gitea" to the cspell dictionary.
88 lines
3.0 KiB
JSON
88 lines
3.0 KiB
JSON
{
|
|
"name": "tiny-pattern-ts",
|
|
"version": "0.0.0",
|
|
"description": "Pattern matching for TypeScript/ESM environments (F#-style, not regex)",
|
|
"keywords": [
|
|
"adt",
|
|
"algebraic-data-types",
|
|
"match",
|
|
"pattern",
|
|
"pattern-matching",
|
|
"typescript"
|
|
],
|
|
"homepage": "https://gitea.e1nsnull.de/tmu/tiny-pattern-ts#readme",
|
|
"bugs": {
|
|
"url": "https://gitea.e1nsnull.de/tmu/tiny-pattern-ts/issues"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitea.e1nsnull.de/tmu/tiny-pattern-ts.git"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"check": "npm run check:tsc && npm run check:oxlint && npm run check:oxfmt && npm run check:cspell",
|
|
"check:cspell": "cspell lint ${LEFTHOOK_FILES:-.}",
|
|
"check:oxfmt": "oxfmt --check ${LEFTHOOK_FILES:-.}",
|
|
"check:oxlint": "oxlint ${LEFTHOOK_FILES:-src}",
|
|
"check:tsc": "tsc",
|
|
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"",
|
|
"fix": "npm run fix:oxlint && npm run fix:oxfmt",
|
|
"fix:oxfmt": "oxfmt ${LEFTHOOK_FILES:-.}",
|
|
"fix:oxlint": "oxlint --fix src",
|
|
"maintain": "npm run maintain:knip; npm run maintain:outdated",
|
|
"maintain:knip": "knip --include dependencies,exports,files",
|
|
"maintain:outdated": "check-outdated --ignore-pre-releases",
|
|
"test": "npm run check:tsc && node --test --strip-types \"src/**/*.test.ts\"",
|
|
"test:ci": "c8 --reporter=text --reporter=lcov --reporter=html node --test --strip-types \"src/**/*.test.ts\"",
|
|
"test:unit": "node --test --strip-types \"src/**/*.test.ts\"",
|
|
"verify": "npm run check && npm run test:unit",
|
|
"watch": "npm run watch:test",
|
|
"watch:test": "node --test --watch --strip-types \"src/**/*.test.ts\"",
|
|
"publish:attw": "attw . --pack --profile esm-only",
|
|
"publish:publint": "publint",
|
|
"use:git-commit-message": "git config commit.template commit-message-template"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
"@tsconfig/node26": "^26.0.1",
|
|
"@tsconfig/strictest": "^2.0.8",
|
|
"@types/node": "^26.4.1",
|
|
"c8": "^12.0.0",
|
|
"check-outdated": "^3.0.0",
|
|
"cspell": "^10.2.2",
|
|
"expect-type": "1.4.0",
|
|
"knip": "^6.34.0",
|
|
"lefthook": "^2.1.12",
|
|
"oxfmt": "^0.66.0",
|
|
"oxlint": "^1.81.0",
|
|
"oxlint-tsgolint": "^7.0.2001",
|
|
"publint": "^0.3.24",
|
|
"typescript": "^7.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=26"
|
|
},
|
|
"allowScripts": {
|
|
"lefthook@2.1.12": true
|
|
}
|
|
}
|