build-url-ts
Version:
A small library that builds a URL given its components
137 lines (136 loc) • 3.77 kB
JSON
{
"name": "build-url-ts",
"version": "6.3.0",
"description": "A small library that builds a URL given its components",
"keywords": [
"url",
"uri",
"builder",
"build",
"concat",
"concatenate",
"append",
"path",
"hash",
"query",
"string",
"querystring",
"parameters",
"params",
"queryparams",
"typescript",
"esm",
"commonjs",
"bun"
],
"homepage": "https://github.com/meabed/build-url-ts#readme",
"bugs": {
"url": "https://github.com/meabed/build-url-ts/issues",
"email": "mo@meabed.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/meabed/build-url-ts.git"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/meabed"
},
"license": "MIT",
"author": {
"name": "Mohamed Meabed",
"email": "mo@meabed.com",
"url": "https://meabed.com"
},
"maintainers": [
{
"name": "Mohamed Meabed",
"email": "mo@meabed.com",
"url": "https://meabed.com"
}
],
"sideEffects": false,
"type": "commonjs",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"unpkg": "./dist/index.umd.min.js",
"jsdelivr": "./dist/index.umd.min.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist *.tsbuildinfo && rollup -c rollup.config.cjs",
"check": "biome check --write",
"check:exports": "publint --strict && attw --pack .",
"clean": "rm -rf dist coverage *.tsbuildinfo",
"dev": "rollup -c rollup.config.cjs --watch",
"format": "biome format --write",
"lint": "biome check",
"lint:fix": "biome check --write",
"prepare": "if [ -z \"$CI\" ] && [ -e .git ] && [ -x ./node_modules/.bin/husky ]; then ./node_modules/.bin/husky; fi",
"prepublishOnly": "bun run build",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run",
"release:local": "bun run scripts/release-local.mjs",
"test": "bun test",
"test:coverage": "bun test --coverage",
"test:watch": "bun test --watch",
"test-ci": "bun run test",
"typecheck": "tsc --pretty --skipLibCheck --noEmit && tsc --project tsconfig.test.json --pretty --skipLibCheck --noEmit"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"biome check --write --no-errors-on-unmatched",
"biome format --write --no-errors-on-unmatched"
],
"*.{json,md,yml,yaml}": [
"biome format --write --no-errors-on-unmatched"
]
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.3",
"@biomejs/biome": "^2.5.0",
"@rollup/plugin-commonjs": "^29.0.3",
"@rollup/plugin-node-resolve": "^16.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/github": "^12.0.8",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.1",
"@types/bun": "^1.3.14",
"@types/node": "^26.0.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"esbuild": "^0.28.1",
"husky": "9.1.7",
"lint-staged": "17.0.8",
"publint": "^0.3.21",
"rollup": "^4.62.2",
"rollup-plugin-dts": "^6.4.1",
"rollup-plugin-esbuild": "^6.2.1",
"semantic-release": "^25.0.5",
"typescript": "6.0.3"
},
"packageManager": "bun@1.3.14",
"engines": {
"bun": ">= 1.3",
"node": ">= 22.0"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}