UNPKG

@httpx/assert

Version:
110 lines (109 loc) 3.64 kB
{ "name": "@httpx/assert", "description": "Assertions and typeguards", "version": "0.16.2", "license": "MIT", "author": { "name": "Vanvelthem Sébastien", "url": "https://github.com/belgattitude" }, "homepage": "https://belgattitude.github.io/httpx/assert", "repository": { "type": "git", "url": "git+https://github.com/belgattitude/httpx.git", "directory": "packages/assert" }, "keywords": [ "assert", "typeguard", "assertions", "typeguards" ], "sideEffects": false, "type": "module", "main": "./dist/index.cjs", "types": "./dist/index.d.cts", "module?": "to keep webpack4 support", "module": "./dist/index.mjs", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./package.json": "./package.json" }, "files": [ "dist" ], "scripts": { "?build-release": "When https://github.com/atlassian/changesets/issues/432 has a solution we can remove this trick", "build": "run clean && yarn run tsup", "build-release": "run build", "docgen": "run-s docgen-typedoc", "docgen-typedoc": "rimraf ./docs/api && typedoc --plugin typedoc-plugin-markdown --out ./docs/api", "check-dist": "run-s check-dist-esm check-dist-cjs", "check-dist-cjs": "es-check --not './dist/*.map.js' -v es2023 './dist/**/*.cjs'", "check-dist-esm": "es-check --not './dist/*.map.js' -v es2023 --module './dist/**/*.mjs'", "check-pub": "attw --pack && publint", "check-size": "size-limit", "clean": "rimraf ./dist ./build ./coverage ./_release ./.tsup", "dev": "tsup --watch", "fix-staged": "lint-staged --allow-empty", "lint": "eslint . --ext .ts,.tsx,.js,.jsx,.mjs,.cjs,.mts,.cts --cache --cache-location ../../.cache/eslint/assert.eslintcache", "bench": "vitest bench --run", "bench-watch": "vitest bench", "test": "vitest run", "test-unit": "vitest run", "test-unit-coverage": "vitest run --coverage", "test-unit-edge": "vitest run --environment edge-runtime", "test-unit-browser": "vitest run --browser", "test-unit-cloudflare": "vitest run --config ./vitest.cloudflare.config.ts", "test-unit-watch": "vitest --ui --api 4110", "typecheck": "tsc --project tsconfig.json --noEmit", "typecheck-build": "tsc --project tsconfig.build.json --noEmit", "ci-coverage-upload": "../../.github/scripts/download/codecov -F httpx-assert-unit --dir ./coverage" }, "devDependencies": { "@arethetypeswrong/cli": "0.18.2", "@belgattitude/eslint-config-bases": "7.6.0", "@httpx/devtools-vitest": "workspace:^", "@sinclair/typebox": "0.34.38", "@sindresorhus/is": "7.0.2", "@size-limit/file": "11.2.0", "@size-limit/webpack": "11.2.0", "@types/lodash-es": "4.17.12", "browserslist": "4.25.2", "browserslist-to-esbuild": "2.1.1", "cross-env": "10.0.0", "es-check": "9.3.1", "esbuild": "0.25.9", "esbuild-plugin-file-path-extensions": "2.1.4", "eslint": "8.57.1", "is-plain-obj": "4.1.0", "lodash-es": "4.17.21", "npm-run-all2": "8.0.4", "prettier": "3.6.2", "publint": "0.3.12", "rimraf": "6.0.1", "size-limit": "11.2.0", "tinybench": "4.1.0", "tsup": "8.5.0", "type-fest": "4.41.0", "typedoc": "0.28.10", "typedoc-plugin-markdown": "4.8.1", "typescript": "5.9.2", "valibot": "1.1.0", "vitest": "3.2.4", "webpack": "5.101.1", "zod": "4.0.17" }, "engines": { "node": ">=20" } }