Skip to content

Commit 5e60c5f

Browse files
Merge pull request #12 from CodinGame/libs-use-codingame-monaco-emacs
[LIBS][EMACS] Use CodinGame package
2 parents 8dab3a8 + fdf07ae commit 5e60c5f

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"description": "Enhanced Monaco editor with TextMate grammars and more",
66
"scripts": {
77
"build": "rollup --config rollup.config.ts --configPlugin typescript && npm run generate-types",
8+
"prepublishOnly": "npm run build",
89
"generate-types": "tsc --project tsconfig.types.json",
910
"update-extensions": "ts-node update-extensions.ts"
1011
},
@@ -21,9 +22,9 @@
2122
],
2223
"types": "dist/index.d.ts",
2324
"dependencies": {
25+
"@codingame/monaco-emacs": "^0.2.2",
2426
"delay": ">=5.0.0",
2527
"monaco-editor": "npm:@codingame/monaco-editor@^0.31.8",
26-
"monaco-emacs": "^0.2.2",
2728
"monaco-vim": "^0.1.19",
2829
"vscode-oniguruma": "^1.6.1"
2930
},
@@ -83,4 +84,4 @@
8384
"not IE 11",
8485
"not IE_Mob 11"
8586
]
86-
}
87+
}

src/keybindings/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as monaco from 'monaco-editor'
2-
import EmacsExtension from 'monaco-emacs'
2+
import EmacsExtension from '@codingame/monaco-emacs'
33
import { updateKeybindings } from './keybindingHelper'
44
import { initVimMode } from './vim'
55

0 commit comments

Comments
 (0)