mirror of
https://github.com/sindresorhus/type-fest.git
synced 2025-12-08 19:25:05 +00:00
92 lines
1.8 KiB
JSON
92 lines
1.8 KiB
JSON
{
|
|
"name": "type-fest",
|
|
"version": "4.37.0",
|
|
"description": "A collection of essential TypeScript types",
|
|
"license": "(MIT OR CC0-1.0)",
|
|
"repository": "sindresorhus/type-fest",
|
|
"funding": "https://github.com/sponsors/sindresorhus",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"types": "./index.d.ts",
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"scripts": {
|
|
"test:source-files-extension": "node script/test/source-files-extension.js",
|
|
"test:tsc": "tsc",
|
|
"test:tsd": "tsd",
|
|
"test:xo": "xo",
|
|
"test": "run-p test:*"
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"source",
|
|
"license-mit",
|
|
"license-cc0"
|
|
],
|
|
"keywords": [
|
|
"typescript",
|
|
"ts",
|
|
"types",
|
|
"utility",
|
|
"util",
|
|
"utilities",
|
|
"omit",
|
|
"merge",
|
|
"json",
|
|
"generics"
|
|
],
|
|
"devDependencies": {
|
|
"expect-type": "^1.1.0",
|
|
"npm-run-all2": "^7.0.1",
|
|
"tsd": "^0.31.2",
|
|
"typescript": "~5.7.2",
|
|
"xo": "^0.59.3"
|
|
},
|
|
"xo": {
|
|
"rules": {
|
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/ban-types": "off",
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"import/extensions": "off",
|
|
"@typescript-eslint/no-redeclare": "off",
|
|
"@typescript-eslint/no-confusing-void-expression": "off",
|
|
"@typescript-eslint/no-unsafe-argument": "off",
|
|
"n/file-extension-in-import": "off",
|
|
"object-curly-newline": [
|
|
"error",
|
|
{
|
|
"multiline": true,
|
|
"consistent": true
|
|
}
|
|
],
|
|
"import/consistent-type-specifier-style": [
|
|
"error",
|
|
"prefer-top-level"
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": "**/*.d.ts",
|
|
"rules": {
|
|
"no-restricted-imports": [
|
|
"error",
|
|
"tsd",
|
|
"expect-type"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"tsd": {
|
|
"compilerOptions": {
|
|
"noUnusedLocals": false
|
|
}
|
|
}
|
|
}
|