Last active
August 29, 2015 14:23
-
-
Save king-panda/af866b8df2c49dcfe0ff to your computer and use it in GitHub Desktop.
【Node.js】スプレッドシートからJSONファイルを生成するコマンドラインツール ref: http://qiita.com/kingpanda/items/aa52ab5368220ef0786f
This file contains 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
[ | |
{ | |
"id": 1, | |
"page": "トップページ", | |
"url": "/index.html", | |
"title": "ゴルゴ13|トップページ", | |
"discription": "超一流のスナイパー(狙撃手)「ゴルゴ13」ことデューク東郷の活躍を描く", | |
"template": "A" | |
}, | |
{ | |
"id": 2, | |
"page": "ゴルゴ13の実績", | |
"url": "/case/index.html", | |
"title": "ゴルゴ13の実績", | |
"discription": "超一流のスナイパー(狙撃手)「ゴルゴ13」のこれまでの凄い仕事を紹介する", | |
"template": "A" | |
}, | |
{ | |
"id": 3, | |
"page": " └新三大ゴルゴ13の物凄い仕事 ①", | |
"url": "/case/case01.html", | |
"title": "新三大ゴルゴ13の物凄い仕事 ①", | |
"discription": "新三大ゴルゴ13の物凄い仕事 ①", | |
"template": "B" | |
}, | |
{ | |
"id": 4, | |
"page": " └新三大ゴルゴ13の物凄い仕事 ②", | |
"url": "/case/case02.html", | |
"title": "新三大ゴルゴ13の物凄い仕事 ②", | |
"discription": "新三大ゴルゴ13の物凄い仕事 ②", | |
"template": "B" | |
}, | |
{ | |
"id": 5, | |
"page": " └新三大ゴルゴ13の物凄い仕事 ③", | |
"url": "/case/case03.html", | |
"title": "新三大ゴルゴ13の物凄い仕事 ③", | |
"discription": "新三大ゴルゴ13の物凄い仕事 ③", | |
"template": "B" | |
}, | |
{ | |
"id": 6, | |
"page": "ゴルゴ13への依頼方法", | |
"url": "/request/index.html", | |
"title": "ゴルゴ13への依頼方法", | |
"discription": "ゴルゴ13への依頼方法を紹介する。", | |
"template": "A" | |
}, | |
{ | |
"id": 7, | |
"page": "CIAとゴルゴ13", | |
"url": "/cia/index.html", | |
"title": "CIAとゴルゴ13", | |
"discription": "CIAとゴルゴ13の関係を紹介する。", | |
"template": "A" | |
} | |
] | |
This file contains 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
npm install --save-dev google-spreadsheet-to-json | |
This file contains 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
gsjson **spreadsheet ID** data.json | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment