Catalog npm
Back to packageRELEASE DETAILS

1.0.4

npm

4dcli

cli for best

cliintergrationquick
Published16 Nov 2025
Direct dependencies21
Transitive dependenciesNot calculated

README

Current package documentation

脚手架项目

构建百世脚手架

目录结构

```
    ├─commands              // 命令行命令执行目录
    │  └─options            // 命令行参数 具体执行方法
    ├─helper                // 辅助库
    │  ├─builder            // 构建或者打包方发目录
    │  ├─const              // 脚手架 静态变量
    │  ├─log                // 日志打印实例
    │  ├─parser             // 命令行解析实例
    │  └─spinner            // 加载实例
    ├─questions             // 交互问答
    ├─scripts               // 可执行脚本
    ├─src                   // 项目入口
    └─webpack               // webpack 公共构建配置
```

基础命令

```
    Usage: 4d [options] [command]

    cli for best

    Options:
    -V, --version              版本信息
    -i, --init [project name]  初始化项目
    -c, --create <page name>   生成页面
    -h, --help                 帮助

    Commands:
    build                      线上打包
    dev                        开发环境打包
    dll                        打包 dll 文件
    hot                        开发环境运行
```

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 21

Native requirements
21 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
autoprefixer
Environment
{
  "local_name": "autoprefixer",
  "alias": false,
  "peer_metadata": null
}
7.2.4runtime
babel-cli
Environment
{
  "local_name": "babel-cli",
  "alias": false,
  "peer_metadata": null
}
6.26.0runtime
babel-loader
Environment
{
  "local_name": "babel-loader",
  "alias": false,
  "peer_metadata": null
}
7.1.5runtime
chalk
Environment
{
  "local_name": "chalk",
  "alias": false,
  "peer_metadata": null
}
4.1.2runtime
commander
Environment
{
  "local_name": "commander",
  "alias": false,
  "peer_metadata": null
}
9.3.0runtime
css-loader
Environment
{
  "local_name": "css-loader",
  "alias": false,
  "peer_metadata": null
}
0.23.1runtime
enquirer
Environment
{
  "local_name": "enquirer",
  "alias": false,
  "peer_metadata": null
}
2.3.6runtime
file-loader
Environment
{
  "local_name": "file-loader",
  "alias": false,
  "peer_metadata": null
}
3.0.1runtime
ini
Environment
{
  "local_name": "ini",
  "alias": false,
  "peer_metadata": null
}
3.0.0runtime
less
Environment
{
  "local_name": "less",
  "alias": false,
  "peer_metadata": null
}
3.9.0runtime
less-loader
Environment
{
  "local_name": "less-loader",
  "alias": false,
  "peer_metadata": null
}
4.1.0runtime
ora
Environment
{
  "local_name": "ora",
  "alias": false,
  "peer_metadata": null
}
5.4.1runtime
shelljs
Environment
{
  "local_name": "shelljs",
  "alias": false,
  "peer_metadata": null
}
0.8.5runtime
style-loader
Environment
{
  "local_name": "style-loader",
  "alias": false,
  "peer_metadata": null
}
0.23.1runtime
thread-loader
Environment
{
  "local_name": "thread-loader",
  "alias": false,
  "peer_metadata": null
}
3.0.4runtime
url-loader
Environment
{
  "local_name": "url-loader",
  "alias": false,
  "peer_metadata": null
}
0.5.7runtime
util
Environment
{
  "local_name": "util",
  "alias": false,
  "peer_metadata": null
}
0.12.4runtime
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
4.46.0runtime
webpack-cli
Environment
{
  "local_name": "webpack-cli",
  "alias": false,
  "peer_metadata": null
}
3.3.12runtime
webpack-dev-server
Environment
{
  "local_name": "webpack-dev-server",
  "alias": false,
  "peer_metadata": null
}
4.9.2runtime
webpack-merge
Environment
{
  "local_name": "webpack-merge",
  "alias": false,
  "peer_metadata": null
}
5.8.0runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-g7pJQd1KQopv+e+J18slyG0n7rJ/sjwvxjHenkKt5FrF7lo5HDl5554PZDJz/AG2OFJjKkEK11tpOuy3NZc/LA==",
  "shasum": "1d2447c63f6fb32cec0a1f452786905ed1574244",
  "tarball": "https://registry.npmjs.org/4dcli/-/4dcli-1.0.4.tgz",
  "fileCount": 23,
  "unpackedSize": 19798,
  "signatures": [
    {
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
      "sig": "MEUCIQCUYhTQlWYnEv1VbMiIMLAi3Aw+ou4SjTns65mTCRNMUAIgUKLNVoDyA2bxoXxb/Ui30lNhKvUyzMxyUGPnGoSS4t4="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:07 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:8032640f84d57d6a10f1eae12fcf0496f4d0efa1f7c20ae1ebdfe1ba2dcde66c

Other collected versions

1.0.316 Nov1.0.216 Nov1.0.116 Nov1.0.012 NovView all collected versions →