Skip to content

Commit

Permalink
Merge pull request #98 from zhuangya/missing-package-json
Browse files Browse the repository at this point in the history
add: missing package.json
  • Loading branch information
kohei-takata committed Mar 6, 2016
2 parents 3417bd9 + bf741d3 commit fc3da0a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions exercises/hello_react/problem.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can change `learnyoureact` to any name you like.

Start by installing the required modules. Run this command:

`$ npm install react react-dom express body-parser [email protected] [email protected]`
`$ npm install --save react react-dom express body-parser [email protected] [email protected]`

You can see `node_modules` directory maked.
Files of module is in the directory.
Expand All @@ -18,8 +18,9 @@ Folder structure is below.

```
learnyoureact
├── program.js
└── node_modules
├── node_modules/
├── package.json
└── program.js
```

Copy the code below into `program.js`.
Expand Down
7 changes: 4 additions & 3 deletions exercises/hello_react/problem.ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ package.json 하여 npm 은 어느 폴더에 패키지 를 설치 하거나 판

필요한 모듈을 설치하려면 밑의 명령을 실행해 보세요.

`$ npm install react react-dom express body-parser [email protected] [email protected]`
`$ npm install --save react react-dom express body-parser [email protected] [email protected]`

이제 `node_modules` 디렉터리가 만들어진 것을 볼 수 있습니다.

그런 다음, `program.js`를 만듭니다 폴더 구조는 다음과 같습니다.

```
learnyoureact
├── program.js
└── node_modules
├── node_modules/
├── package.json
└── program.js
```

`program.js`에 다음 코드를 복사하세요.
Expand Down
7 changes: 4 additions & 3 deletions exercises/hello_react/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package.jsonによって、npmはどのフォルダにパッケージをイン
それができたら、そのフォルダの中にモジュールをインストールしましょう。
以下のコマンドを実行してください。

`$ npm install react react-dom express body-parser [email protected] [email protected]`
`$ npm install --save react react-dom express body-parser [email protected] [email protected]`

`node_modules` というフォルダが作成されたかと思います。その中にモジュールのフォルダがあります。

Expand All @@ -19,8 +19,9 @@ package.jsonによって、npmはどのフォルダにパッケージをイン

```
learnyoureact
├── program.js
└── node_modules
├── node_modules/
├── package.json
└── program.js
```

`program.js` には以下のように記述してください。
Expand Down

0 comments on commit fc3da0a

Please sign in to comment.