@code-dependency/cli
It is a command line tool for using code-dependency library.
Last updated 4 months ago by himenoglyph .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @code-dependency/cli 
SYNC missed versions from official npm registry.

@code-dependency/cli

Quick Start

code-dependency --source ./src

Option

-s --source** (required)

Source directory path

code-dependency --source ./src
code-dependency --source /home/app/src

-p --port

Server port number (default 3000).

code-dependency --source ./src --p 4000
code-dependency --source ./src --port 4000

--ts-config

tsconfig.json path. see

code-dependency --source ./src --ts-config ./tsconfig.json

--webpack-config

webpack.config.js path. (JavaScript only) see

code-dependency --source ./src --webpack-config webpack.config.js
code-dependency --source ./src --webpack-config your.config.js

--exclude

cruise ignore pattern (default: "node_modules"). see

code-dependency --source ./src --exclude node_modules

--export-static

generate static site.

code-dependency --source ./src --exclude node_modules --export-static ./docs

--public-path

code-dependency --source ./src --exclude node_modules --export-static ./docs --public-path /docs

# If export GitHub Pages
code-dependency --source ./src --exclude node_modules --export-static ./docs --public-path https://himenon.github.io/code-dependency/

Directory Structure

./docs/
├── assets            // provide from @code-dependency/view
│   ├── scripts
│   └── stylesheets
└── project
    └── src           // `--source` target : Browser entrypoint -> /project/src/index.html

--engine

Use native graphviz engine. (https://www.graphviz.org/)

Option: dot (recommended)

code-dependency --source ./src --exclude node_modules --export-static ./docs --public-path /docs --engine dot

--dry-run (experimental)

if failed generate static file and retry generate static file only unfinished path.

code-dependency --source ./src --exclude node_modules --export-static ./docs --dry-run

License

@code-dependency/cli is MIT licensed.

Current Tags

  • 0.5.0                                ...           latest (4 months ago)

20 Versions

  • 0.5.0                                ...           4 months ago
  • 0.4.1                                ...           4 months ago
  • 0.4.0                                ...           4 months ago
  • 0.3.9                                ...           4 months ago
  • 0.3.6                                ...           5 months ago
  • 0.3.5                                ...           5 months ago
  • 0.3.4                                ...           5 months ago
  • 0.3.3                                ...           5 months ago
  • 0.3.2                                ...           5 months ago
  • 0.3.1                                ...           5 months ago
  • 0.3.0                                ...           5 months ago
  • 0.2.0                                ...           5 months ago
  • 0.1.1                                ...           5 months ago
  • 0.0.1-alpha.7                                ...           a year ago
  • 0.0.1-alpha.6                                ...           a year ago
  • 0.0.1-alpha.5                                ...           a year ago
  • 0.0.1-alpha.4                                ...           a year ago
  • 0.0.1-alpha.3                                ...           a year ago
  • 0.0.1-alpha.2                                ...           a year ago
  • 0.0.1-alpha.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 20
This Month 20
Last Day 0
Last Week 0
Last Month 20
Dependencies (20)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |