feat: add a debug read-config script
This commit is contained in:
parent
a454a4f4a8
commit
2e8bee931c
2 changed files with 9 additions and 1 deletions
|
@ -4,15 +4,20 @@
|
|||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "REACT_EDITOR=code NODE_ENV=development tsx src/server",
|
||||
|
||||
"build": "npm-run-all build:schema build:next",
|
||||
"build:next": "next build",
|
||||
"build:schema": "prisma generate --schema=prisma/schema.prisma",
|
||||
|
||||
"migrate:dev": "prisma migrate dev --create-only",
|
||||
"start": "tsx src/server",
|
||||
"lint": "next lint",
|
||||
|
||||
"docker:run": "docker-compose up -d",
|
||||
"docker:down": "docker-compose down",
|
||||
"docker:build-dev": "docker-compose --file docker-compose.dev.yml up --build"
|
||||
"docker:build-dev": "docker-compose --file docker-compose.dev.yml up --build",
|
||||
|
||||
"scripts:read-config": "tsx src/scripts/read-config"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dicedtomato/mantine-data-grid": "0.0.21",
|
||||
|
|
3
src/scripts/read-config.ts
Normal file
3
src/scripts/read-config.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import config from 'lib/config';
|
||||
|
||||
console.log(JSON.stringify(config, null, 2));
|
Loading…
Reference in a new issue