Skip to content

Commit 9d84dfd

Browse files
committed
Publish specific files and folders to NPM
Users of `scratch-render` do not need the `playground` directory installed as a npm package. If they need those directories they can clone scratch-render and do a local build. This saves downloading 3.5MB (`playground`) when `npm install`ing `scratch-render`.
1 parent 6cff0f9 commit 9d84dfd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.npmignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Development files
2+
.eslintrc.js
3+
/.editorconfig
4+
/.eslintignore
5+
/.gitattributes
6+
/.github
7+
/.jsdoc.json
8+
/.travis.yml
9+
/test
10+
/webpack.config.js
11+
12+
# Build created files
13+
/playground
14+
15+
# Exclude already built packages from testing with npm pack
16+
/scratch-render-*.{tar,tgz}

0 commit comments

Comments
 (0)