- π¨π³δΈζζζ‘£
- npm-extra-extension is used to generate additional dependency information files. It is very convenient to split business dependencies in front-end engineering.
- Continue to increase and expand, please give star β and encourage.
- The package-extra.json file is generated in the root directory by default. You can also use it with private libraries such as verdaccio.
- It is very convenient when it is necessary to distinguish between the development environment dependency and business dependency of engineering scaffolding.
npm install -g npm-extra-extension
npme
npme install --help
npme -V
npme --version
npme init
- Install all dependences accroding to package-extra.json.
npme install
npme i
- Install specific dependence
notice: this has the same param as npm
npme install vue
npme i vue
npme install -D webpack
npme install --save-dev webpack
- Uninstall all
npme uninstall
npme un
- Uninstall specific dependence
npme uninstall vue
npme un --no-save vue
- view configuration
npme config --list
npme config --list filename
npme config -l baseSys
- config base cmd, has been set to yarn by default(now supports npm and yarn).
npme config -b yarn
npme config -b npm
- config dependence filename
npme config -f package-extra.json
npme config --file package-extra.json
- init json file according to a relative path resolved with the execicute path.
npme config -f ./src/package-extra.json