mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
826e42a5b5
* cts support * better cjs/cts type checking * deno compile cjs/cts support * More efficient detect cjs (going towards stabilization) * Determination of whether .js, .ts, .jsx, or .tsx is cjs or esm is only done after loading * Support `import x = require(...);` Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
27 lines
534 B
Text
27 lines
534 B
Text
{
|
|
"tempDir": true,
|
|
"steps": [{
|
|
"args": "install",
|
|
"output": "[WILDCARD]"
|
|
}, {
|
|
"if": "unix",
|
|
"args": "compile --output main main.js",
|
|
"output": "compile.out"
|
|
}, {
|
|
"if": "unix",
|
|
"commandName": "./main",
|
|
"args": [],
|
|
"output": "output.out",
|
|
"exitCode": 0
|
|
}, {
|
|
"if": "windows",
|
|
"args": "compile --output main.exe main.js",
|
|
"output": "compile.out"
|
|
}, {
|
|
"if": "windows",
|
|
"commandName": "./main.exe",
|
|
"args": [],
|
|
"output": "output.out",
|
|
"exitCode": 0
|
|
}]
|
|
}
|