Skip to content

Commit dcff792

Browse files
author
Kuniwak
committed
We can setup by exec "npm run setup"
1 parent 31aa63a commit dcff792

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ JavaScript 初心者が JS の未来を見据えつつ、基礎をひととお
1313

1414
git clone https://github.com/mixi-inc/JavaScriptTraining.git
1515
cd JavaScriptTraining
16-
npm install
16+
npm run setup
1717

1818

1919
2. webサーバーを立ち上げる
2020

2121
下のコマンドを端末で実行してください。なお、トレーニング中は
2222
このコマンドを終了しないでください。
2323

24-
$(npm bin)/gulp serve
24+
npm run serve
2525

2626

2727
3. トップページにアクセスする

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "Training course repository for JavaScript by mixi",
55
"main": "index.js",
66
"scripts": {
7-
"help": "$(npm bin)/gulp help"
7+
"setup": "npm install; (cd public; bower install)",
8+
"help": "$(npm bin)/gulp help",
9+
"serve": "$(npm bin)/gulp serve"
810
},
911
"repository": {
1012
"type": "git",

0 commit comments

Comments
 (0)