https://github.com/feflow/generator-smoking-test
Project template for testing feflow builders. (based on webpack)
https://github.com/feflow/generator-smoking-test
Last synced: 8 days ago
JSON representation
Project template for testing feflow builders. (based on webpack)
- Host: GitHub
- URL: https://github.com/feflow/generator-smoking-test
- Owner: feflow
- Created: 2018-09-03T05:07:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T07:26:34.000Z (almost 8 years ago)
- Last Synced: 2025-06-30T18:03:28.358Z (12 months ago)
- Language: JavaScript
- Size: 245 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 说明
此项目模板用于测试feflow的基于webpack的构建器
构建器要求支持多页面构建、less、热更新。
## 使用
将此项目`git clone`到`./test/`目录下
请自行编写测试代码,测试开发环境和生产环境的构建是否能够成功。
## 建议测试用例:
在`.travis.yml`中配置如下命令:
```
language: node_js
sudo: false
cache:
apt: true
directories:
- node_modules
node_js: stable #设置相应的版本
install:
- npm install -D #安装builder-webpack3依赖
- cd ./test/template-project
- npm install -D #安装模板项目依赖
script:
- npm test
```