You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by em...@apache.org on 2021/12/01 04:11:33 UTC
[incubator-age-viewer] branch main updated: add script for back-side es6 transform to pure js
This is an automated email from the ASF dual-hosted git repository.
emotionbug pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-age-viewer.git
The following commit(s) were added to refs/heads/main by this push:
new eb66e8c add script for back-side es6 transform to pure js
eb66e8c is described below
commit eb66e8c4f9ccf0d9df1183d194acfee4054a7cb8
Author: Hanbyeol Shin / 신한별 <76...@users.noreply.github.com>
AuthorDate: Wed Dec 1 13:11:28 2021 +0900
add script for back-side es6 transform to pure js
Add script for transform from ES6 to pureJs on backend
---
README.md | 1 +
package.json | 1 +
2 files changed, 2 insertions(+)
diff --git a/README.md b/README.md
index a29a9d6..0ce67a5 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ npm run start
```
npm run setup-backend
npm run build-front
+npm run build-back
pm2 stop ag-viewer-develop
pm2 delete ag-viewer-develop
pm2 start ecosystem.config.js
diff --git a/package.json b/package.json
index 3bc75c8..b755aba 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
"setup-backend": "cd backend && npm install",
"front": "cd frontend && npm run start",
"build-front": "cd frontend && npm install && npm run build",
+ "build-back": "cd backend && npm install && npm run build",
"backend": "cd backend && npm run start",
"deploy": "npm-run-all build-front backend",
"start": "npm-run-all --parallel backend front"