78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "douyin-vue",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"start": "vite --host",
|
|
"serve": "vite --host",
|
|
"build": "vite build --mode prod",
|
|
"test-del-json": "node node/remove-dist-json.js",
|
|
"build-uni-app": "vite build --mode uni",
|
|
"build-gp-pages": "vite build --mode gp_pages",
|
|
"build-gitee-pages": "vite build --mode gitee_pages && pnpm run test-del-json",
|
|
"build-only": "vite build",
|
|
"build-check": "run-p type-check \"build-only {@}\" --",
|
|
"type-check": "vue-tsc --build --force",
|
|
"report": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint --fix . --ext .vue,.js,.ts,.tsx,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
|
"format": "prettier --write src/",
|
|
"prepare": "husky",
|
|
"commit": "git-cz"
|
|
},
|
|
"dependencies": {
|
|
"@jambonn/vue-lazyload": "1.0.9",
|
|
"axios": "^1.6.8",
|
|
"axios-mock-adapter": "^1.22.0",
|
|
"core-js": "3.21.1",
|
|
"libarchive-wasm": "^1.1.0",
|
|
"mockjs": "^1.1.0",
|
|
"pinia": "^2.1.7",
|
|
"vue": "3.4.21",
|
|
"vue-router": "4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.2.1",
|
|
"@commitlint/config-conventional": "^19.1.0",
|
|
"@iconify/vue": "^4.1.1",
|
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
"@tsconfig/node20": "^20.1.2",
|
|
"@types/node": "^20.11.28",
|
|
"@vitejs/plugin-vue": "4.0.0",
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"commitizen": "^4.3.0",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-vue": "^9.17.0",
|
|
"git-last-commit": "^1.0.1",
|
|
"husky": "^9.0.11",
|
|
"less": "4.1.3",
|
|
"lint-staged": "^15.2.2",
|
|
"prettier": "^3.2.5",
|
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
"typescript": "5.3.3",
|
|
"unplugin-vue-macros": "^2.9.1",
|
|
"vite": "^5.1.7",
|
|
"vite-plugin-cdn-import": "0.3.5",
|
|
"vue-tsc": "^2.0.6"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,vue,jsx,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{scss,less,styl,html}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|