0.7.5 • Published 8 years ago

predator-kit v0.7.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

predator-kit

Basic lib for predator style FE project

Build Status npm.io npm.io npm.io npm.io npm.io

Develop

commandsWhat
npm run testtest the predator-kit
npm run test:libtest as middleware
npm run test:buildtest as build kit
npm run gulp <task>clean the build in the test dir
npm run update-depsupdate demo's package.json to use predator-kit@latest
npm run use-lnuse npm link predator-kit in demo.
  1. 使用 npm link use-ln 进行开发
  2. 手动修改版本, kit的版本升级 & demo依赖的kit版本升级
  3. 推送新版本至npm
  4. 推送至GitHub, 触发CI. (4 & 5 不能更换, 因为先触发CI的话, demo下载不到kit新版本, 会失败)

yeoman-generator

see https://github.com/magicdawn/generator-predator

API

as middleware

  1. startAssetsManager # start assets manager
  2. loadAllRouter # load all router

as build kit

generally: we got build everything ready

  1. buildCopy: just copy
  2. buildStatic: name_hash.ext
  3. buildLessAsync: less -> clean-css
  4. buildJsAsync: js -> browserify
  5. buildOtherJsCss: css/js not in main
  6. buildView: we build view/*.{swig|html|...}
  7. buildHtmlAsync: build static html

License

MIT http://magicdawn.mit-license.org

0.7.5

8 years ago

0.7.4

8 years ago

0.7.3

8 years ago

0.7.2

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.6.6

8 years ago

0.6.5

8 years ago

0.6.4

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago