@altano/html-cdnify
Version:
Transform the relative URLs in your HTML markup (e.g. scripts, stylesheets, images) to use your CDN URL.
78 lines • 2.27 kB
JSON
{
"name": "@altano/html-cdnify",
"version": "4.0.0",
"description": "Transform the relative URLs in your HTML markup (e.g. scripts, stylesheets, images) to use your CDN URL.",
"keywords": [
"cdn",
"cdnification",
"cdnify",
"html"
],
"homepage": "https://github.com/altano/npm-packages/tree/main/packages/html-cdnify",
"repository": {
"type": "git",
"url": "https://github.com/altano/npm-packages",
"directory": "packages/html-cdnify"
},
"license": "ISC",
"author": {
"name": "Alan Norbauer",
"email": "altano@gmail.com",
"url": "https://alan.norbauer.com"
},
"sideEffects": false,
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"assets/logo.png",
"dist/**/*.js",
"dist/**/*.d.ts"
],
"dependencies": {
"@gofunky/trumpet": "^3.0.3",
"lodash": "^4.17.21",
"stream-to-promise": "^3.0.0",
"streamifier": "^0.1.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@types/lodash": "^4.14.202",
"@types/node": "^22.13.10",
"@types/stream-to-promise": "^2.2.4",
"@types/streamifier": "^0.1.2",
"@vitest/coverage-v8": "^3.1.4",
"depcheck": "^1.4.7",
"eslint": "^9.23.0",
"prettier": "^3.5.3",
"tsdown": "^0.12.3",
"typescript": "^5.8.2",
"vite": "^6.2.6",
"vitest": "^3.1.4",
"@altano/build-config": "0.0.1",
"@altano/testing": "0.0.1",
"@altano/tsconfig": "0.0.1"
},
"engines": {
"node": ">=5.10.1"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsdown --config ../build-config/tsdown.config.node.ts",
"check:exports": "attw --pack . --profile esm-only --quiet",
"check:types:src": "tsc --noEmit",
"check:types:test": "tsc --noEmit --project ./tests/tsconfig.json",
"check:unused-dependencies": "depcheck",
"clean": "rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist",
"dev": "pnpm run build --watch",
"format": "prettier --check src",
"format:fix": "prettier --write src",
"lint": "eslint",
"lint:fix": "TIMING=1 pnpm lint --fix",
"lint:timing": "TIMING=1 pnpm lint",
"test:unit": "vitest --run",
"test:unit:watch": "vitest"
}
}