 ;;; Javascript
 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
 (add-to-list 'auto-mode-alist '("\\.html$" . web-mode))
+(add-to-list 'auto-mode-alist '("package\\.json" . json-mode))
+(add-to-list 'auto-mode-alist '("\\.babelrc" . json-mode))
 (add-hook 'js2-mode-hook
           (lambda ()
             (local-set-key (kbd "RET") 'newline-and-indent)

;; Override disabled keys
(put 'downcase-region 'disabled nil)

;;; Load environment from shell
(when window-system
  (exec-path-from-shell-initialize))

                           web-mode

                           ; Misc
                           exec-path-from-shell
                           find-file-in-repository
                           ido-ubiquitous
                           smex))



(when (not package-archive-contents)
  (package-refresh-contents))
