mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 10:19:20 +03:00
feat: added npm scripts
This commit is contained in:
parent
591dcdf634
commit
ce22ac9f92
@ -22,10 +22,6 @@
|
||||
"Database": "database",
|
||||
"Contracts": "contracts"
|
||||
},
|
||||
"commandsAliases": {
|
||||
"migrate": "migration:run",
|
||||
"seed": "db:seed"
|
||||
},
|
||||
"preloads": ["./routes/index", "./start/kernel"],
|
||||
"providers": ["./providers/AppProvider", "@adonisjs/core", "@adonisjs/lucid", "@adonisjs/auth", "@adonisjs/redis"],
|
||||
"aceProviders": ["@adonisjs/repl"]
|
||||
|
||||
@ -6,7 +6,14 @@
|
||||
"build": "node ace build --production",
|
||||
"start": "node server.js",
|
||||
"dev": "node ace serve --watch",
|
||||
"format": "prettier --write ."
|
||||
"format": "prettier --write \"**/*.{js,ts,tsx,css,json,md,yml,yaml}\"",
|
||||
"db:migrate": "node ace migration:run",
|
||||
"db:migrate:force": "node ace migration:run --force",
|
||||
"db:rollback": "node ace migration:rollback",
|
||||
"db:status": "node ace migration:status",
|
||||
"db:refresh": "node ace migration:refresh && npm run db:seed",
|
||||
"db:seed": "node ace db:seed",
|
||||
"db:seed:force": "node ace seed --force"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@adonisjs/assembler": "^5.3.2",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user