0.7.5 • Published 9 years ago
predator-kit v0.7.5
predator-kit
Basic lib for predator style FE project
Develop
commands | What |
---|---|
npm run test | test the predator-kit |
npm run test:lib | test as middleware |
npm run test:build | test as build kit |
npm run gulp <task> | clean the build in the test dir |
npm run update-deps | update demo's package.json to use predator-kit@latest |
npm run use-ln | use npm link predator-kit in demo. |
- 使用
npm link use-ln
进行开发 - 手动修改版本, kit的版本升级 & demo依赖的kit版本升级
- 推送新版本至npm
- 推送至GitHub, 触发CI. (4 & 5 不能更换, 因为先触发CI的话, demo下载不到kit新版本, 会失败)
yeoman-generator
see https://github.com/magicdawn/generator-predator
API
as middleware
- startAssetsManager # start assets manager
- loadAllRouter # load all router
as build kit
generally: we got build everything ready
- buildCopy: just copy
- buildStatic: name_hash.ext
- buildLessAsync: less -> clean-css
- buildJsAsync: js -> browserify
- buildOtherJsCss: css/js not in
main
- buildView: we build
view/*.{swig|html|...}
- buildHtmlAsync: build static html
License
0.7.5
9 years ago
0.7.4
9 years ago
0.7.3
9 years ago
0.7.2
9 years ago
0.7.1
9 years ago
0.7.0
9 years ago
0.6.6
9 years ago
0.6.5
9 years ago
0.6.4
10 years ago
0.6.3
10 years ago
0.6.2
10 years ago
0.6.1
10 years ago
0.6.0
10 years ago
0.5.3
10 years ago
0.5.2
10 years ago
0.5.1
10 years ago
0.5.0
10 years ago
0.4.0
10 years ago
0.3.2
10 years ago
0.3.1
10 years ago
0.3.0
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago
0.0.1
10 years ago