{
    "name": "uri-tag",
    "version": "2.0.0",
    "author": "mkrause",
    "license": "MIT",
    "repository": "https://github.com/mkrause/uri-tag",
    "description": "ES6 template literal tag to encode URI components",
    "keywords": [
        "uri",
        "url",
        "encode",
        "encoding",
        "escape",
        "escaping",
        "tag",
        "template",
        "es2015-tag",
        "es6-tag",
        "es6",
        "tagged"
    ],
    "files": [
        "src/",
        "dist/"
    ],
    "engines": {
        "node": ">= 14.15"
    },
    "type": "module",
    "main": "./dist/node-cjs/uri.cjs",
    "types": "./dist/types/uri.d.cts",
    "sideEffects": false,
    "exports": {
        "./package.json": "./package.json",
        ".": {
            "import": {
                "types": "./dist/types/uri.d.mts",
                "default": "./dist/node-esm/uri.mjs"
            },
            "require": {
                "types": "./dist/types/uri.d.cts",
                "default": "./dist/node-cjs/uri.cjs"
            },
            "default": "./dist/node-esm/uri.mjs"
        }
    },
    "scripts": {
        "_build": "NODE_ENV=production babel src --source-maps=true --delete-dir-on-start",
        "build:cjs": "BABEL_ENV=cjs npm run _build -- --out-dir=dist/node-cjs --out-file-extension=.cjs",
        "build:esm": "BABEL_ENV=esm npm run _build -- --out-dir=dist/node-esm --out-file-extension=.mjs",
        "build:types": "mkdir -p ./dist/types && cp src/uri.d.ts ./dist/types/uri.d.mts && cp src/uri.d.ts ./dist/types/uri.d.cts",
        "build": "npm run build:esm && npm run build:cjs && npm run build:types",
        "test:unit": "NODE_ENV=test BABEL_ENV=cjs mocha --require @babel/register --recursive tests",
        "test:imports": "node tests/import-cjs.cjs && node tests/import-esm.mjs",
        "test:types": "tsc && npm run build:types && tsd --typings=src/uri.d.ts --files=tests/uri.test-d.ts && echo '[tsd] success'",
        "test": "npm run test:unit && npm run test:imports && npm run test:types",
        "prepublishOnly": "npm run build && npm test"
    },
    "devDependencies": {
        "@babel/core": "^7.21.4",
        "@babel/register": "^7.21.0",
        "@babel/cli": "^7.21.0",
        "@babel/preset-env": "^7.21.4",
        "typescript": "^5.0.4",
        "tsd": "^0.28.1",
        "mocha": "^10.2.0",
        "chai": "^4.3.7"
    },
    "dependencies": {}
}
