@vanportal/van
v0.11.0-alpha.3
Published
Vanportal CLI toolkit.
Downloads
15
Readme
@vanportal/van
Vanportal CLI toolkit.
Usage: van <command>
Commands:
van babel Babel with our opinionated defaults [aliases: b]
van eslint ESLint with our opinionated defaults [aliases: e]
van serverless Serverless with our list of supported plugins [aliases: sls]
van webpack Webpack with our opinionated defaults [aliases: w]
Options:
--help Show help [boolean]
--version Show version number [boolean]
Examples:
van eslint .
van babel --help
NODE_ENV=production van webpack src -o dist.js
External tools
These useful tools are also included as peerDependencies
without the van
wrapping,
execute directly with npx <NAME>
:
node_modules/.bin
├── babel-node -> ../../../../node_modules/@babel/node/bin/babel-node.js
├── concurrently -> ../../../../node_modules/concurrently/bin/concurrently.js
├── eslint -> ../../../../node_modules/eslint/bin/eslint.js
├── jq -> ../../../../node_modules/@vanportal/van/bin/jq
├── js-yaml -> ../../../../node_modules/js-yaml/bin/js-yaml.js
├── nodemon -> ../../../../node_modules/nodemon/bin/nodemon.js
├── npm-check -> ../../../../node_modules/npm-check/bin/cli.js
├── sort-package-json -> ../../../../node_modules/sort-package-json/index.js
├── van -> ../../../../node_modules/@vanportal/van/bin/van.js
├── webpack -> ../../../../node_modules/webpack/bin/webpack.js
└── webpack-cli -> ../../../../node_modules/webpack-cli/bin/cli.js
0 directories, 11 files
Features
- All-in-one development dependency
- Execute
<command>
at current working directory - Load our defaults if no configurations found at current working directory
- By default load
.env
and export to<command>
throughprocess.env
- Load
.env.dev
or.env.prod
ifNODE_ENV
is set todevelopment
orproduction
- Load
.env.${NODE_ENV}
otherwise - Variables from
.env
will NOT override those already set in environment
- Load