@voxpelli/typed-utils
Version:
My personal (type-enabled) utils / helpers
71 lines (70 loc) • 2.55 kB
JSON
{
"name": "@voxpelli/typed-utils",
"version": "5.0.0",
"description": "My personal (type-enabled) utils / helpers",
"homepage": "http://github.com/voxpelli/typed-utils",
"repository": {
"type": "git",
"url": "git://github.com/voxpelli/typed-utils.git"
},
"keywords": [],
"author": "Pelle Wessman <pelle@kodfabrik.se> (http://kodfabrik.se/)",
"license": "MIT",
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24.0.0",
"typescript": ">=5.9"
},
"type": "module",
"exports": "./index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"index.d.ts.map",
"lib/**/*.js",
"lib/**/*.d.ts",
"lib/**/*.d.ts.map"
],
"scripts": {
"build": "run-s build:*",
"build:0": "run-s clean",
"build:1-declaration": "tsc -p declaration.tsconfig.json",
"check": "run-s check:*",
"check:0": "run-s clean",
"check:1": "run-p check:1:*",
"check:1:installed-check": "installed-check --engine-check --version-check -i tstyche -i @voxpelli/tstyche-reporters",
"check:1:knip": "knip",
"check:1:lint": "eslint",
"check:1:tsc": "tsc",
"check:1:type-coverage": "type-coverage --detail --strict --at-least 99 --ignore-files 'test/*' --ignore-files 'typetests/*'",
"check:2-type-tests": "run-s build && tstyche --reporters ./node_modules/@voxpelli/tstyche-reporters/lib/tstyche-mocha-reporter.js,summary && run-s clean",
"clean": "run-p clean:*",
"clean:declarations-lib": "rm -rf $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts')",
"clean:declarations-top": "rm -rf $(find . -maxdepth 1 -type f -name '*.d.ts*' ! -name 'index.d.ts')",
"prepack": "run-s build",
"prepare": "husky",
"test": "run-s check test:*",
"test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'",
"test:tstyche": "run-s build && tstyche --target \"$(jq -r '.engines.typescript' package.json)\" --reporters dot,summary && run-s clean",
"test-ci": "run-s test:mocha"
},
"devDependencies": {
"@types/chai": "^4.3.20",
"@types/mocha": "^10.0.10",
"@voxpelli/eslint-config": "^25.1.0",
"@voxpelli/tsconfig": "^16.2.1",
"@voxpelli/tstyche-reporters": "^1.1.0",
"c8": "^11.0.0",
"chai": "^4.5.0",
"eslint": "^9.39.4",
"husky": "^9.1.7",
"installed-check": "^10.0.1",
"knip": "^6.15.0",
"mocha": "^11.7.5",
"npm-run-all2": "^8.0.4",
"tstyche": "^6.2.0",
"type-coverage": "^2.29.7",
"typescript": "~6.0.3",
"validate-conventional-commit": "^1.0.4"
}
}