create-admin-mvp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +175 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +159 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +41 -0
- package/templates/admin-portal/ .stylelintrc.cjs +39 -0
- package/templates/admin-portal/.dockerignore +60 -0
- package/templates/admin-portal/.env +29 -0
- package/templates/admin-portal/.env.development +41 -0
- package/templates/admin-portal/.env.example +4 -0
- package/templates/admin-portal/.env.production +41 -0
- package/templates/admin-portal/.eslintrc.cjs +45 -0
- package/templates/admin-portal/.github/workflows/ci.yml +217 -0
- package/templates/admin-portal/.husky/commit-msg +11 -0
- package/templates/admin-portal/.husky/pre-commit +10 -0
- package/templates/admin-portal/.lintstagedrc.json +13 -0
- package/templates/admin-portal/.prettierrc.cjs +19 -0
- package/templates/admin-portal/.stylelintrc.cjs +35 -0
- package/templates/admin-portal/Dockerfile +35 -0
- package/templates/admin-portal/README.md +196 -0
- package/templates/admin-portal/commitlint.config.cjs +41 -0
- package/templates/admin-portal/docker-compose.yml +35 -0
- package/templates/admin-portal/index.html +13 -0
- package/templates/admin-portal/nginx.conf +45 -0
- package/templates/admin-portal/package-lock.json +10730 -0
- package/templates/admin-portal/package.json +62 -0
- package/templates/admin-portal/playwright-report/index.html +85 -0
- package/templates/admin-portal/playwright.config.ts +73 -0
- package/templates/admin-portal/pnpm-lock.yaml +1620 -0
- package/templates/admin-portal/postcss.config.cjs +56 -0
- package/templates/admin-portal/public/vite.svg +1 -0
- package/templates/admin-portal/src/App.vue +15 -0
- package/templates/admin-portal/src/assets/styles/main.css +36 -0
- package/templates/admin-portal/src/assets/vue.svg +1 -0
- package/templates/admin-portal/src/components/HelloWorld.vue +41 -0
- package/templates/admin-portal/src/layout/index.vue +23 -0
- package/templates/admin-portal/src/main.ts +12 -0
- package/templates/admin-portal/src/mock/auth.ts +26 -0
- package/templates/admin-portal/src/permission.ts +15 -0
- package/templates/admin-portal/src/router/index.ts +21 -0
- package/templates/admin-portal/src/style.css +79 -0
- package/templates/admin-portal/src/views/About.vue +15 -0
- package/templates/admin-portal/src/views/Home.vue +15 -0
- package/templates/admin-portal/src/views/login/index.vue +34 -0
- package/templates/admin-portal/test-results/.last-run.json +23 -0
- package/templates/admin-portal/test-results/results.json +882 -0
- package/templates/admin-portal/tests/e2e/example.spec.ts +52 -0
- package/templates/admin-portal/tests/unit/example.test.ts +49 -0
- package/templates/admin-portal/tsconfig.app.json +18 -0
- package/templates/admin-portal/tsconfig.json +7 -0
- package/templates/admin-portal/tsconfig.node.json +22 -0
- package/templates/admin-portal/vite.config.ts +21 -0
- package/templates/admin-portal/vitest.config.ts +49 -0
- package/templates/admin-portal/vitest.setup.ts +60 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "{{projectName}}",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"description": "{{description}}",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"prepare": "husky install",
|
|
9
|
+
"dev": "vite",
|
|
10
|
+
"build": "vue-tsc -b && vite build",
|
|
11
|
+
"preview": "vite preview",
|
|
12
|
+
"lint": "eslint . --ext .vue,.js,.ts --fix",
|
|
13
|
+
"format": "prettier --write \"src/**/*.{js,ts,vue,css,scss,md,json}\"",
|
|
14
|
+
"lint:style": "stylelint \"**/*.{vue,css,scss}\" --fix",
|
|
15
|
+
"test": "vitest",
|
|
16
|
+
"test:coverage": "vitest --coverage",
|
|
17
|
+
"test:ui": "vitest --ui",
|
|
18
|
+
"test:e2e": "playwright test",
|
|
19
|
+
"test:e2e:ui": "playwright test --ui",
|
|
20
|
+
"test:e2e:debug": "playwright test --debug",
|
|
21
|
+
"audit": "pnpm audit",
|
|
22
|
+
"audit:fix": "pnpm audit --fix"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"axios": "^1.13.2",
|
|
26
|
+
"pinia": "^3.0.4",
|
|
27
|
+
"vue": "^3.5.24",
|
|
28
|
+
"vue-router": "^4.6.4"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@commitlint/cli": "^19.0.0",
|
|
32
|
+
"@commitlint/config-conventional": "^19.0.0",
|
|
33
|
+
"@playwright/test": "^1.40.0",
|
|
34
|
+
"@types/node": "^24.10.1",
|
|
35
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
36
|
+
"@typescript-eslint/parser": "^7.0.0",
|
|
37
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
38
|
+
"@vitest/coverage-istanbul": "^1.0.0",
|
|
39
|
+
"@vue/test-utils": "^2.4.0",
|
|
40
|
+
"@vue/tsconfig": "^0.8.1",
|
|
41
|
+
"autoprefixer": "^10.4.17",
|
|
42
|
+
"eslint": "^8.57.0",
|
|
43
|
+
"eslint-config-prettier": "^9.1.0",
|
|
44
|
+
"eslint-plugin-vue": "^9.22.0",
|
|
45
|
+
"husky": "^9.0.0",
|
|
46
|
+
"jsdom": "^24.0.0",
|
|
47
|
+
"lint-staged": "^15.2.0",
|
|
48
|
+
"postcss": "^8.4.35",
|
|
49
|
+
"postcss-pxtorem": "^6.1.0",
|
|
50
|
+
"prettier": "^3.2.5",
|
|
51
|
+
"rollup-plugin-visualizer": "^5.11.0",
|
|
52
|
+
"stylelint": "^14.16.1",
|
|
53
|
+
"stylelint-config-prettier": "^9.0.5",
|
|
54
|
+
"stylelint-config-recommended-vue": "^1.5.0",
|
|
55
|
+
"stylelint-config-standard": "^29.0.0",
|
|
56
|
+
"typescript": "~5.9.3",
|
|
57
|
+
"vite": "^7.2.4",
|
|
58
|
+
"vite-plugin-mock": "^3.0.2",
|
|
59
|
+
"vitest": "^1.0.0",
|
|
60
|
+
"vue-tsc": "^3.1.4"
|
|
61
|
+
}
|
|
62
|
+
}
|