UNPKG

type-plus

Version:
101 lines 2.99 kB
{ "name": "type-plus", "version": "7.6.2", "description": "Provides additional types for TypeScript.", "keywords": [ "assert", "test", "testing", "type-check", "type", "types", "typescript", "typings", "utils" ], "homepage": "https://github.com/unional/type-plus/tree/main/type-plus#readme", "bugs": { "url": "https://github.com/unional/type-plus/issues" }, "repository": { "type": "git", "url": "https://github.com/unional/type-plus.git", "directory": "type-plus" }, "license": "MIT", "author": { "name": "Homa Wong (unional)", "email": "homawong@gmail.com" }, "sideEffects": false, "type": "module", "exports": { ".": { "import": { "types": "./esm/index.d.ts", "default": "./esm/index.js" }, "require": { "types": "./cjs/index.d.ts", "default": "./cjs/index.js" }, "default": "./esm/index.js" }, "./package.json": "./package.json" }, "main": "./cjs/index.js", "module": "./esm/index.js", "types": "./cjs/index.d.ts", "files": [ "cjs", "esm", "ts", "!ts/types", "!ts/type-checker", "!**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*" ], "dependencies": { "tersify": "^3.11.1", "unpartial": "^1.0.4" }, "devDependencies": { "@jest/globals": "^29.5.0", "@repobuddy/jest": "^3.4.0", "@repobuddy/typescript": "^1.2.0", "@size-limit/esbuild-why": "^8.2.4", "@size-limit/preset-small-lib": "^8.2.4", "@types/node": "^18.19.22", "@unional/fixture": "^3.0.0", "assertron": "^11.0.1", "cross-env": "^7.0.3", "depcheck": "^1.4.3", "jest": "^29.5.0", "jest-watch-suspend": "^1.1.2", "jest-watch-toggle-config-2": "^2.1.0", "jest-watch-typeahead": "^2.2.2", "npm-run-all": "^4.1.5", "repobuddy": "^1.0.2", "rimraf": "^5.0.0", "satisfier": "^5.2.2", "size-limit": "^8.2.4", "ts-jest": "^29.1.0", "tslib": "^2.4.0" }, "scripts": { "build": "run-p build:cjs build:esm build:tslib", "build:cjs": "buddy ts build cjs", "build:esm": "tsc -p tsconfig.esm.json", "build:tslib": "buddy ts build tslib", "clean": "rimraf cjs coverage esm lib libm tslib --glob *.tsbuildinfo", "coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --coverage", "depcheck": "depcheck", "lint": "eslint --ext=ts,js .", "nuke": "pnpm clean && rimraf node_modules", "size": "size-limit", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest", "test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch", "verify": "npm-run-all clean -p build depcheck lint coverage -p size", "watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch", "w": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch" } }