UNPKG

@alwatr/resolve-url

Version:
82 lines (81 loc) 2.24 kB
{ "name": "@alwatr/resolve-url", "version": "5.5.5", "description": "A tiny TypeScript library to resolve URLs.", "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", "keywords": [ "resolve-url", "resolve", "url", "cross-platform", "ECMAScript", "typescript", "javascript", "browser", "esm", "module", "utility", "util", "utils", "nanolib", "alwatr" ], "type": "module", "main": "./dist/main.cjs", "module": "./dist/main.mjs", "types": "./dist/main.d.ts", "exports": { ".": { "types": "./dist/main.d.ts", "import": "./dist/main.mjs", "require": "./dist/main.cjs" } }, "license": "AGPL-3.0-only", "files": [ "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}", "LICENSE", "!demo/**/*" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/Alwatr/nanolib", "directory": "packages/resolve-url" }, "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/resolve-url#readme", "bugs": { "url": "https://github.com/Alwatr/nanolib/issues" }, "prettier": "@alwatr/prettier-config", "scripts": { "b": "yarn run build", "t": "yarn run test", "w": "yarn run watch", "c": "yarn run clean", "cb": "yarn run clean && yarn run build", "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings", "build": "yarn run build:ts && yarn run build:es", "build:es": "nano-build --preset=module", "build:ts": "tsc --build", "test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest", "watch": "yarn run watch:ts & yarn run watch:es", "watch:es": "yarn run build:es --watch", "watch:ts": "yarn run build:ts --watch --preserveWatchOutput", "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { "@alwatr/package-tracer": "^5.5.3" }, "devDependencies": { "@alwatr/nano-build": "^5.5.3", "@alwatr/prettier-config": "^5.0.0", "@alwatr/tsconfig-base": "^5.0.0", "@alwatr/type-helper": "^5.4.1", "jest": "^29.7.0", "typescript": "^5.8.3" }, "gitHead": "6bbab39c3713feb5f7054dcf5d7bea2582362ed8" }