UNPKG

@maddimathon/utility-typescript

Version:

TypeScript utilities (types, functions, classes) to use in various projects.

158 lines (129 loc) 5.62 kB
{ "name": "@maddimathon/utility-typescript", "version": "2.0.0-beta.5", "author": "Maddi Mathon (www.maddimathon.com)", "description": "TypeScript utilities (types, functions, classes) to use in various projects.", "keywords": [ "javascript-library", "javascript-utilities", "javascript-utility", "npm-package", "npm-package-typescript", "typescript-library", "typescript-utilities", "typescript-utility", "typescript-utility-types" ], "homepage": "https://maddimathon.github.io/utility-typescript", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/maddimathon/utility-typescript.git" }, "config": { "title": "Utility TypeScript", "paths": { "releases": "@releases", "snapshots": ".snapshots" } }, "engines": { "node": ">=22" }, "type": "module", "files": [ "./dist/**/*", "./LICENSE.md", "./package.json", "./README.md", "./tsconfig.json" ], "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./node": { "types": "./dist/node/index.d.ts", "default": "./dist/node/index.js" }, "./tsconfig": "./tsconfig.json", "./tsconfig.json": "./tsconfig.json", "./types": "./dist/types/index.d.ts", "./types/*": [ "./dist/types/*.d.ts", "./dist/types/*" ], "./*": { "types": [ "./dist/*.d.ts", "./dist/*.js", "./dist/*/index.d.ts", "./dist/*/index.js", "./dist/*" ], "default":[ "./dist/*.js", "./dist/*/index.js", "./dist/*" ] } }, "bugs": { "url": "https://github.com/maddimathon/utility-typescript/issues" }, "scripts": { "unlink": "run-s unlink:*", "unlink:tsconfig": "rm -rf node_modules/@maddimathon/tsconfig/dist || echo ''", "unlink:compiler-typedoc": "rm -rf node_modules/@maddimathon/compiler-typedoc/dist || echo ''", "unlink:universal-types": "rm -rf node_modules/@maddimathon/universal-types/dist || echo ''", "link": "run-s link:*", "link:tsconfig": "npm run unlink:tsconfig && mkdir -p node_modules/@maddimathon/tsconfig && cp -R -H -f -p ../npm-base-utilities/packages/tsconfig/dist ../npm-base-utilities/packages/tsconfig/package.json node_modules/@maddimathon/tsconfig", "link:compiler-typedoc": "npm run unlink:compiler-typedoc && mkdir -p node_modules/@maddimathon/compiler-typedoc && cp -R -H -f -p ../npm-base-utilities/packages/@helpers/compiler-typedoc/dist ../npm-base-utilities/packages/@helpers/compiler-typedoc/package.json node_modules/@maddimathon/compiler-typedoc", "link:universal-types": "npm run unlink:universal-types && mkdir -p node_modules/@maddimathon/universal-types && cp -R -H -f -p ../npm-base-utilities/packages/@helpers/universal-types/dist ../npm-base-utilities/packages/@helpers/universal-types/package.json node_modules/@maddimathon/universal-types", "test-vardump": "tsx --tsconfig .scripts/tsconfig.json .scripts/sample/var-inspect.ts", "test-console": "tsx --tsconfig .scripts/tsconfig.json .scripts/sample/node-console.ts", "rm": " rm -r dist docs", "commit": "sh .scripts/commit.sh", "snap": "tsx --tsconfig .scripts/tsconfig.json .scripts/snapshot.ts", "compile": "tsx --tsconfig .scripts/tsconfig.json .scripts/compile.ts", "build": "tsx --tsconfig .scripts/tsconfig.json .scripts/build.ts", "quick-build": "tsx --tsconfig .scripts/tsconfig.json .scripts/build.ts --without minimize,prettify", "doc": "tsx --tsconfig .scripts/tsconfig.json .scripts/doc.ts", "test": "tsx --tsconfig .scripts/tsconfig.json .scripts/test.ts", "prewatch": "npm run --silent build -- --starting --without minimize,prettify,test", "watch": "run-p --silent watch:*", "watch:js": "watch -p 'src/ts/**/*' -c 'npm run --silent quick-build -- --compile-only js --watchedWatcher \"watch:js\" --watchedChange --watchedFilename \"$FILENAME\" --watchedEvent \"$EVENT\"'", "package": "tsx --tsconfig .scripts/tsconfig.json .scripts/package.ts", "dryrun": "tsx --tsconfig .scripts/tsconfig.json .scripts/release.ts --dryrun --without-pkg snapshot", "release": "tsx --tsconfig .scripts/tsconfig.json .scripts/release.ts" }, "dependencies": { "@inquirer/prompts": "^8.5.2" }, "devDependencies": { "@tsconfig/node20": "~20.1.5", "@types/jest": "^30.0.0", "@types/luxon": "^3.7.2", "@types/minimist": "~1.2.5", "@types/node": "~22.15.30", "glob": "^13.0.6", "jest": "^30.4.2", "luxon": "^3.7.2", "minimist": "~1.2.8", "npm-run-all": "~4.1.5", "tsx": "~4.23.0", "typedoc": "~0.28.19", "typedoc-plugin-inline-sources": "~1.3.0", "typedoc-plugin-mdn-links": "~5.1.1", "typescript": "~6.0.3", "watch-cli": "~0.2.3" }, "browserslist": [ "last 3 major versions", "> 0.5%", "not dead" ] }