Documentation ¶
Overview ¶
Package prune provides node_modules pruning of unnecessary files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultDirectories = []string{
"__tests__",
"test",
"tests",
"powered-test",
"docs",
".idea",
".vscode",
"website",
"example",
"examples",
"coverage",
".nyc_output",
".circleci",
".github",
"man",
".git",
}
DefaultDirectories pruned.
Copied from yarn (mostly).
View Source
var DefaultExtensions = []string{
".markdown",
".md",
".mkd",
".ts",
".jst",
".coffee",
".tgz",
".swp",
}
DefaultExtensions pruned.
View Source
var DefaultFiles = []string{
"Jenkinsfile",
"Makefile",
"Gulpfile.js",
"Gruntfile.js",
"gulpfile.js",
".DS_Store",
".tern-project",
".gitattributes",
".editorconfig",
".eslintrc",
"eslint",
".eslintrc.js",
".eslintrc.json",
".eslintrc.yml",
".eslintignore",
".stylelintrc",
"stylelint.config.js",
".stylelintrc.json",
".stylelintrc.yaml",
".stylelintrc.yml",
".stylelintrc.js",
".htmllintrc",
"htmllint.js",
".lint",
".npmrc",
".npmignore",
".jshintrc",
".flowconfig",
".documentup.json",
".yarn-metadata.json",
".travis.yml",
"appveyor.yml",
".gitlab-ci.yml",
"circle.yml",
".coveralls.yml",
"CHANGES",
"changelog",
"LICENSE.txt",
"LICENSE",
"LICENSE-MIT",
"LICENSE.BSD",
"license",
"LICENCE.txt",
"LICENCE",
"LICENCE-MIT",
"LICENCE.BSD",
"licence",
"AUTHORS",
"CONTRIBUTORS",
".yarn-integrity",
".yarnclean",
"_config.yml",
".babelrc",
".yo-rc.json",
"jest.config.js",
"karma.conf.js",
"wallaby.js",
"wallaby.conf.js",
".prettierrc",
".prettierrc.yml",
".prettierrc.toml",
".prettierrc.js",
".prettierrc.json",
"prettier.config.js",
".appveyor.yml",
"tsconfig.json",
"tslint.json",
}
DefaultFiles pruned.
Copied from yarn (mostly).
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.