Skip to content

Commit

Permalink
update and sort package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Essential Randomness committed Jul 3, 2023
1 parent a7069e9 commit 5d6ced4
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,35 @@
"name": "bobaserver",
"version": "1.0.0",
"description": "Server for BobaBoard",
"homepage": "https://docs.bobaboard.com/",
"bugs": {
"url": "https://github.com/BobaBoard/boba-backend/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BobaBoard/boba-backend.git"
},
"license": "MIT",
"author": "BobaBoard Team",
"main": "dist/server/index.js",
"scripts": {
"build": "tsc && tsc-alias && copyfiles .env .env.prod firebase-sdk.json server/**/*.sql ./dist",
"deploy": "gcloud config set project bobaboard && gcloud app deploy --version live",
"dev:watch": "cross-env DEBUG=bobaserver:*,-*info DEBUG_DEPTH=10 nodemon --watch . --exec node -r tsconfig-paths/register -r ts-node/register server/index.ts -e yaml,ts,sql",
"open-api:docker": "docker compose -f docker-compose.open-api.test.yml run --rm test",
"open-api:generate": "node -r dotenv/config -r ts-node/register -r tsconfig-paths/register utils/generate-spec-file.ts dotenv_config_path=./.env.prod",
"open-api:typescript": "yarn run open-api:generate && openapi-zod-client ./open-api-spec.json -o ./types/open-api/generated/schemas.ts --export-schemas --template ./types/open-api/generated/schemas.hbs --with-alias && openapi-zod-client ./open-api-spec.json -o ./types/open-api/generated/types.ts --export-schemas --template ./types/open-api/generated/types.hbs --with-alias",
"open-api:validate": "yarn run open-api:generate && validate-api open-api-spec.json && openapi-examples-validator open-api-spec.json --ignore-formats color quill-delta && openapi lint open-api-spec.json --skip-rule=no-ambiguous-paths",
"stage": "gcloud config set project bobaboard && gcloud app deploy --quiet --version staging --no-promote",
"start": "cross-env DEBUG=bobaserver:*,-*info node -r dotenv/config dist/server/index.js dotenv_config_path=./.env.prod",
"build": "tsc && tsc-alias && copyfiles .env .env.prod firebase-sdk.json server/**/*.sql ./dist",
"start-db": "docker compose down && docker compose up",
"test:base": "cross-env DEBUG=bobaserver:*,-*info jest --runInBand --no-cache",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --no-cache",
"test": "yarn run test:base",
"test:watch": "yarn run test --watchAll",
"test:base": "cross-env DEBUG=bobaserver:*,-*info jest --runInBand --no-cache",
"test:changed": "yarn run test:base --watch --onlyChanged",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --no-cache",
"test:docker": "docker compose down && docker compose -f docker-compose.test.yml run --rm test",
"open-api:generate": "node -r dotenv/config -r ts-node/register -r tsconfig-paths/register utils/generate-spec-file.ts dotenv_config_path=./.env.prod",
"open-api:validate": "yarn run open-api:generate && validate-api open-api-spec.json && openapi-examples-validator open-api-spec.json --ignore-formats color quill-delta && openapi lint open-api-spec.json --skip-rule=no-ambiguous-paths",
"open-api:docker": "docker compose -f docker-compose.open-api.test.yml run --rm test",
"open-api:typescript": "yarn run open-api:generate && openapi-zod-client ./open-api-spec.json -o ./types/open-api/generated/schemas.ts --export-schemas --template ./types/open-api/generated/schemas.hbs --with-alias && openapi-zod-client ./open-api-spec.json -o ./types/open-api/generated/types.ts --export-schemas --template ./types/open-api/generated/types.hbs --with-alias",
"deploy": "gcloud config set project bobaboard && gcloud app deploy --version live",
"stage": "gcloud config set project bobaboard && gcloud app deploy --quiet --version staging --no-promote"
},
"repository": {
"type": "git",
"url": "git+https://github.com/essential-randomness/bobaserver.git"
"test:watch": "yarn run test --watchAll"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/essential-randomness/bobaserver/issues"
},
"homepage": "https://github.com/essential-randomness/bobaserver#readme",
"dependencies": {
"axios": "^0.21.2",
"body-parser": "^1.19.0",
Expand All @@ -54,23 +54,21 @@
"zod": "^3.20.2"
},
"devDependencies": {
"tsconfig-paths": "^3.11.0",
"ts-node": "^8.9.1",
"cross-env": "^7.0.2",
"@redocly/openapi-cli": "^1.0.0-beta.69",
"@seriousme/openapi-schema-validator": "^1.6.0",
"@types/clone": "^2.1.1",
"@types/cors": "^2.8.6",
"@types/debug": "^4.1.5",
"@types/express": "^4.17.6",
"@types/jest": "^27.0.2",
"@types/node": "^13.11.1",
"@types/pg": "^7.14.3",
"@types/redis": "^2.8.28",
"@types/supertest": "^2.0.8",
"@types/swagger-jsdoc": "^6.0.1",
"@types/uuid": "^8.0.0",
"@redocly/openapi-cli": "^1.0.0-beta.69",
"@seriousme/openapi-schema-validator": "^1.6.0",
"@types/jest": "^27.0.2",
"@types/supertest": "^2.0.8",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.2",
"jest": "^27.4.7",
"jest-extended": "^1.0.0",
"jest-junit": "^13.0.0",
Expand All @@ -79,7 +77,9 @@
"openapi-zod-client": "^1.5.3",
"supertest": "^4.0.2",
"ts-jest": "^27.0.5",
"ts-node": "^8.9.1",
"tsc-alias": "^1.8.6",
"tsconfig-paths": "^3.11.0",
"typescript": "^4.9.4"
}
}

0 comments on commit 5d6ced4

Please sign in to comment.