Skip to content

Commit 6f29c02

Browse files
committed
switch to typescript for frontend code
1 parent ef1ecc2 commit 6f29c02

File tree

8 files changed

+843
-503
lines changed

8 files changed

+843
-503
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@echo off
2+
setlocal
3+
pushd %~dp0
4+
npm run build
5+
popd

DisCatSharp.Extensions.Translations.Manager/package-lock.json

Lines changed: 144 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"devDependencies": {
3+
"typescript": "5.9.3",
4+
"terser": "^5.16.1"
5+
},
6+
"scripts": {
7+
"build:ts": "npx tsc -p wwwroot/tsconfig.json",
8+
"build:minify": "npx terser wwwroot/app.js -b --rename -c -m --source-map \"content=wwwroot/app.js.map,url=app.js.map\" -o wwwroot/app.js",
9+
"build": "npm run build:ts && npm run build:minify"
10+
}
11+
}

0 commit comments

Comments
 (0)