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",
"doc",
".idea",
".vscode",
"website",
"images",
"assets",
"example",
"examples",
"coverage",
".nyc_output",
".circleci",
".github",
}
DefaultDirectories pruned.
Copied from yarn (mostly).
View Source
var DefaultExtensions = []string{
".md",
".ts",
".jst",
".coffee",
".tgz",
".swp",
}
DefaultExtensions pruned.
View Source
var DefaultFiles = []string{
"Makefile",
"Gulpfile.js",
"Gruntfile.js",
".DS_Store",
".tern-project",
".gitattributes",
".editorconfig",
".eslintrc",
".eslintrc.js",
".eslintignore",
".npmignore",
".jshintrc",
".flowconfig",
".documentup.json",
".yarn-metadata.json",
".travis.yml",
"appveyor.yml",
"circle.yml",
".coveralls.yml",
"CHANGES",
"LICENSE.txt",
"LICENSE",
"AUTHORS",
"CONTRIBUTORS",
".yarn-integrity",
".yarnclean",
}
DefaultFiles pruned.
Copied from yarn (mostly).
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.