UNPKG

vite-plugin-mpa

Version:
84 lines (83 loc) 2.09 kB
{ "name": "vite-plugin-mpa", "version": "1.2.0", "description": "MPA for vite", "module": "dist/index.mjs", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "author": "indexxuan@gmail.com", "scripts": { "commit": "git cz", "build": "tsup src/index.ts --format esm,cjs --dts", "lint": "prettier --write --parser typescript \"src/**/*.ts\"", "test:vue3": "cd examples/vue3-mpa-app && npm i && yarn build", "test:react": "cd examples/react-mpa-app && npm i && yarn build", "test": "npm run test:vue3 & npm run test:react", "prepublishOnly": "npm run build" }, "license": "MIT", "homepage": "https://github.com/IndexXuan/vite-plugin-mpa", "repository": { "type": "git", "url": "git@github.com:IndexXuan/vite-plugin-mpa.git" }, "keywords": [ "vite-plugin", "mpa", "MPA", "multi-page" ], "dependencies": { "connect-history-api-fallback": "1.6.0", "shelljs": "0.8.5", "yargs": "16.2.0" }, "devDependencies": { "@types/connect-history-api-fallback": "1.3.3", "@types/node": "14.14.25", "@types/shelljs": "0.8.8", "@types/yargs": "16.0.0", "lint-staged": "10.5.4", "prettier": "2.2.1", "tsup": "3.12.1", "typescript": "4.1.3", "vite": "2.0.1", "@commitlint/cli": "7.2.0", "@commitlint/config-conventional": "7.1.2", "commitizen": "2.10.1", "cz-customizable": "5.2.0", "yorkie": "2.0.0" }, "prettier": { "printWidth": 100, "tabWidth": 2, "useTabs": false, "semi": false, "singleQuote": true, "jsxSingleQuote": false, "trailingComma": "all", "bracketSpacing": true, "jsxBracketSameLine": false, "arrowParens": "avoid" }, "config": { "commitizen": { "path": "./node_modules/cz-customizable" }, "cz-customizable": { "config": ".cz-configrc.js" } }, "gitHooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -e $GIT_PARAMS" }, "lint-staged": { "**/**.{ts,js,json}": [ "prettier --write" ] } }