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/make-github-pseudonymous-again/rejuvenate/blob/8134808bd3e9bcbb3e4b2ca5401e2dee58965a01/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 Dec 21, 2021
1 parent ed0f76f commit 09d17d2
Show file tree
Hide file tree
Showing 4 changed files with 1,202 additions and 70 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
21 changes: 17 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,25 @@
"sorting"
],
"sideEffects": false,
"main": "lib/index.js",
"source": "src/index.js",
"main": "dist/index.cjs",
"module": "dist/index.module.js",
"esmodule": "dist/index.modern.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.cjs",
"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 @@ -45,7 +58,6 @@
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.5",
"@babel/preset-env": "7.16.5",
"@babel/register": "7.16.5",
Expand All @@ -64,6 +76,7 @@
"esdoc-standard-plugin": "1.0.0",
"fixpack": "4.0.0",
"husky": "7.0.4",
"microbundle": "0.14.2",
"np": "7.6.0",
"pinst": "2.1.6",
"power-assert": "1.6.1",
Expand Down
Loading

0 comments on commit 09d17d2

Please sign in to comment.