-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor build output structure
- Loading branch information
1 parent
c624814
commit c7f5884
Showing
9 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,13 @@ | |
"version": "2.0.0", | ||
"scripts": { | ||
"prebuild": "yarn clean", | ||
"build": "yarn clean && tsc && cp package.json dist/", | ||
"build": "yarn clean && tsc", | ||
"clean": "rimraf dist", | ||
"dev": "NODE_ENV=development yarn build && yarn node ./dist/src/server.js", | ||
"dev": "NODE_ENV=development yarn build && yarn node ./dist/server.js", | ||
"lint": "eslint ./src/**/*.ts", | ||
"start": "yarn build && yarn node ./dist/src/server.js", | ||
"start:profiler": "yarn build && NODE_ENV=production yarn node --prof ./dist/src/server.js", | ||
"test-performance": "yarn ts-node-dev ./scripts/performance/index.ts", | ||
"start": "yarn build && yarn node ./dist/server.js", | ||
"start:profiler": "yarn build && NODE_ENV=production yarn node --prof ./dist/server.js", | ||
"test-performance": "yarn build && yarn node ./dist/scripts/performance/index.ts", | ||
"test": "BLOCKFROST_PROJECT_ID='none' vitest", | ||
"coverage": "vitest run --coverage", | ||
"type-check": "tsc --project tsconfig.json" | ||
|
@@ -59,6 +59,6 @@ | |
"node": ">=16" | ||
}, | ||
"type": "module", | ||
"main": "dist/src/server.js", | ||
"main": "dist/server.js", | ||
"packageManager": "[email protected]" | ||
} |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
scripts/performance/index.ts → src/scripts/performance/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters