Skip to content

Commit

Permalink
feat: add ts:nodenext support
Browse files Browse the repository at this point in the history
  • Loading branch information
ruicsh committed Apr 11, 2023
1 parent caa9d40 commit 127bb55
Show file tree
Hide file tree
Showing 2 changed files with 458 additions and 441 deletions.
26 changes: 16 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
"exports": {
".": [
{
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.mjs"
},
"./dist/index.mjs"
Expand All @@ -30,21 +36,21 @@
"dist/numberfmt.d.ts"
],
"devDependencies": {
"@types/node": "18.15.10",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"@vitest/coverage-c8": "0.29.7",
"esbuild": "0.17.14",
"eslint": "8.36.0",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "5.58.0",
"@typescript-eslint/parser": "5.58.0",
"@vitest/coverage-c8": "0.30.1",
"esbuild": "0.17.16",
"eslint": "8.38.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"nyc": "15.1.0",
"prettier": "2.8.7",
"tsx": "3.12.6",
"typescript": "5.0.2",
"vitest": "0.29.7",
"typescript": "5.0.4",
"vitest": "0.30.1",
"zx": "7.2.1"
},
"scripts": {
Expand Down
Loading

0 comments on commit 127bb55

Please sign in to comment.