UNPKG

vite-plugin-banner

Version:

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

67 lines (66 loc) 1.68 kB
{ "name": "vite-plugin-banner", "description": "A banner plugin for Vite. Adds a banner to the top of each generated chunk.", "version": "0.8.0", "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 .", "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": "^0.7.0", "@bassist/node-utils": "^0.4.1", "@bassist/tsconfig": "^0.1.1", "@types/jest": "^28.1.8", "@types/node": "^20.16.3", "eslint": "^8.57.0", "husky": "^9.1.5", "jest": "^28.1.3", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "ts-jest": "^28.0.8", "tsup": "^8.2.4", "typescript": "^5.5.4", "vite": "^5.4.3" }, "lint-staged": { "*.{js,ts}": [ "prettier --write", "eslint --fix" ] } }