Skip to content

Commit

Permalink
🤖 build: Configure microbundle to produce build.
Browse files Browse the repository at this point in the history
These changes were automatically generated by a transform whose code can be found at:
  - https://github.com/aureooms/rejuvenate/blob/e2bf2c17f7e41fd818d2de9cb478d2e183f92a0e/src/transforms/build:use-microbundle.js
Please contact the author of the transform if you believe there was an error.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Mar 17, 2021
1 parent 075b835 commit 7a3ff91
Show file tree
Hide file tree
Showing 4 changed files with 1,446 additions and 136 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude_patterns:
- doc/**
- lib/**
- dist/**
- test/**
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
!yarn.lock

# Generated files
/lib
/dist

# Dependency directory
node_modules
Expand Down
20 changes: 16 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,24 @@
"reduce"
],
"sideEffects": false,
"main": "lib/index.js",
"source": "src/index.js",
"main": "dist/index.js",
"module": "dist/index.module.js",
"umd:main": "dist/index.umd.js",
"unpkg": "dist/index.umd.js",
"exports": {
".": {
"browser": "./dist/index.module.js",
"umd": "./dist/index.umd.js",
"require": "./dist/index.js",
"default": "./dist/index.modern.js"
}
},
"files": [
"lib"
"dist"
],
"scripts": {
"build": "rm -rf lib && babel src -d lib",
"build": "NODE_ENV=production microbundle",
"build-docs": "esdoc",
"build-gh-pages": "npm run build-docs",
"commit-msg": "commitlint --edit",
Expand All @@ -54,7 +66,6 @@
"@aureooms/js-compare": "1.4.8",
"@aureooms/js-operator": "1.0.2",
"@aureooms/js-predicate": "2.0.2",
"@babel/cli": "7.13.10",
"@babel/core": "7.13.10",
"@babel/preset-env": "7.13.10",
"@babel/register": "7.13.8",
Expand All @@ -72,6 +83,7 @@
"esdoc-standard-plugin": "1.0.0",
"fixpack": "4.0.0",
"husky": "5.1.3",
"microbundle": "0.13.0",
"np": "7.4.0",
"pinst": "2.1.6",
"power-assert": "1.6.1",
Expand Down

0 comments on commit 7a3ff91

Please sign in to comment.