@nichoth/vite-plugin-singlefile
Version:
Vite plugin for inlining all JavaScript and CSS resources
76 lines (75 loc) • 1.88 kB
JSON
{
"name": "@nichoth/vite-plugin-singlefile",
"version": "2.0.5",
"description": "Vite plugin for inlining all JavaScript and CSS resources",
"main": "dist/cjs/index.js",
"type": "module",
"module": "dist/esm/index.js",
"exports": {
".": {
"types": "./dist/esm/declarations/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"typings": "dist/esm/declarations/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">18.0.0"
},
"scripts": {
"dev": "rimraf dist && tsc -w -p tsconfig.json",
"prepare": "npm run build",
"build": "rimraf dist && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node fixup.cjs",
"test": "vitest",
"test:watch": "vitest watch",
"lint": "eslint src/index.ts",
"postversion": "git push --follow-tags && npm publish",
"prepublishOnly": "npm run build"
},
"keywords": [
"vite",
"inline",
"css",
"SFA",
"single-file"
],
"author": "richard@tallent.us",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/richardtallent/vite-plugin-singlefile"
},
"bugs": {
"url": "https://github.com/richardtallent/vite-plugin-singlefile/issues"
},
"homepage": "https://github.com/richardtallent/vite-plugin-singlefile/tree/main/#readme",
"dependencies": {
"micromatch": "^4.0.8"
},
"peerDependencies": {
"rollup": "^4.28.1",
"vite": "^5.4.11 || ^6.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/micromatch": "^4.0.9",
"@types/node": "latest",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"eslint": "^8.57.1",
"rimraf": "^6.0.1",
"typescript": "^5.7.2",
"vitest": "^2.1.6 || ^3.0.0-beta.1 || >=3.0.0"
},
"prettier": {
"useTabs": true,
"semi": false,
"singleQuote": false,
"bracketSpacing": true,
"trailingComma": "es5",
"printWidth": 180
}
}