Skip to content

Commit

Permalink
Merge pull request #1592 from travi/renovate/master-publint-0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
travi authored Sep 13, 2023
2 parents 43fe5cf + 8657f04 commit ba428de
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ node_modules/
coverage/
dist/
lib/
.nyc_output
.nyc_output/

/index.d.mts
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,21 @@
"chance"
],
"exports": {
"types": "./index.d.ts",
"import": "./lib/any.mjs",
"require": "./lib/any.js"
"import": {
"types": "./index.d.mts",
"default": "./lib/any.mjs"
},
"require": {
"types": "./index.d.ts",
"default": "./lib/any.js"
}
},
"main": "lib/any.js",
"module": "lib/any.mjs",
"types": "./index.d.ts",
"scripts": {
"clean": "rimraf coverage/ lib/",
"build": "rollup -c",
"build": "rollup -c && cp ./index.d.ts ./index.d.mts",
"lint:js": "eslint .",
"lint:md": "remark . --frail",
"lint:peer": "npm ls >/dev/null",
Expand Down Expand Up @@ -100,7 +105,7 @@
"mocha": "10.2.0",
"npm-run-all2": "6.0.6",
"proxyquire": "2.1.3",
"publint": "0.1.16",
"publint": "0.2.2",
"referee": "1.2.0",
"referee-sinon": "1.0.3",
"remark-cli": "11.0.0",
Expand Down

0 comments on commit ba428de

Please sign in to comment.