Skip to content

Commit aaba3d0

Browse files
committed
add clean script for db
1 parent b94c1bc commit aaba3d0

File tree

2 files changed

+369
-14
lines changed

2 files changed

+369
-14
lines changed

package.json

+5-14
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66
"engines": {
77
"node": ">=18"
88
},
9-
"keywords": [
10-
"web3",
11-
"crypto",
12-
"blockchain",
13-
"move",
14-
"verity",
15-
"smart-contracts"
16-
],
9+
"keywords": ["web3", "crypto", "blockchain", "move", "verity", "smart-contracts"],
1710
"author": "Ryan Soury <[email protected]>",
1811
"license": "LGPL-2.1",
1912
"bugs": {
@@ -27,6 +20,7 @@
2720
"lint": "biome check src/",
2821
"lint:fix": "biome check src/ --fix",
2922
"clean": "del dist",
23+
"clean:db": "del ./orchestrator/src/prisma/.db ./orchestrator/src/prisma/.db-*",
3024
"prepare": "husky",
3125
"format": "biome format src/ --fix",
3226
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org usherlabs --project verity-move-oracles ./dist && sentry-cli sourcemaps upload --org usherlabs --project verity-move-oracles ./dist",
@@ -39,6 +33,7 @@
3933
"@types/mocha": "^10.0.7",
4034
"@types/node": "^22.4.2",
4135
"chalk": "^5.3.0",
36+
"del-cli": "^5.1.0",
4237
"husky": "^9.1.5",
4338
"jest": "^29.7.0",
4439
"lint-staged": "^15.2.9",
@@ -61,17 +56,13 @@
6156
"tslog": "^4.9.3"
6257
},
6358
"lint-staged": {
64-
"*.{js,ts,cjs,mjs,d.cts,d.mts,json,jsonc}": [
65-
"biome check --apply --no-errors-on-unmatched"
66-
]
59+
"*.{js,ts,cjs,mjs,d.cts,d.mts,json,jsonc}": ["biome check --apply --no-errors-on-unmatched"]
6760
},
6861
"prisma": {
6962
"schema": "orchestrator/prisma/schema.prisma"
7063
},
7164
"tsup": {
72-
"entry": [
73-
"./orchestrator/src"
74-
],
65+
"entry": ["./orchestrator/src"],
7566
"splitting": false,
7667
"sourcemap": true,
7768
"clean": true

0 commit comments

Comments
 (0)