UNPKG

@fchc8/vite-plugin-multi-page

Version:

A powerful Vite plugin for building multi-page applications with smart file routing and multi-strategy builds

99 lines (98 loc) 3.24 kB
{ "name": "@fchc8/vite-plugin-multi-page", "version": "1.10.2", "description": "A powerful Vite plugin for building multi-page applications with smart file routing and multi-strategy builds", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "bin": { "vite-mp": "dist/cli.js" }, "files": [ "dist", "README.md", "README-EN.md", "LICENSE" ], "keywords": [ "vite", "plugin", "multi-page", "mpa", "vite-plugin", "routing", "file-based", "typescript" ], "author": "jx.zhu@foxmail.com", "license": "MIT", "homepage": "https://github.com/fchc7/vite-plugin-multi-page#readme", "repository": { "type": "git", "url": "git+https://github.com/fchc7/vite-plugin-multi-page.git" }, "bugs": { "url": "https://github.com/fchc7/vite-plugin-multi-page/issues" }, "scripts": { "build": "tsup", "postbuild": "rm -f dist/index.d.mts", "dev": "tsup --watch", "type-check": "tsc --noEmit", "lint": "eslint src --ext .ts --fix", "format": "prettier --write \"src/**/*.{ts,js,json}\"", "format:check": "prettier --check \"src/**/*.{ts,js,json}\"", "test": "echo 'No tests yet'", "test:cli": "node scripts/test-cli.js", "verify:exports": "node scripts/verify-exports.js", "clean": "rm -rf dist", "example:dev": "cd example && pnpm run dev", "example:build": "cd example && pnpm run build", "example:preview": "cd example && pnpm run preview", "pre-release": "bash scripts/pre-release-check.sh", "prepack": "pnpm run clean && pnpm run type-check && pnpm run lint && pnpm run format:check && pnpm run build", "prepublishOnly": "pnpm run prepack", "postpublish": "if [ -n \"$CI\" ]; then echo 'Skipping git push in CI environment'; else git push && git push --tags; fi", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "release:patch": "npm run version:patch && npm publish", "release:minor": "npm run version:minor && npm publish", "release:major": "npm run version:major && npm publish", "release:beta": "npm version prerelease --preid=beta && npm publish --tag beta", "release:alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha", "git:init-flow": "git flow init -d", "git:feature": "bash scripts/git-feature.sh", "git:hotfix": "bash scripts/git-hotfix.sh", "git:release": "bash scripts/git-release.sh" }, "peerDependencies": { "esbuild": ">=0.19.3", "vite": "^4.0.0 || ^5.0.0 || ^6.0.0" }, "dependencies": { "cac": "^6.7.14", "glob": "^10.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "@vitejs/plugin-vue": "^5.2.4", "eslint": "^8.0.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "prettier": "^3.0.0", "tsup": "^8.0.0", "typescript": "^5.0.2", "vite": "^5.4.19", "vue": "^3.5.16" }, "engines": { "node": ">=16" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }