-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
51 lines (51 loc) · 1.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"name": "antd-xlsx",
"version": "1.4.2",
"description": "Export an Excel file based on the columns and dataSource parameters of the antd Table component",
"main": "dist/cjs",
"module": "dist/esm",
"types": "dist/index.d.ts",
"scripts": {
"build-modern": "microbundle src/style.ts src/nostyle.ts src/utils/saveAs.ts -o dist/esm/[name].js -f modern --tsconfig tsconfig.build.json ",
"build-cjs": "microbundle src/style.ts src/nostyle.ts src/utils/saveAs.ts -o dist/cjs/[name].js -f cjs --tsconfig tsconfig.build.json ",
"cp-entries": "cpy src/entries/entry-esm.js dist/esm --rename=index.js --flat && cpy src/entries/entry-cjs.js dist/cjs --rename=index.js --flat",
"build:types": "tsc",
"build:js": "npm run build-modern && npm run build-cjs && npm run cp-entries",
"build": "rimraf dist && npm run build:types && npm run build:js",
"watch": "microbundle src/style.ts src/nostyle.ts -o dist/esm -f modern -w",
"dev": "cd example-vite2 && npm run dev",
"gh-pages": "rimraf docs && cpy example-vite2/dist-pages/index.html docs --flat && cpy example-vite2/dist-pages/assets docs/assets --flat"
},
"keywords": [
"antd",
"xlsx",
"xlsx-style",
"excel"
],
"repository": {
"type": "git",
"url": "https://github.com/hellobq/antd-xlsx.git"
},
"author": "hellobq",
"license": "MIT",
"dependencies": {
"xlsx": "0.18.5",
"xlsx-style-vite": "0.0.2"
},
"devDependencies": {
"cpy-cli": "4.1.0",
"microbundle": "0.14.0",
"rimraf": "4.4.1"
},
"files": [
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"sideEffects": false,
"engines": {
"node": ">=14"
}
}