mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-21 03:12:10 +08:00
Refactor: npm run dev script
This commit is contained in:
parent
ac9962f622
commit
15fe2c07f3
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
open -a Terminal.app "start-daemon.sh"
|
||||
open -a Terminal.app "start-panel.sh"
|
||||
./start-frontend.sh
|
||||
open -a Terminal.app "npm run start-daemon"
|
||||
open -a Terminal.app "npm run start-panel"
|
||||
npm run start-frontend
|
||||
|
@ -1,4 +1,5 @@
|
||||
start start-daemon.bat
|
||||
start start-panel.bat
|
||||
start-frontend.bat
|
||||
start npm run start-daemon
|
||||
start npm run start-panel
|
||||
npm run start-frontend
|
||||
|
||||
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "mcsmanager-root",
|
||||
"name": "mcsmanager-workspace",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mcsmanager-root",
|
||||
"name": "mcsmanager-workspace",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {
|
||||
"crc": "^4.3.2",
|
||||
|
@ -1,9 +1,12 @@
|
||||
{
|
||||
"name": "mcsmanager-root",
|
||||
"name": "mcsmanager-workspace",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"i18n": "i18next-scanner --config i18-scanner.config.js",
|
||||
"preview-build": "cd common && npm install && npm run build"
|
||||
"preview-build": "cd common && npm install && npm run build",
|
||||
"start-daemon": "cd daemon && npm run dev",
|
||||
"start-frontend": "cd frontend && npm run dev",
|
||||
"start-panel": "cd panel && npm run dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"crc": "^4.3.2",
|
||||
|
@ -1,4 +0,0 @@
|
||||
cd daemon
|
||||
npm run dev
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_directory=$(dirname "$0")
|
||||
cd "$script_directory"/daemon
|
||||
npm run dev
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
cd frontend
|
||||
npm run dev
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_directory=$(dirname "$0")
|
||||
cd "$script_directory"/frontend
|
||||
npm run dev
|
||||
|
||||
|
@ -1,4 +0,0 @@
|
||||
cd panel
|
||||
npm run dev
|
||||
|
||||
|
@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
script_directory=$(dirname "$0")
|
||||
cd "$script_directory"/panel
|
||||
npm run dev
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user