Subscribed unsubscribe Subscribe Subscribe

hasen's tech life

Twitter: @hasen

platoでJavaScriptの静的解析をした.

JavaScript Development Test

# platoでJavaScriptの静的解析をした.

$ cd /usr/local/src
$ sudo curl -L git.io/nodebrew | perl - setup
> ... (省略)
$ echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bashrc
$ nodebrew install-binary stable
> ... (省略)
$ nodebrew list
> v7.1.0
>
> current: none
$ nodebrew use v7.1.0
> use v7.1.0
$ node -v
> v7.1.0
$ npm install -g plato
> ... (省略)
$ plato -r -d DIR -x .json -t "TEST_NAME" PATH/TO/JS_DIR/
> done!
$ open DIR/index.html

f:id:hasen-fus:20161117091150p:plain