-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor backend stack to explicitly transpile code
In order to improve performance and avoid typescript issues during runtime, we are compiling first instead of transpiling on the fly. Signed-off-by: Jeremy Ho <[email protected]>
- Loading branch information
Showing
7 changed files
with
16 additions
and
7 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
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 |
---|---|---|
|
@@ -6,9 +6,12 @@ | |
"author": "NR Common Service Showcase <[email protected]>", | ||
"license": "Apache-2.0", | ||
"scripts": { | ||
"build": "ts-node ./frontend-utils.ts", | ||
"clean": "rimraf coverage dist", | ||
"clean:all": "npm run clean && ts-node ./frontend-utils.ts clean", | ||
"build": "tsc", | ||
"build:all": "ts-node ./frontend-utils.ts", | ||
"postbuild:all": "npm run build", | ||
"clean": "rimraf coverage dist sbin", | ||
"clean:all": "ts-node ./frontend-utils.ts clean", | ||
"postclean:all": "npm run clean", | ||
"debug": "ts-node-dev --debug --respawn --transpile-only --rs --watch bin,config,dist ./bin/www", | ||
"format": "prettier ./src --write", | ||
"lint": "eslint . **/www* --no-fix --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore", | ||
|
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