Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (23 loc) · 957 Bytes

CONTRIBUTING.md

File metadata and controls

26 lines (23 loc) · 957 Bytes

Contributing

Setup

  1. Clone the dotenv-lint repository from GitHub

    git clone https://github.com/agentile1990/dotenv-lint.git
  2. Enter the dotenv-lint directory and install dependencies

    cd ./dotenv-lint 
    npm ci # install from package-lock.json
  3. 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 the dotenv-lint command. For development, the --path option is set to ./test, which contains sample .env and .env.template files. This option is set in the webpack.config.js

    plugins: [
        new NodemonPlugin({
            args: ['--path', './test'],
        }),
    ],