# scf_platform **Repository Path**: feng_stack/scf_platform ## Basic Information - **Project Name**: scf_platform - **Description**: 供应链 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2020-01-02 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 开发步骤 ## 准备 ### 环境 [Node.js安装](https://feidao-edu.gitee.io/docs/taoqf/2018022301.html) ### 项目 #### 下载依赖包 ```sh cnpm i ``` ## 页面开发 运行命令 ```sh cnpm test ``` ## 服务依赖 如xxx是生成验证码原子操作依赖的,需要添加到项目中,方法为: 1. 安装依赖 ```sh cnpm i xxx -D ``` 2. 项目依赖package-service.json添加 ```json "dependencies": { "xxx": "*" } ``` ## 项目发布 一键发布 ```sh ./publish.sh ``` ## 第三方依赖 ### 导出pdf - 名称 - `jsreport-phantom-pdf` - `jsreport-core` - `inline-source` ```安装 在package-service.json里的dependencies里添加` "jsreport-phantom-pdf": "latest", "inline-source": "latest", "jsreport-core": "latest" ` 在package.json里的dependencies里添加` "jsreport-phantom-pdf": "latest", "inline-source": "latest", "jsreport-core": "latest" ` ``` ### 导出xlsx - 名称 - `jsreport-html-to-xlsx` - `jsreport-xlsx` - `inline-source` - `jsreport-core` ```安装 在package-service.json里的dependencies里添加` "jsreport-html-to-xlsx": "latest", "jsreport-xlsx": "latest", "inline-source": "latest", "jsreport-core": "latest" ` 在package.json里的dependencies里添加` "jsreport-html-to-xlsx": "latest", "jsreport-xlsx": "latest", "inline-source": "latest", "jsreport-core": "latest" ` ```