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/a5a57b70ac6fd6fb77fdab32e6b7be7519ce9564/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 8c5e672 commit 2611370
Show file tree
Hide file tree
Showing 4 changed files with 1,623 additions and 768 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
@@ -1,4 +1,4 @@
exclude_patterns:
- doc/**
- lib/**
- dist/**
- test/**
2 changes: 1 addition & 1 deletion .gitignore
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
Expand Up @@ -27,12 +27,24 @@
"js"
],
"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 @@ -49,7 +61,6 @@
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.13.10",
"@babel/core": "7.13.10",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.13.10",
Expand All @@ -68,6 +79,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 2611370

Please sign in to comment.