Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
update run script
Browse files Browse the repository at this point in the history
  • Loading branch information
vabarbosa committed Jan 28, 2021
1 parent 0dd6294 commit f3020b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ $ npm run build
$ npm start
```

http://localhost:5000/
> _To watch changes and rebuild automatically run with `npm run watch`_
After the appilcation has started access the site at: http://localhost:5000/

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"scripts": {
"textbook-start": "cd textbook/ && npm run start",
"textbook-watch": "cd textbook/ && npm run dev",
"ui-watch": "cd textbook-ui/ && npm run build",
"build": "cd textbook/ && npm install && cd ../textbook-ui && npm install",
"start": "npm-run-all --parallel textbook-start ui-watch"
"start": "npm run textbook-start",
"watch": "npm-run-all --parallel textbook-watch ui-watch"
},
"dependencies": {},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion textbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"server": "mathigon-server",
"watch": "gulp watch",
"build": "gulp --max-old-space-size=8192",
"start": "npm run build && npm-run-all --parallel server watch",
"start": "npm run build && npm run server",
"dev": "npm run build && npm-run-all --parallel server watch",
"lint": "eslint . --ext .ts --fix"
},
"engines": {
Expand Down

0 comments on commit f3020b2

Please sign in to comment.