mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Add @types/node
This commit is contained in:
parent
91cebb78f0
commit
9b9a7d2bf2
4
build.ts
4
build.ts
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bun
|
#!/usr/bin/env bun
|
||||||
import { watch, readFile } from "node:fs/promises";
|
import { readFile } from "node:fs/promises";
|
||||||
|
|
||||||
enum BuildTarget {
|
enum BuildTarget {
|
||||||
ALL = 'all',
|
ALL = 'all',
|
||||||
@ -23,7 +23,7 @@ const postProcess = (str: string): string => {
|
|||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
const build = async (target: BuildTarget, config?: any={}) => {
|
const build = async (target: BuildTarget, config: any={}) => {
|
||||||
console.log('--- Building:', target);
|
console.log('--- Building:', target);
|
||||||
const startTime = performance.now();
|
const startTime = performance.now();
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
"build": "build.ts"
|
"build": "build.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest"
|
"@types/bun": "latest",
|
||||||
|
"@types/node": "^20.12.7"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "^5.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user