From 9b7abc50d353a8d1973cf1700b43e634d6b30709 Mon Sep 17 00:00:00 2001 From: Andrew Dassonville Date: Sat, 30 Sep 2017 12:49:17 -0700 Subject: [PATCH] Add more JavaScript-like languages --- lib/constants.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/constants.js b/lib/constants.js index 6e7c8db..75cce52 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -181,6 +181,12 @@ export const LANGUAGES = [ name: 'JavaScript', mode: 'javascript' }, + { + name: 'JSON', + mode: 'javascript', + mime: 'application/json', + short: 'json' + }, { name: 'JSX', mode: 'jsx' @@ -280,6 +286,12 @@ export const LANGUAGES = [ name: 'TCL', mode: 'tcl' }, + { + name: 'TypeScript', + mode: 'javascript', + mime: 'application/typescript', + short: 'typescript' + }, { name: 'VB.NET', mode: 'vb'