Skip to content

Commit

Permalink
Rename umd to cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Sep 27, 2022
1 parent 591427c commit 513c5e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"name": "react-calendar",
"version": "3.9.0",
"description": "Ultimate calendar for your React app.",
"main": "dist/umd/index.js",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "src/index.js",
"sideEffects": [
"*.css",
"*.less"
],
"scripts": {
"build": "yarn build-js-all && yarn copy-styles && yarn build-styles",
"build-js-all": "yarn build-js-esm && yarn build-js-umd",
"build": "yarn build-js && yarn copy-styles && yarn build-styles",
"build-js": "yarn build-js-esm && yarn build-js-cjs",
"build-js-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"build-js-umd": "BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"build-js-cjs": "BABEL_ENV=production-cjs babel src -d dist/cjs --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"build-styles": "lessc ./dist/Calendar.less ./dist/Calendar.css",
"clean": "rimraf dist",
"copy-styles": "node ./copy-styles.js",
Expand Down

0 comments on commit 513c5e3

Please sign in to comment.