forked from SimulatedGREG/electron-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spaces have been added and the "NPM script" has been translated.
- Loading branch information
Showing
2 changed files
with
12 additions
and
13 deletions.
There are no files selected for viewing
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
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)을 참조하세요. |
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