Skip to content

Commit

Permalink
use @eggjs/scripts v4
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 31, 2024
1 parent 07ac2b3 commit 6dac52f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions hello-tegg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"private": true,
"description": "tegg application example",
"scripts": {
"start": "egg-scripts start",
"stop": "egg-scripts stop",
"start": "eggctl start --daemon",
"stop": "eggctl stop",
"dev": "egg-bin dev",
"test-local": "egg-bin test",
"pretest": "npm run clean && npm run lint -- --fix",
Expand All @@ -22,13 +22,13 @@
},
"license": "MIT",
"dependencies": {
"@eggjs/scripts": "^4.0.0",
"@eggjs/tegg": "^3.2.1",
"@eggjs/tegg-config": "^3.1.0",
"@eggjs/tegg-controller-plugin": "^3.2.1",
"@eggjs/tegg-plugin": "^3.2.1",
"@eggjs/tsconfig": "^1.2.0",
"egg": "beta",
"egg-scripts": "^3.1.0"
"egg": "beta"
},
"devDependencies": {
"@types/mocha": "10",
Expand Down
8 changes: 4 additions & 4 deletions helloworld/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "helloworld",
"dependencies": {
"egg": "beta",
"egg-scripts": "^3.1.0"
"@eggjs/scripts": "^4.0.0",
"egg": "beta"
},
"devDependencies": {
"@eggjs/bin": "7",
Expand All @@ -15,8 +15,8 @@
"typescript": "5"
},
"scripts": {
"start": "egg-scripts start",
"stop": "egg-scripts stop",
"start": "eggctl start --daemon",
"stop": "eggctl stop",
"lint": "eslint . --ext .ts",
"predev": "npm run clean && npm run lint -- --fix",
"dev": "egg-bin dev",
Expand Down

0 comments on commit 6dac52f

Please sign in to comment.