lang/javascript: update packages.el
This commit is contained in:
parent
7bdf7e4ecb
commit
55e4434d77
1 changed files with 4 additions and 22 deletions
|
@ -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")))
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue