Skip to content

Commit

Permalink
move dist build from npm build to publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
kedashoe committed Jul 12, 2024
1 parent 5d50bde commit 64f4968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/*",
Expand Down
2 changes: 2 additions & 0 deletions scripts/prepublish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64f4968

Please sign in to comment.