Skip to content

Commit c0d223c

Browse files
authored
Merge pull request #46 from CodinGame/fix-type-export
Fix type export
2 parents 5cc40f2 + 78d52a5 commit c0d223c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"type": "git",
1414
"url": "https://github.com/CodinGame/monaco-editor-wrapper"
1515
},
16-
"moduleResolution": "node",
1716
"main": "dist/main.js",
1817
"module": "dist/main.js",
18+
"types": "dist/index.d.ts",
1919
"exports": {
2020
".": {
2121
"default": "./dist/main.js"
@@ -43,19 +43,19 @@
4343
},
4444
"typesVersions": {
4545
"*": {
46-
"./features/jsonContribution": [
46+
"features/jsonContribution": [
4747
"./dist/features/jsonContribution.d.ts"
4848
],
49-
"./features/cssContribution": [
49+
"features/cssContribution": [
5050
"./dist/features/cssContribution.d.ts"
5151
],
52-
"./features/htmlContribution": [
52+
"features/htmlContribution": [
5353
"./dist/features/htmlContribution.d.ts"
5454
],
55-
"./features/typescriptContribution": [
55+
"features/typescriptContribution": [
5656
"./dist/features/typescriptContribution.d.ts"
5757
],
58-
"./features/extensionConfigurations": [
58+
"features/extensionConfigurations": [
5959
"./dist/features/extensionConfigurations.d.ts"
6060
]
6161
}
@@ -64,7 +64,6 @@
6464
"dist/",
6565
"stats.html"
6666
],
67-
"types": "dist/index.d.ts",
6867
"dependencies": {
6968
"monaco-editor": "npm:@codingame/monaco-editor@^0.33.6",
7069
"vscode": "npm:@codingame/monaco-vscode-api@~1.67.9",

0 commit comments

Comments
 (0)