ant-client
The complete solution for project cli.
analDep
Installation
$ npm install commander -g
Usage
$ cd [your project]
$ ant-client analDep [-e entry] [-o output]
or you can use alias parameter
$ ant-client ad
- exmaple
$ cd ant-datasource
$ ant-client ad -e src/index -o f
- output
/Users/lihongji/study/ant-datasource/src/test1文件不存在ant-datasource/src/index模块过多依赖ant-datasource/src/test模块过多依赖模块列表ant-datasource/src/exist,ant-datasource/src/utils,ant-datasource/src/in.less,ant-datasource/src/test,ant-datasource/src/index,ant-datasource/src/test1,ant-datasource/node_modules/babel-eslint,ant-datasource/src/k/a.png模块数量8
- deptree: deps.json
todolist
- analyse needless dependencies of package.json.
- analyse file dependencies order.