Skip to content

Commit aa6b5f8

Browse files
author
Amir Tocker
committed
Add content to .npmignore and add files section to package.json
1 parent af692ca commit aa6b5f8

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.npmignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#garbage
2+
.DS_Store
3+
#other modules
4+
node_modules
5+
#docs
6+
docs
7+
docs-sources
8+
docs.link*
9+
favicon.png
10+
styleguide.config.js
11+
#tests
12+
jest.config.js
13+
tests
14+
.travis.yml
15+
# local env files
16+
.env.local
17+
.env.*.local
18+
# Log files
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
# Editor directories and files
23+
.idea
24+
.vscode
25+
*.suo
26+
*.ntvs*
27+
*.njsproj
28+
*.sln
29+
*.sw*

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"browser": "src/index.js",
66
"main": "dist/Cloudinary.common.js",
77
"unpkg": "dist/Cloudinary.umd.min.js",
8+
"files": [
9+
"src",
10+
"dist"
11+
],
812
"scripts": {
913
"build": "npm run styleguide:build; npm run lib:build",
1014
"lib:build": "vue-cli-service build --target lib --name Cloudinary src/index.js",

0 commit comments

Comments
 (0)