clean-publish-fix
Version:
Clean your package before publish
42 lines (41 loc) • 806 B
JavaScript
export default [
'.circleci',
'.github',
'.vscode',
'node_modules',
'test',
/^\.eslintrc/,
/^\.babelrc/,
/^\.yaspellerrc/,
/^\.prettierrc/,
/^\.jsdocrc/,
/^\.lintstagedrc/,
/^\.nanostagedrc/,
/^\.jsconfig/,
/^\.size-limit/,
/^\.clean-publish/,
'.git',
'.DS_Store',
'.eslintignore',
'.editorconfig',
/^(babel|commitlint|jest|vitest)\.config\.[cm]?(j|t)s$/,
'.travis.yml',
'pnpm-lock.yaml',
'yarn.lock',
'package-lock.json',
'pnpm-debug.log',
'yarn-error.log',
'appveyor.yml',
'.watchmanconfig',
'.yarnrc',
'karma.conf.js',
'.flowconfig',
/^changelog/i,
/^\.?nano-staged\.(c|m)?js(on)?$/,
/^\.?simple-pre-commit.js(on)?$/,
/^\.?simple-git-hooks.js(on)?$/,
/^\.commitlintrc/,
/^\.renovaterc/,
/^\.remarkrc/,
/README\.[\w-]+\.md/
]