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/457d6d9bfb7d08d917f0c3a95108832fc88fe176/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 19, 2021
1 parent 0ed39dd commit 65ad815
Show file tree
Hide file tree
Showing 4 changed files with 1,282 additions and 97 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 @@ -18,12 +18,25 @@
"trie"
],
"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": "babel --delete-dir-on-start --env-name production 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 @@
"@functional-data-structure/persistent-stack": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.5",
"@babel/preset-env": "7.16.5",
"@babel/register": "7.16.5",
Expand All @@ -66,6 +78,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 65ad815

Please sign in to comment.