mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 12:06:41 +00:00
It was time to split the environment related stuff out to ~/.zshenv, leaving my ~/.zshrc file specifically for setup of interactive shells.
43 lines
705 B
Bash
Executable File
43 lines
705 B
Bash
Executable File
#
|
|
# Node.js
|
|
#
|
|
|
|
# Aliases
|
|
alias no="node"
|
|
alias np="npm"
|
|
alias ni="npm install"
|
|
alias ngi="npm install -g"
|
|
alias cof="coffee"
|
|
alias tl="tldr"
|
|
|
|
install_node_global_packages () {
|
|
local packages=(
|
|
@prettier/plugin-php
|
|
@prettier/plugin-ruby
|
|
@prettier/plugin-xml
|
|
appcenter-cli
|
|
eslint
|
|
eslint-config-prettier
|
|
eslint-plugin-prettier
|
|
eslint_d
|
|
htmllint-cli
|
|
httpsnippet
|
|
javascript-typescript-langserver
|
|
js-beautify
|
|
jsonlint
|
|
localtunnel
|
|
markdown-it
|
|
mermaid.cli
|
|
prettier
|
|
prettier-plugin-toml
|
|
stylelint
|
|
tslint
|
|
typescript
|
|
typescript-formatter
|
|
uuid-cli
|
|
vscode-css-languageserver-bin
|
|
)
|
|
|
|
npm install -g "${packages[@]}"
|
|
}
|