UNPKG

vite-plugin-banner

Version:

A banner plugin for Vite. Adds a banner to the top of each generated chunk.

68 lines 1.78 kB
{ "name": "vite-plugin-banner", "description": "A banner plugin for Vite. Adds a banner to the top of each generated chunk.", "version": "0.8.1", "author": "chengpeiquan <chengpeiquan@chengpeiquan.com>", "type": "module", "license": "MIT", "homepage": "https://github.com/chengpeiquan/vite-plugin-banner", "files": [ "dist" ], "main": "./dist/index.min.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "tsup", "test": "jest --no-cache --detectOpenHandles", "lint": "eslint .", "lint:inspector": "npx @eslint/config-inspector", "type-check": "tsc --noEmit", "format": "prettier --write .", "backup": "git add . && git commit -m \"chore: backup\" && git push", "up": "npx taze minor -r -f -w -i", "prepare": "husky" }, "repository": { "type": "git", "url": "https://github.com/chengpeiquan/vite-plugin-banner" }, "keywords": [ "vite-plugin", "vite plugin", "vite banner" ], "devDependencies": { "@bassist/commit": "^0.1.1", "@bassist/eslint-config": "^0.1.2", "@bassist/node-utils": "^0.4.1", "@bassist/tsconfig": "^0.1.1", "@types/jest": "^29.5.14", "@types/node": "^20.16.3", "eslint": "^9.22.0", "husky": "^9.1.5", "jest": "^29.7.0", "lint-staged": "^15.2.10", "prettier": "^3.5.3", "ts-jest": "^29.2.5", "tsup": "^8.2.4", "typescript": "^5.7.3", "vite": "^6.0.11" }, "lint-staged": { "*.{js,ts}": [ "prettier --write", "eslint --fix" ] } }