create-bt-egg
create-bt-egg ===
Last updated a day ago by heibai .
MIT · Original npm · Tarball · package.json
$ cnpm install create-bt-egg 
SYNC missed versions from official npm registry.

create-bt-egg

Init

以下两种方式都会在当前目录创建一个为[dir]项目名的项目

$ npm init bt-egg [dir]

or

$ mkdir [dir] && cd [dir]
$ npm init bt-egg 

如果您想用更简洁实例化方式,也不需要更改过多的配置

$ npm init bt-egg [dir] -t=simple -a=[author]

Command

Usage: npm init bt-egg [dir]

Options:
  --version          显示版本号                                           [布尔]
  -h, --help         显示帮助信息                                         [布尔]
  -n, --name         project name                                 [默认值: "bt"]
  -d, --description  project description      [默认值: "bt-egg app boilerplate"]
  -a, --author       project author                          [默认值: "btclass"]
  -k, --keys         cookie security keys         [默认值: "1565252776448_9849"]

Custom a boilerplate

现在用的是固定的文件模板:

模板详解

  • BT业务测试环境下固定安装@bt/bt-sequelize-tables-prerelease

    由于表管理包一直是用两个不同包名并且版本号固定为3.0.0,而测试环境用了镜像缓存提升构建速度,业务项目如果忘记修改package.json就不会更新到测试环境的表结构。所以改为现在的固定安装 prerelease包可避免忘记问题。

    查阅修改记录

  • 部署状态用颜色区分开:红色为失败,绿色为成功

    查阅修改记录

License

MIT

Current Tags

  • 1.3.0                                ...           latest (a day ago)

34 Versions

  • 1.3.0                                ...           a day ago
  • 1.2.0                                ...           7 months ago
  • 1.1.12                                ...           7 months ago
  • 1.1.11                                ...           7 months ago
  • 1.1.10                                ...           9 months ago
  • 1.1.9                                ...           10 months ago
  • 1.1.8                                ...           10 months ago
  • 1.1.7                                ...           10 months ago
  • 1.1.6                                ...           10 months ago
  • 1.1.5                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 1
This Week 13
This Month 13
Last Day 12
Last Week 0
Last Month 0
Dependencies (9)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |