-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.npmignore
31 lines (25 loc) · 1.19 KB
/
.npmignore
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Ignore the following common files and directories:
# Node.js modules
node_modules/
# Ignore development files and directories
dist/ # Exclude the build output directory (if not needed)
src/ # Exclude the source files (if only publishing dist)
# Ignore common configuration files
.eslintignore # ESLint ignore file
.eslintrc # ESLint config file
.babelrc # Babel config file
.npmrc # npm config file
.vscode/ # VS Code settings folder
.git/ # Git version control directory
# Ignore testing files and directories
tests/ # Exclude any test directories
test/ # Exclude any test directories
**/*.test.js # Ignore all test files with .test.js extension
# Ignore other common files
*.log # Ignore log files
*.tmp # Ignore temporary files
*.lock # Ignore lock files (except package-lock.json if you want to keep it)
webpack.config.js # Ignore Webpack config (if not needed)
README.md # You might want to include this for documentation
# Ignore specific folders and files as needed
app/ # Exclude the app directory