Skip to content

Commit

Permalink
Update package.json with new module configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-dldc committed Dec 16, 2023
1 parent f98a701 commit 30b5b97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
"license": "MIT",
"author": "Etienne Dldc <e.deladonchamps@gmail.com>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/mod.mjs",
"require": "./dist/mod.js",
"import": "./dist/mod.js",
"require": "./dist/mod.cjs",
"types": "./dist/mod.d.ts"
}
},
"main": "./dist/mod.js",
"module": "./dist/mod.mjs",
"types": "./dist/mod.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && tsup --format cjs,esm src/mod.ts --dts src/mod.ts",
"build:watch": "tsup --watch --format cjs,esm src/mod.ts --dts src/mod.ts",
"build": "rimraf dist && tsup --format cjs,esm src/mod.ts --dts",
"build:watch": "tsup --watch --format cjs,esm src/mod.ts --dts",
"changelog": "auto-changelog --stdout --hide-credit true --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/main/templates/changelog-compact.hbs",
"lint": "prettier . --check && eslint . && tsc --noEmit",
"lint:fix": "prettier . --write . && eslint . --fix",
Expand Down

0 comments on commit 30b5b97

Please sign in to comment.