83 lines
2.3 KiB
JSON
83 lines
2.3 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",
|
|
"build-uni-app": "vite build --mode uni",
|
|
"build-gp-pages": "vite build --mode gp_pages",
|
|
"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 . --ext .vue,.js,.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",
|
|
"dayjs": "1.11.0",
|
|
"gl-matrix": "3.4.3",
|
|
"jquery": "^3.7.1",
|
|
"mitt": "3.0.0",
|
|
"mobile-select": "1.1.2",
|
|
"mockjs": "^1.1.0",
|
|
"pinia": "^2.1.7",
|
|
"vue": "3.4.21",
|
|
"vue-router": "4.3.0",
|
|
"vue-switches": "2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.2.1",
|
|
"@commitlint/config-conventional": "^19.1.0",
|
|
"@iconify/vue": "^4.1.1",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
"@tsconfig/node20": "^20.1.2",
|
|
"@types/jquery": "3.5.29",
|
|
"@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",
|
|
"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-define-options": "^1.4.1",
|
|
"vite": "^5.1.6",
|
|
"vite-plugin-cdn-import": "0.3.5",
|
|
"vite-plugin-commonjs": "^0.10.1",
|
|
"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"
|
|
}
|
|
}
|
|
}
|