Skip to content

Commit a4a7672

Browse files
author
Amir Tocker
committed
Update config files.
1 parent 3cbd055 commit a4a7672

File tree

5 files changed

+27
-27333
lines changed

5 files changed

+27
-27333
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"presets": ["react","es2015", "stage-1"],
3-
"plugins": ["transform-es2015-modules-umd"],
43
"ignore": [ "**/*compiled.js*"]
54
}

package.json

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "React components that utilize Cloudinary functionality",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1",
7+
"test": "node_modules/.bin/mocha test/.setup.js test/*Test.js",
8+
"compile": "node_modules/.bin/babel src -d lib",
9+
"dist": "node_modules/.bin/webpack",
810
"storybook": "start-storybook -p 6006",
911
"build-storybook": "build-storybook"
1012
},
@@ -24,8 +26,6 @@
2426
"babel-cli": "^6.14.0",
2527
"babel-core": "^6.14.0",
2628
"babel-loader": "^6.2.5",
27-
"babel-plugin-transform-es2015-modules-umd": "^6.12.0",
28-
"babel-plugin-transform-object-rest-spread": "^6.8.0",
2929
"babel-preset-es2015": "^6.14.0",
3030
"babel-preset-react": "^6.11.1",
3131
"babel-preset-stage-1": "^6.13.0",
@@ -49,16 +49,5 @@
4949
"es2015",
5050
"stage-1"
5151
]
52-
},
53-
"browserify-shim": {
54-
"cloudinary-core": "cloudinary",
55-
"react": "React",
56-
"lodash": "_"
57-
},
58-
"browserify": {
59-
"transform": [
60-
["browserify-shim"]
61-
],
62-
"standalone": "cloudinaryReact"
6352
}
6453
}

0 commit comments

Comments
 (0)