var fs = require('fs');
var jsonData = {
isTest : true
}
「React.jsをちょっと試したい」って時に便利なテンプレートが公開されているのでご紹介。
このreact-simple-boilerplateを利用すると以下を設定済みの環境がすぐに利用出来るようになります。
- Webpack
- Babel
- ローカルホスト
- ESLint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| import glob | |
| def main(path, layer=0, is_root=False): | |
| tab = u" " | |
| if is_root is True: |
あくまで参考のコード
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
def main(stage, profile):
"""
main: プログラムの実行時に呼び出される
:param stage: 処理を実行するStage