Skip to content

Commit

Permalink
chore: adds npm script to fix README instructions (fix #904) (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvargas92495 authored Sep 16, 2020
1 parent ba78671 commit ff74fc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,13 @@ TOAST UI products are open source, so you can create a pull request(PR) after yo

### Setup

Fork `master` branch into your personal repository. Clone it to local computer. Install node modules. Before starting development, you should check to haveany errors.
Fork `master` branch into your personal repository. Clone it to local computer. Install node modules. Before starting development, you should check to see if there are any errors.

```sh
$ git clone https://github.com/{your-personal-repo}/tui.editor.git
$ cd [project-name]
$ npm install
$ npm run setup:libs
$ cd [project-name]/apps/editor
$ npm install
$ npm run test
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"build:uml": "lerna run --scope @toast-ui/editor-plugin-uml build",
"build:toastmark": "lerna run --scope @toast-ui/toastmark build",
"build:squire": "lerna run --scope @toast-ui/squire build",
"build:to-mark": "lerna run --scope @toast-ui/to-mark build"
"build:to-mark": "lerna run --scope @toast-ui/to-mark build",
"install:toastmark": "cd libs/toastmark && npm install",
"install:squire": "cd libs/squire && npm install",
"install:to-mark": "cd libs/to-mark && npm install",
"install:libs": "npm run install:toastmark && npm run install:squire && npm run install:to-mark",
"build:libs": "npm run build:toastmark && npm run build:squire && npm run build:to-mark",
"setup:libs": "npm run install:libs && npm run build:libs"
}
}

0 comments on commit ff74fc7

Please sign in to comment.