Skip to content

Commit

Permalink
fix(build): Add .npmignore file to allow inclusion of react folder
Browse files Browse the repository at this point in the history
Since the react folder is included as an entry in the .gitignore file, it is not published to npm.

By making a separate file for npm publishing we can ensure that the folder does get included when

publishing to npm.
  • Loading branch information
evansiroky committed Oct 20, 2016
1 parent 60e2ea7 commit 54af746
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ build/Release

# Dependency directory
node_modules

# Transpiled files
/react

# Optional npm cache directory
Expand Down
48 changes: 48 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
tmp

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
node_modules
yarn.lock

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# MacOS
.DS_Store

# tests
tests

# Continuous Integration
.travis.yml

# Docs
README.md
mastarm.png

0 comments on commit 54af746

Please sign in to comment.