jiama_static-resource-server
v0.0.1
Published
node static resource server
Downloads
3
Readme
how to use
$ npm i static-resource-server -g
$ srs
node>=13
Future Work
- [ ] 配置eslint
npm i eslint -D => ./node_modules/.bin/eslint --init => restart vsCode! => eslint自动强制修复:安装pre-commit包或者git配置pre-commit,配置git hook基于shell暂时用包吧 - [x] 本地superVisor
- [x] ejs模板
- [x] gzip/deflet压缩
- [x] 强缓存+协商缓存
- [x] 支持命令行参数
- [x] 自动打开浏览器w
- [x] 发布npm,做成cli工具
- [ ] 切koa2或者express
- [ ] ts
参考链接
(链接1)[https://segmentfault.com/a/1190000019222794?utm_source=tag-newest];