@shlinklab/platform-home 0.1.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/package.json ADDED
@@ -0,0 +1,110 @@
1
+ {
2
+ "name": "@shlinklab/platform-home",
3
+ "version": "0.1.0",
4
+ "description": "全要素检验结果互认质量管理平台 Vue 2 首页组件",
5
+ "type": "module",
6
+ "main": "./dist/platform-home.umd.cjs",
7
+ "module": "./dist/platform-home.es.js",
8
+ "style": "./dist/platform-home.css",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/platform-home.es.js",
12
+ "require": "./dist/platform-home.umd.cjs"
13
+ },
14
+ "./style.css": "./dist/platform-home.css"
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md"
19
+ ],
20
+ "sideEffects": [
21
+ "**/*.css"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
26
+ },
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "build": "npm run build:lib",
30
+ "build:lib": "vite build --config vite.config.lib.js",
31
+ "build:demo": "vite build --outDir dist-demo",
32
+ "demo:fc:dev": "npm run build && npm install --prefix examples/fc-demo && npm run dev --prefix examples/fc-demo",
33
+ "demo:fc:build": "bash scripts/build-fc-demo.sh",
34
+ "deploy:fc": "bash scripts/deploy-fc.sh",
35
+ "preview": "vite preview",
36
+ "test:e2e": "playwright test",
37
+ "test:e2e:update": "playwright test --update-snapshots",
38
+ "test:package": "node scripts/verify-package.mjs && npm pack --dry-run --json",
39
+ "check": "npm run build && npm run build:demo && npm run test:package && npm run test:e2e",
40
+ "prepublishOnly": "npm run check"
41
+ },
42
+ "peerDependencies": {
43
+ "element-ui": "^2.15.14",
44
+ "vue": "^2.6.14 || ^2.7.0"
45
+ },
46
+ "peerDependenciesMeta": {
47
+ "element-ui": {
48
+ "optional": true
49
+ }
50
+ },
51
+ "devDependencies": {
52
+ "@playwright/test": "1.62.1",
53
+ "@vitejs/plugin-vue2": "2.3.4",
54
+ "element-ui": "2.15.14",
55
+ "sass": "1.103.1",
56
+ "sharp": "^0.34.4",
57
+ "vite": "7.3.6",
58
+ "vue": "2.7.16"
59
+ },
60
+ "packageManager": "pnpm@8.15.9+sha512.499434c9d8fdd1a2794ebf4552b3b25c0a633abcee5bb15e7b5de90f32f47b513aca98cd5cfd001c31f0db454bc3804edccd578501e4ca293a6816166bbd9f81",
61
+ "directories": {
62
+ "doc": "docs",
63
+ "test": "tests"
64
+ },
65
+ "dependencies": {
66
+ "async-validator": "^1.8.5",
67
+ "babel-helper-vue-jsx-merge-props": "^2.0.3",
68
+ "babel-runtime": "^6.26.0",
69
+ "chokidar": "^5.0.0",
70
+ "core-js": "^2.6.12",
71
+ "csstype": "^3.2.3",
72
+ "deepmerge": "^1.5.2",
73
+ "detect-libc": "^2.1.2",
74
+ "esbuild": "^0.28.2",
75
+ "fdir": "^6.5.0",
76
+ "fsevents": "^2.3.2",
77
+ "immutable": "^5.1.9",
78
+ "is-extglob": "^2.1.1",
79
+ "is-glob": "^4.0.3",
80
+ "nanoid": "^3.3.18",
81
+ "node-addon-api": "^7.1.1",
82
+ "normalize-wheel": "^1.0.1",
83
+ "picocolors": "^1.1.1",
84
+ "picomatch": "^4.0.7",
85
+ "playwright": "^1.62.1",
86
+ "playwright-core": "^1.62.1",
87
+ "postcss": "^8.5.26",
88
+ "prettier": "^2.8.8",
89
+ "readdirp": "^5.1.1",
90
+ "regenerator-runtime": "^0.11.1",
91
+ "resize-observer-polyfill": "^1.5.1",
92
+ "rollup": "^4.63.0",
93
+ "semver": "^7.8.5",
94
+ "source-map": "^0.6.1",
95
+ "source-map-js": "^1.2.1",
96
+ "throttle-debounce": "^1.1.0",
97
+ "tinyglobby": "^0.2.17"
98
+ },
99
+ "repository": {
100
+ "type": "git",
101
+ "url": "git+https://github.com/sh-link-lab/platform-web.git"
102
+ },
103
+ "keywords": [],
104
+ "author": "",
105
+ "license": "ISC",
106
+ "bugs": {
107
+ "url": "https://github.com/sh-link-lab/platform-web/issues"
108
+ },
109
+ "homepage": "https://github.com/sh-link-lab/platform-web#readme"
110
+ }