mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/javascript: update packages.el
This commit is contained in:
@ -1,28 +1,10 @@
|
|||||||
;; -*- no-byte-compile: t; -*-
|
;; -*- no-byte-compile: t; -*-
|
||||||
;;; lang/javascript/packages.el
|
;;; lang/javascript/packages.el
|
||||||
|
|
||||||
(package! js2-mode)
|
|
||||||
(package! jsx-mode)
|
|
||||||
(package! coffee-mode)
|
(package! coffee-mode)
|
||||||
(package! tern)
|
(package! company-tern :needs +company)
|
||||||
(package! company-tern)
|
(package! js2-mode)
|
||||||
(package! js2-refactor)
|
(package! js2-refactor)
|
||||||
|
(package! jsx-mode)
|
||||||
|
(package! tern)
|
||||||
|
|
||||||
(bootstrap! javascript
|
|
||||||
"Sets up NodeJS, the TrepanJS debugger."
|
|
||||||
|
|
||||||
:if-arch
|
|
||||||
(unless (and (executable-find "node")
|
|
||||||
(executable-find "npm"))
|
|
||||||
(sudo "pacman --needed --noconfirm -S nodejs npm"))
|
|
||||||
|
|
||||||
;; :if-deb
|
|
||||||
;; TODO
|
|
||||||
|
|
||||||
:if-macos
|
|
||||||
(unless (executable-find "node")
|
|
||||||
(sh "brew install node"))
|
|
||||||
|
|
||||||
:after
|
|
||||||
(unless (executable-find "tern")
|
|
||||||
(sh "npm -g install trepanjs tern")))
|
|
||||||
|
Reference in New Issue
Block a user