feat: add a debug read-config script

This commit is contained in:
diced 2022-08-26 20:06:57 -07:00
parent a454a4f4a8
commit 2e8bee931c
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1
2 changed files with 9 additions and 1 deletions

View file

@ -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",

View file

@ -0,0 +1,3 @@
import config from 'lib/config';
console.log(JSON.stringify(config, null, 2));