- 新增 json2excel.js 工具脚本,用于将 JSON 数据转换为 Excel 文件 - 在 package.json 中添加 xlsx 依赖 - 使用 SpecialRingConfig.json 作为示例进行转换并生成 SpecialRingConfig.xlsx 文件
11 lines
171 B
JSON
11 lines
171 B
JSON
{
|
|
"dependencies": {
|
|
"jszip": "^3.10.1",
|
|
"xlsx": "^0.18.5"
|
|
},
|
|
"scripts": {
|
|
"build": "node build.js",
|
|
"deploy": "npm run build &&node deploy.js"
|
|
}
|
|
}
|