Skip to content

Commit

Permalink
add clean script for db
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoury committed Aug 29, 2024
1 parent b94c1bc commit aaba3d0
Show file tree
Hide file tree
Showing 2 changed files with 369 additions and 14 deletions.
19 changes: 5 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,7 @@
"engines": {
"node": ">=18"
},
"keywords": [
"web3",
"crypto",
"blockchain",
"move",
"verity",
"smart-contracts"
],
"keywords": ["web3", "crypto", "blockchain", "move", "verity", "smart-contracts"],
"author": "Ryan Soury <[email protected]>",
"license": "LGPL-2.1",
"bugs": {
Expand All @@ -27,6 +20,7 @@
"lint": "biome check src/",
"lint:fix": "biome check src/ --fix",
"clean": "del dist",
"clean:db": "del ./orchestrator/src/prisma/.db ./orchestrator/src/prisma/.db-*",
"prepare": "husky",
"format": "biome format src/ --fix",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org usherlabs --project verity-move-oracles ./dist && sentry-cli sourcemaps upload --org usherlabs --project verity-move-oracles ./dist",
Expand All @@ -39,6 +33,7 @@
"@types/mocha": "^10.0.7",
"@types/node": "^22.4.2",
"chalk": "^5.3.0",
"del-cli": "^5.1.0",
"husky": "^9.1.5",
"jest": "^29.7.0",
"lint-staged": "^15.2.9",
Expand All @@ -61,17 +56,13 @@
"tslog": "^4.9.3"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,json,jsonc}": [
"biome check --apply --no-errors-on-unmatched"
]
"*.{js,ts,cjs,mjs,d.cts,d.mts,json,jsonc}": ["biome check --apply --no-errors-on-unmatched"]
},
"prisma": {
"schema": "orchestrator/prisma/schema.prisma"
},
"tsup": {
"entry": [
"./orchestrator/src"
],
"entry": ["./orchestrator/src"],
"splitting": false,
"sourcemap": true,
"clean": true
Expand Down
Loading

0 comments on commit aaba3d0

Please sign in to comment.