@himail/xlsx 2.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/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@himail/xlsx",
3
+ "version": "2.0.0",
4
+ "description": "",
5
+ "main": "lib/index.js",
6
+ "files": [
7
+ "lib/"
8
+ ],
9
+ "scripts": {
10
+ "clean": "rimraf lib",
11
+ "copyFile2": "cp lib/v2/xm-office-excel.umd.js lib/v2/index.js && cp src/index.css lib/v2/index.css",
12
+ "copyFile3": "cp lib/v3/xm-office-excel.umd.js lib/v3/index.js && cp src/index.css lib/v3/index.css",
13
+ "copyReadme": "cp ../../../help.md README.md || true",
14
+ "copyType": "cp index.d.ts lib/index.d.ts",
15
+ "copyScripts": "mkdir -p lib/script/ && cp ../../script/postinstall.js lib/script/postinstall.js && cp ../../script/switch-cli.js lib/script/switch-cli.js && cp ../../script/utils.js lib/script/utils.js",
16
+ "build:2": "npx vue-demi-switch 2 vue2 && vite build && npm run copyFile2",
17
+ "build:3": "npx vue-demi-switch 3 vue3 && vite build && npm run copyFile3",
18
+ "build": "npm run clean && npm run build:3 && npm run copyScripts && npm run copyType",
19
+ "postinstall": "node lib/script/postinstall.js"
20
+ },
21
+ "peerDependencies": {
22
+ "@vue/composition-api": "^1.7.1",
23
+ "vue": "^2.0.0 || >=3.0.0",
24
+ "vue-demi": "^0.14.6"
25
+ },
26
+ "peerDependenciesMeta": {
27
+ "@vue/composition-api": {
28
+ "optional": true
29
+ }
30
+ },
31
+ "keywords": [
32
+ "vue",
33
+ "docx",
34
+ "pdf",
35
+ "ppt",
36
+ "excel",
37
+ "docx-preview",
38
+ "excel-preview",
39
+ "pdf-preview"
40
+ ],
41
+ "license": "Apache 2.0",
42
+ "dependencies": {
43
+ "vite": "^8.0.3"
44
+ }
45
+ }