-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43bf1ef
commit 914858c
Showing
3 changed files
with
823 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Changelog | ||
|
||
## v0.2.0 - 2022-09-09 | ||
|
||
- Publish as a dual ESM/CJS package | ||
|
||
## v0.1.0 - 2022-09-01 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,15 @@ | |
"author": "Jacob Gillespie <[email protected]>", | ||
"license": "MIT", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
|
@@ -19,7 +28,7 @@ | |
"serverless" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsup src/index.ts --format cjs,esm --dts --clean", | ||
"clean": "rm -rf dist", | ||
"fmt": "prettier --write .", | ||
"fmt:check": "prettier --check .", | ||
|
@@ -41,6 +50,7 @@ | |
"prettier": "^2.7.1", | ||
"prettier-plugin-organize-imports": "^3.1.0", | ||
"prettier-plugin-pkg": "^0.17.1", | ||
"tsup": "^6.2.3", | ||
"typescript": "^4.8.2" | ||
}, | ||
"sideEffects": false | ||
|
Oops, something went wrong.