diff --git a/package.json b/package.json index 90923e10a..7fff93dce 100644 --- a/package.json +++ b/package.json @@ -77,8 +77,6 @@ "bookmarklet": "node scripts/bookmarklet", "build:es": "cross-env BABEL_ENV=es babel source --out-dir es && node ./scripts/addModulePackageScope.js", "build:cjs": "cross-env BABEL_ENV=cjs babel source --out-dir src", - "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/ramda.js", - "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/ramda.min.js", "build": "npm-run-all --parallel build:**", "partial-build": "node ./scripts/partialBuild", "clean": "rimraf es/* src/* dist/* coverage/*", diff --git a/scripts/prepublish b/scripts/prepublish index 3de57d710..15934bc8e 100755 --- a/scripts/prepublish +++ b/scripts/prepublish @@ -13,6 +13,8 @@ done npm run clean npm run build +./node_modules/.bin/cross-env NODE_ENV=development rollup -c -o dist/ramda.js +./node_modules/.bin/cross-env NODE_ENV=production rollup -c -o dist/ramda.min.js # build reads version from package.json, which isn't updated until after this script is run by xyz distpath=dist/ramda.js