diff --git a/package.json b/package.json index 061f32cf..e36aecc8 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "scripts": { "build": "yarn build-js-all && yarn copy-styles && yarn build-styles", "build-js-all": "yarn build-js-esm && yarn build-js-umd", - "build-js-esm": "cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js,**/*.spec.jsx", - "build-js-umd": "cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore **/*.spec.js,**/*.spec.jsx", + "build-js-esm": "cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js,**/*.spec.jsx\"", + "build-js-umd": "cross-env BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js,**/*.spec.jsx\"", "build-styles": "lessc ./dist/Calendar.less ./dist/Calendar.css", "clean": "rimraf dist", "copy-styles": "node ./copy-styles.js",