@gilbarbara/types
Version:
Reusable typescript typings
74 lines (73 loc) • 1.78 kB
JSON
{
"name": "@gilbarbara/types",
"version": "0.2.2",
"description": "Reusable typescript typings",
"author": "Gil Barbara <gilbarbara@gmail.com>",
"keywords": [
"typescript",
"typings"
],
"repository": {
"type": "git",
"url": "https://github.com/gilbarbara/types"
},
"bugs": {
"url": "https://github.com/gilbarbara/types/issues"
},
"homepage": "https://github.com/gilbarbara/types",
"main": "dist/index.js",
"files": [
"dist",
"src"
],
"types": "./dist",
"sideEffects": false,
"license": "MIT",
"dependencies": {
"type-fest": "^4.1.0"
},
"devDependencies": {
"@gilbarbara/eslint-config": "^0.5.1",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^0.1.1",
"@types/jest": "^29.5.3",
"@types/node": "^20.4.5",
"del-cli": "^5.0.0",
"expect-type": "^0.16.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
"repo-tools": "^0.2.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6"
},
"scripts": {
"build": "npm run clear && npm run build:files",
"build:files": "tsc",
"clear": "del dist/*",
"lint": "eslint --ext .ts,.tsx src",
"test": "jest --bail",
"test:watch": "jest --watchAll --verbose",
"typecheck": "tsc --noEmit",
"validate": "npm run lint && npm run typecheck && npm run test && npm run build",
"prepare": "husky install",
"prepublishOnly": "npm run validate"
},
"eslintConfig": {
"extends": [
"@gilbarbara/eslint-config"
],
"rules": {
"jest/expect-expect": [
"warn",
{
"assertFunctionNames": [
"expect",
"expectTypeOf"
]
}
]
}
},
"prettier": "@gilbarbara/prettier-config"
}