mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-02 12:00:10 +08:00
Add script for starting live version locally (#2855) rizwan
* Create start live version locally script * Fix issues
This commit is contained in:
parent
6509fe105e
commit
d65fcff79d
3 changed files with 1050 additions and 0 deletions
1047
frontend/package-lock.json
generated
1047
frontend/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue