Commit e1f33e45 authored by David Sveningsson's avatar David Sveningsson
Browse files

emacs: reconfigure projectile for npm

parent 61cb1e42
......@@ -504,7 +504,14 @@ Enable ~~lsp-mode~~ for selected languages
(projectile-mode +1)
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map))
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
(projectile-register-project-type 'npm '("package.json")
:project-file "package.json"
:configure "npm install"
:compile "npm run build"
:test "npm test"
:run "npm start"
:test-suffix ".spec"))
Use counsel for projectile as well:
#+BEGIN_SRC emacs-lisp
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment