Skip to content

Commit

Permalink
Spaces have been added and the "NPM script" has been translated.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-kim committed Sep 14, 2018
1 parent 5a8282d commit 207e880
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
23 changes: 11 additions & 12 deletions docs/ko/npm_scripts.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,43 @@
# NPM Scripts

To help eliminate redundant tasks around the development process, please take note of some of the NPM scripts available to you. The following commands should be ran from your project's root directory. And of course, you can run any of the below commands using `yarn run <command>`.
개발 프로세스에 대한 중복 작업을 제거하려면, 사용 가능한 NPM 스크립트 중 일부를 기록해 두세요. 다음 명령은 프로젝트의 루트 디렉토리에서 실행해야합니다. `yarn run <command>`를 사용하여 아래 명령어 중 하나를 실행할 수도 있습니다.

### `npm run build`

Build your app for production and package. More info can be found in the [**Building Your App**](building_your_app.md) section.
프로덕션과 패키지 용 앱을 빌드 합니다. 더 자세한 정보는 [**Building Your App**](building_your_app.md) 섹션을 참조하세요.

### `npm run dev`

Run app in development.
개발 중인 앱을 실행합니다.

### `npm run lint`

Lint all your `src/`'s and `test/`'s JS & Vue component files.
모든 `src/``test/` JS & Vue component 파일을 Lint 합니다.

### `npm run lint:fix`

Lint all your `src/`'s and `test/`'s JS & Vue component files and attempt to fix issues.
모든 `src/``test/` JS & Vue component 파일을 Lint하고 문재 해결을 시도합니다.

### `npm run pack`

Run both `npm run pack:main` & `npm run pack:renderer`. Although these commands are available, there are not many cases where you will need to manually do this as `npm run build` will handle this step.
`npm run pack:main` & `npm run pack:renderer` 둘 다 실행합니다. 이러한 명령어를 사용 할 수 있지만, `npm run build`로 이 단계를 처리 할 때 수동으로 수행하는 경우는 많지 않습니다.

### `npm run pack:main`

Run webpack to bundle `main` process source code.
`main` 프로세스 소스 코드를 번들하기 위해 webpack을 실행합니다.

### `npm run pack:renderer`

Run webpack to bundle `renderer` process source code.
`renderer` 프로세스 소스 코드를 번들하기 위해 webpack을 실행합니다.

### `npm run unit`

Run unit tests with Karma + Jasmine. More information on [**Unit Testing**](unittesting.md).
Karma와 Jasmine로 단위 테스트를 실행합니다. 자세한 내용은 [**Unit Testing**](unittesting.md)를 참조하세요.

### `npm run e2e`

Run end-to-end tests with Spectron + Mocha. More information on [**End-to-end Testing**](end-to-end_testing.md).
Spectron + Mocha로 end-to-end 테스트를 실행합니다. 자세한 내용은 [**End-to-end Testing**](end-to-end_testing.md)를 참조하세요.

### `npm test`

Runs both `npm run unit` & `npm run e2e`. More information on [**Testing**](testing.md).

`npm run unit` & `npm run e2e` 둘 다 실행합니다. 자세한 내용은 [**Testing**](testing.md)을 참조하세요.
2 changes: 1 addition & 1 deletion docs/ko/project_structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ electron-vue 프로젝트 구조는 Electron App을 만들 때와 조금 다릅

### 단일 `package.json` 설정

예전에는 두 개의 `package.json` 설정이 필요 했지만 [@electron-userland](https://github.com/electron-userland)의 노력 덕분에 [`electron-packager`](https://github.com/electron-userland/electron-packager)[`electron-builder`](https://github.com/electron-userland/electron-builder) 둘다 지금은 완전히 단일 `package.json` 설정을 지원합니다.
예전에는 두 개의 `package.json` 설정이 필요 했지만 [@electron-userland](https://github.com/electron-userland)의 노력 덕분에 [`electron-packager`](https://github.com/electron-userland/electron-packager)[`electron-builder`](https://github.com/electron-userland/electron-builder) 둘 다 지금은 완전히 단일 `package.json` 설정을 지원합니다.

#### `dependencies`

Expand Down

0 comments on commit 207e880

Please sign in to comment.