-
Clone the dotenv-lint repository from GitHub
git clone https://github.com/agentile1990/dotenv-lint.git
-
Enter the dotenv-lint directory and install dependencies
cd ./dotenv-lint npm ci # install from package-lock.json
-
Build and run the development stack
npm run dev
This runs webpack in watch mode and starts node with nodemon watching the transpiled javascript in the
./dist
directory. Everytime you save, webpack will transpile the code and nodemon will restart and rerun thedotenv-lint
command. For development, the--path
option is set to./test
, which contains sample.env
and.env.template
files. This option is set in thewebpack.config.js
plugins: [ new NodemonPlugin({ args: ['--path', './test'], }), ],
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.