This repository was archived by the owner on Aug 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1+ ## v0.1.3 (May 9, 2018)
2+ - Ensure we are shipping ES5 everywhere.
3+
14## v0.1.2 (April 3, 2018)
25- Update npm package to ship with three builds: ` UMD ` , ` CommonJS ` and ` ES2015 `
36
Original file line number Diff line number Diff line change 11{
22 "name" : " commercecloud-ocapi-client" ,
3- "version" : " 0.1.2 " ,
3+ "version" : " 0.1.3 " ,
44 "description" : " An ES6 JavaScript Client for Salesforce Open Commerce API" ,
55 "license" : " SEE LICENSE IN LICENSE" ,
66 "main" : " dist/commercecloud-ocapi-client.cjs.js" ,
2020 "lint:fix" : " npm run lint:js -- --fix" ,
2121 "test" : " NODE_ENV=test mocha --require babel-core/register $(find test/api -name '*.spec.js')" ,
2222 "prebuild" : " npm run lint" ,
23- "build" : " rollup -c" ,
23+ "build" : " NODE_ENV=production rollup -c" ,
2424 "prepack" : " npm run build"
2525 },
2626 "dependencies" : {
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ export default [{
2222 browser : true ,
2323 } ) ,
2424 babel ( {
25- exclude : [ 'node_modules/**' ] ,
26- externalHelpers : true
25+ exclude : [ 'node_modules/**' ]
2726 } )
2827 ]
2928} ,
@@ -37,4 +36,9 @@ export default [{
3736 format : 'es'
3837 } ] ,
3938 external : [ 'superagent' , 'querystring' ] ,
39+ plugins : [
40+ babel ( {
41+ exclude : [ 'node_modules/**' ]
42+ } )
43+ ]
4044} ]
You can’t perform that action at this time.
0 commit comments