Skip to content

Commit d363722

Browse files
author
Amir Tocker
committed
Update packaging files
1 parent a4a7672 commit d363722

File tree

5 files changed

+79
-5
lines changed

5 files changed

+79
-5
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ coverage
2727
build/Release
2828

2929
# Dependency directories
30-
node_modules
30+
node_modules/
3131
jspm_packages
32+
bower_components/
3233

3334
# Optional npm cache directory
3435
.npm
3536

3637
# Optional REPL history
3738
.node_repl_history
39+
40+
lib/
41+
dist/
42+
*-compiled.js*

.npmignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
.idea/
2+
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
9+
# Runtime data
10+
pids
11+
*.pid
12+
*.seed
13+
14+
# Directory for instrumented libs generated by jscoverage/JSCover
15+
lib-cov
16+
17+
# Coverage directory used by tools like istanbul
18+
coverage
19+
20+
# nyc test coverage
21+
.nyc_output
22+
23+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24+
.grunt
25+
26+
# node-waf configuration
27+
.lock-wscript
28+
29+
# Compiled binary addons (http://nodejs.org/api/addons.html)
30+
build/Release
31+
32+
# Dependency directories
33+
node_modules
34+
jspm_packages
35+
bower_components/
36+
37+
# Optional npm cache directory
38+
.npm
39+
40+
# Optional REPL history
41+
.node_repl_history
42+
43+
*-compiled.js*
44+
stories/
45+
.storybook/
46+
samples/
47+
test/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Cloudinary provides URL and HTTP based APIs that can be easily integrated with a
2121
1. Install the files using the following command. Use the optional `--save` parameter if you wish to save the dependency in your `bower.json` file.
2222

2323
```shell
24-
npm install cloudinary-react
24+
npm install cloudinary-react --save
2525
```
2626

2727
1. Include the javascript files in your code. For Example:

bower.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "cloudinary-react",
3+
"description": "Present Cloudinary images and videos using React components",
4+
"main": "dist/cloudinary-react.js",
5+
"authors": [
6+
"Cloudinary"
7+
],
8+
"license": "MIT",
9+
"homepage": "https://github.com/CloudinaryLtd/cloudinary_react",
10+
"private": true,
11+
"ignore": [
12+
"**/.*",
13+
"node_modules",
14+
"bower_components",
15+
"test",
16+
"samples",
17+
"*-compiled.js*",
18+
"stories/",
19+
".storybook/"
20+
]
21+
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "cloudinary_react",
2+
"name": "cloudinary-react",
33
"version": "1.0.0-rc1",
4-
"description": "React components that utilize Cloudinary functionality",
4+
"description": "Present Cloudinary images and videos using React components",
55
"main": "index.js",
66
"scripts": {
77
"test": "node_modules/.bin/mocha test/.setup.js test/*Test.js",
@@ -48,6 +48,7 @@
4848
"react",
4949
"es2015",
5050
"stage-1"
51-
]
51+
],
52+
"ignore": [ "**/*compiled.js*"]
5253
}
5354
}

0 commit comments

Comments
 (0)