123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- {
- "name": "insommnia-cognition",
- "private": true,
- "version": "0.0.0",
- "scripts": {
- "clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
- "clean:lib": "rimraf node_modules",
- "clean:dist": "rimraf dist",
- "dev": "vite",
- "serve:staging": "vite --mode staging",
- "build:staging": "vue-tsc --noEmit && vite build --mode staging && esno ./build/script/postBuild.ts",
- "build": "vue-tsc --noEmit && cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts",
- "preview": "npm run build && vite preview",
- "preview:dist": "vite preview",
- "prepare": "husky install",
- "lint:eslint": "vue-tsc --noEmit --skipLibCheck && eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
- "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
- "lint:lint-staged": "lint-staged"
- },
- "dependencies": {
- "@vueuse/core": "^10.9.0",
- "axios": "^1.6.8",
- "crypto-js": "4.2.0",
- "dayjs": "^1.11.9",
- "lodash-es": "^4.17.21",
- "nprogress": "^0.2.0",
- "pinia": "^2.1.7",
- "pinia-plugin-persistedstate": "^3.2.1",
- "qs": "^6.11.2",
- "vant": "^4.8.11",
- "vconsole": "^3.15.1",
- "vue": "^3.4.23",
- "vue-router": "^4.3.2"
- },
- "devDependencies": {
- "@commitlint/cli": "^16.2.3",
- "@commitlint/config-conventional": "^16.2.1",
- "@iconify-json/svg-spinners": "^1.1.2",
- "@types/crypto-js": "^4.1.1",
- "@types/lodash-es": "^4.17.8",
- "@types/nprogress": "^0.2.0",
- "@types/qs": "^6.9.7",
- "@typescript-eslint/eslint-plugin": "^5.18.0",
- "@typescript-eslint/parser": "^5.18.0",
- "@unocss/preset-attributify": "^0.53.4",
- "@unocss/preset-uno": "^0.53.4",
- "@vitejs/plugin-vue": "^4.5.1",
- "autoprefixer": "^10.4.4",
- "chalk": "^5.2.0",
- "cnjm-postcss-px-to-viewport": "^1.0.1",
- "cross-env": "^7.0.3",
- "dotenv": "^16.3.1",
- "eslint": "^8.12.0",
- "eslint-config-prettier": "^8.8.0",
- "eslint-define-config": "^1.23.0",
- "eslint-plugin-prettier": "^4.2.1",
- "eslint-plugin-vue": "^9.15.1",
- "esno": "^0.16.3",
- "fs-extra": "^11.1.1",
- "husky": "^7.0.4",
- "less": "^4.2.0",
- "lint-staged": "^12.3.7",
- "mockjs": "^1.1.0",
- "postcss": "8.4.31",
- "postcss-less": "^6.0.0",
- "prettier": "^2.6.2",
- "rollup": "^3.28.0",
- "typescript": "^4.6.3",
- "unocss": "^0.58.0",
- "unplugin-auto-import": "^0.16.6",
- "unplugin-auto-vconsole": "^0.0.4",
- "unplugin-icons": "^0.16.5",
- "unplugin-vue-components": "^0.25.1",
- "vite": "^5.2.10",
- "vite-plugin-compression": "^0.5.1",
- "vite-plugin-html": "^3.2.2",
- "vite-plugin-mock": "^2.9.6",
- "vue-tsc": "^1.8.8"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/cnjm-cli-template/vue_h5.git"
- },
- "license": "MIT",
- "bugs": {
- "url": "https://github.com/cnjm-cli-template/vue_h5/issues"
- },
- "engines": {
- "node": "^12 || >=14"
- },
- "homepage": "https://github.com/cnjm-cli-template/vue_h5",
- "lint-staged": {
- "*.{js,jsx,ts,tsx}": [
- "eslint --fix",
- "prettier --config .prettierrc.js --write"
- ],
- "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
- "prettier --config .prettierrc.js --write--parser json"
- ],
- "package.json": [
- "prettier --config .prettierrc.js --write"
- ],
- "*.vue": [
- "eslint --fix",
- "prettier --config .prettierrc.js --write"
- ],
- "*.{scss,less,styl,html}": [
- "prettier --config .prettierrc.js --write"
- ],
- "*.md": [
- "prettier --config .prettierrc.js --write"
- ]
- }
- }
|