29 lines
826 B
EmacsLisp
29 lines
826 B
EmacsLisp
|
#!/usr/bin/emacs --script
|
||
|
;;; install.el --- JavaScript layer dependencies installation script
|
||
|
;;
|
||
|
;; Copyright (c) 2012-2017 Sylvain Benner & Contributors
|
||
|
;;
|
||
|
;; Author: Eugene "JAremko" Yaremenko <w3techplayground@gmail.com>
|
||
|
;; URL: https://github.com/syl20bnr/spacemacs
|
||
|
;;
|
||
|
;; This file is not part of GNU Emacs.
|
||
|
;;
|
||
|
;;; License: GPLv3
|
||
|
|
||
|
(load (expand-file-name "../../lib/deps-install-helpers.el"
|
||
|
(file-name-directory
|
||
|
load-file-name)) nil t)
|
||
|
|
||
|
(with-installed (curl)
|
||
|
(install npm)
|
||
|
($ "npm cache clean -f"
|
||
|
"npm install -g n"
|
||
|
"n stable"
|
||
|
"curl -L https://npmjs.org/install.sh | sh"
|
||
|
"npm install csslint -g"
|
||
|
"npm install httpd-node"
|
||
|
"npm install tern -g"
|
||
|
"npm install js-beautify -g"
|
||
|
"npm install eslint -g"
|
||
|
"npm install jshint -g"))
|