UNPKG

build-a-npm

Version:

A tool to create and publish Node packages with automatic version bumping and GitHub integration.

19 lines (17 loc) 295 B
function generateGitignore(useTypeScript) { return `node_modules/ npm-debug.log* yarn-debug.log* yarn-error.log* .DS_Store *.tgz .env .env.local .env.development.local .env.test.local .env.production.local .npmrc ${useTypeScript ? "dist/\n" : ""} `; } module.exports = { generateGitignore };