Add script for starting live version locally (#2855) rizwan

* Create start live version locally script

* Fix issues
This commit is contained in:
Rizwan Mustafa 2022-04-24 18:11:54 +05:00 committed by GitHub
parent 6509fe105e
commit d65fcff79d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1050 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,6 +4,7 @@
"license": "GPL-3.0",
"private": true,
"scripts": {
"live": "npm run build:live && cd public && npx serve -p 5000",
"audit": "npx webpack --config ./webpack/config.audit.js",
"dep-graph": "madge -c -i \"dep-graph.png\" ./src/scripts",
"build": "npx gulp build",
@ -40,6 +41,7 @@
"mini-css-extract-plugin": "2.6.0",
"sass": "1.49.9",
"sass-loader": "12.6.0",
"serve": "13.0.2",
"stream-browserify": "3.0.0",
"string-replace-loader": "3.1.0",
"ts-loader": "9.2.6",

View file

@ -4,6 +4,7 @@
"license": "GPL-3.0",
"private": true,
"scripts": {
"live": "concurrently --kill-others \"cd frontend && npm run live\" \"cd backend && npm run start\"",
"audit:fe": "cd frontend && npm run audit",
"dev": "concurrently --kill-others \"npm run dev:fe\" \"npm run dev:be\"",
"dev:be": "cd backend && npm run dev",