Skip to content

Commit

Permalink
refactor: rename filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 19, 2023
1 parent ccbc937 commit ab9aff5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,24 @@
"files": [
"src"
],
"main": "./src/index.js",
"module": "./src/index.mjs",
"main": "./src/node.js",
"module": "./src/node.mjs",
"types": "./src/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./src/index.d.ts",
"browser": "./src/browser.mjs",
"require": "./src/index.js",
"import": "./src/index.mjs"
"browser": "./src/native.mjs",
"bun": "./src/native.mjs",
"require": "./src/node.js",
"import": "./src/node.mjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx,.json,.md",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx,.json,.md",
"lint:fix": "pnpm run lint --fix",
"release": "bumpp && pnpm publish"
},
Expand All @@ -41,7 +42,6 @@
"devDependencies": {
"@sxzz/eslint-config-prettier": "^2.4.6",
"@sxzz/eslint-config-ts": "^2.4.6",
"@types/node": "^18.15.11",
"bumpp": "^9.1.0",
"eslint": "^8.37.0",
"eslint-define-config": "^1.17.0",
Expand Down
7 changes: 0 additions & 7 deletions pnpm-lock.yaml

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

File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"skipLibCheck": true,
"noUnusedLocals": true,
"resolveJsonModule": true,
"types": ["node"]
"types": []
},
"include": ["src"]
}

0 comments on commit ab9aff5

Please sign in to comment.