UNPKG

typedash

Version:

modern, type-safe collection of utility functions

117 lines (116 loc) 3.52 kB
{ "name": "typedash", "version": "3.2.5", "description": "modern, type-safe collection of utility functions", "keywords": [ "typescript", "lodash", "utility", "utilities", "type-safe", "util", "stdlib" ], "repository": { "type": "git", "url": "https://github.com/bengry/typedash" }, "license": "MIT", "author": "Ben Grynhaus <me@bengr.dev>", "sideEffects": false, "type": "module", "exports": { ".": { "require": "./dist/index.cjs", "import": "./dist/index.js", "types": "./dist/index.d.ts" }, "./*": { "require": "./dist/*/index.cjs", "import": "./dist/*/index.js", "types": "./dist/*/index.d.ts" } }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsup", "commit": "cz", "dev": "concurrently \"yarn build --watch\" \"yarn test:watch\"", "lint": "concurrently \"yarn lint:eslint\" \"yarn lint:format\" \"yarn lint:type-check\" \"yarn lint:dependencies:dedup:check\"", "lint:dependencies:dedup:check": "yarn dedupe --check", "lint:dependencies:dedup:fix": "yarn dedupe && yarn", "lint:eslint": "eslint --max-warnings 0 --ext .js,.mjs,.ts,.mts --cache --cache-strategy content", "lint:eslint:fix": "yarn lint:eslint --fix", "lint:fix": "yarn lint --fix && prettier --write .", "lint:format": "prettier --check .", "lint:format:fix": "prettier --write .", "lint:type-check": "tsc --noEmit", "prepare": "husky", "release": "yarn build && yarn release-it", "test": "vitest run --passWithNoTests", "test:ci": "yarn test", "test:coverage": "yarn test --coverage", "test:ui": "yarn test:watch --ui", "test:watch": "vitest", "util:function-count": "exa -1 | grep -v '^_' | wc -l" }, "husky": { "hooks": { "prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true" } }, "config": { "commitizen": { "path": "./node_modules/@ryansonshine/cz-conventional-changelog" } }, "dependencies": { "type-fest": "^4.18.3" }, "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", "@ryansonshine/commitizen": "^4.2.8", "@ryansonshine/cz-conventional-changelog": "^3.3.4", "@types/eslint": "^8.56.10", "@types/lint-staged": "^13.3.0", "@types/node": "^20.13.0", "@types/react": "^18.3.3", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "@vitest/coverage-v8": "^1.6.0", "@vitest/ui": "^1.6.0", "concurrently": "^8.2.2", "eslint": "^8.57.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsdoc": "^48.2.7", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-no-only-tests": "^3.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-react": "^7.34.2", "eslint-plugin-simple-import-sort": "^12.1.0", "eslint-plugin-unicorn": "^53.0.0", "husky": "^9.0.11", "lint-staged": "^15.2.5", "prettier": "^3.3.0", "prettier-plugin-packagejson": "^2.5.0", "react": "^18.3.1", "release-it": "^17.3.0", "tsup": "^8.0.2", "type-fest": "^4.18.3", "typescript": "^5.4.5", "vitest": "^1.6.0" }, "packageManager": "yarn@4.1.1", "engines": { "node": ">=14.0.0" } }