This repository offers a default implementation of the .dcignore file and an automatic generator based on common .gitignore patterns found in https://github.com/github/gitignore
- Clone this repository
- Copy the
full.dcignore
file into the root of your project and rename it.dcignore
npm install @deepcode/dcignore
- Import the module.
- Use the
DefaultDCIgnore
string to fill a standard .dcignore file. - Use the
CustomDCIgnore
string if you need to initialize an empty .dcignore with some content.
const { DefaultDCIgnore, CustomDCIgnore } = require('@deepcode/dcignore');
import { DefaultDCIgnore, CustomDCIgnore } from "@deepcode/dcignore";