Skip to content

Commit

Permalink
fix: package entry
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 20, 2023
1 parent 502603c commit a601162
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 17 deletions.
4 changes: 2 additions & 2 deletions packages/tm-grammars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
"./*",
"./index.d.ts"
]
}
},
Expand Down
27 changes: 12 additions & 15 deletions packages/tm-themes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tm-themes",
"type": "module",
"version": "0.0.0",
"version": "0.0.1",
"packageManager": "[email protected]",
"description": "Collecton of TextMate grammars in JSON",
"author": "Anthony Fu <[email protected]>",
Expand All @@ -14,24 +14,25 @@
"directory": "packages/tm-themes"
},
"bugs": "https://github.com/antfu/tm-grammars-themes/issues",
"keywords": [],
"keywords": [
"textmate"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
"types": "./index.d.ts",
"import": "./index.js"
},
"./themes/*": "./themes/*"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"main": "./index.js",
"module": "./index.js",
"types": "./index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
"./*",
"./index.d.ts"
]
}
},
Expand All @@ -41,9 +42,5 @@
"LICENSE",
"NOTICE",
"themes"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub"
}
]
}

0 comments on commit a601162

Please sign in to comment.