vite-plugin-inline-source
Version:
A vite plugin for inlining files into HTML
79 lines • 2.02 kB
JSON
{
"name": "vite-plugin-inline-source",
"version": "4.0.0",
"description": "A vite plugin for inlining files into HTML",
"files": [
"dist"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"packageManager": "pnpm@10.12.1+sha512.f0dda8580f0ee9481c5c79a1d927b9164f2c478e90992ad268bbb2465a736984391d6333d2c327913578b2804af33474ca554ba29c04a8b13060a717675ae3ac",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"type": "module",
"keywords": [
"vite",
"plugin",
"markup",
"inline",
"css",
"svg"
],
"repository": {
"type": "git",
"url": "git+https://github.com/bienzaaron/vite-plugin-inline-source.git"
},
"bugs": {
"url": "https://github.com/bienzaaron/vite-plugin-inline-source/issues"
},
"homepage": "https://github.com/bienzaaron/vite-plugin-inline-source#readme",
"author": "Aaron Bienz <bienzaaronj@gmail.com>",
"license": "MIT",
"scripts": {
"pipeline": "pnpm lint && pnpm test && pnpm typecheck && pnpm build && pnpm lint:publish",
"typecheck": "tsc -p tsconfig.json",
"build": "tsup",
"lint": "biome check",
"lint:fix": "biome check --write --no-errors-on-unmatched",
"lint:publish": "publint",
"test": "vitest run --coverage",
"test:watch": "vitest",
"prepare": "husky"
},
"dependencies": {
"csso": "^5.0.5",
"esbuild": "^0.25.5",
"sass": "^1.89.2",
"svgo": "^4.0.0",
"terser": "^5.43.1",
"tslib": "^2.8.1",
"zod": "^3.25.67"
},
"devDependencies": {
"@biomejs/biome": "^2.0.5",
"@tsconfig/node20": "^20.1.6",
"@types/csso": "^5.0.4",
"@types/node": "^20.19.1",
"@vitest/coverage-v8": "^3.2.4",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.6.0",
"publint": "^0.3.12",
"rollup": "^4.44.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vitest": "^3.2.4"
},
"peerDependencies": {
"vite": "5.x || 6.x || 7.x"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,json,html}": "pnpm lint:fix --staged"
}
}