yarn global add ilsap
or
npm -g install ilsap
ilsap
| Process: nwjs [61266] | |
| Path: /Applications/Musicoin-wallet.app/Contents/MacOS/nwjs | |
| Identifier: io.nwjs-builder.musicoin-wallet | |
| Version: 0.8.0 (0.8.0) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: nwjs [61266] | |
| User ID: 501 | |
| Date/Time: 2018-01-23 10:50:29.232 +0100 |
| echo 'Installing brew' | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| echo 'Installing brew cask' | |
| brew install caskroom/cask/brew-cask && brew tap caskroom/versions | |
| echo 'Installing ssh' | |
| brew install libssh | |
| echo 'Installing npm and node' |
| printf "FROM ubuntu:latest \nRUN apt-get update; apt-get -y install openssh-client \nCMD rm /keys/id_rsa*; ssh-keygen -q -t rsa -N '' -f /keys/id_rsa" > Dockerfile | |
| docker build -t keygen-container . | |
| docker run -v $(pwd)/keys:/keys keygen-container |
| # place this after nvm initialization! | |
| autoload -U add-zsh-hook | |
| load-nvmrc() { | |
| local node_version="$(nvm version)" | |
| local nvmrc_path="$(nvm_find_nvmrc)" | |
| if [ -n "$nvmrc_path" ]; then | |
| local nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") | |
| if [ "$nvmrc_node_version" != "N/A" ] && [ "$nvmrc_node_version" != "$node_version" ]; then |
| Method | Side effects1 | State updates2 | Example uses |
|---|---|---|---|
| Mounting | |||
componentWillMount |
✓ | Constructor equivalent for createClass |
|
render |
Create and return element(s) | ||
componentDidMount |
✓ | ✓ | DOM manipulations, network requests, etc. |
| Updating | |||
componentWillReceiveProps |
✓ | Update state based on changed props |