mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
98e8e2f8bc
``` deno install --dev npm:chalk ``` Adds to `devDependencies` if a `package.json` is present, otherwise it just adds to `imports` in `deno.json`
16 lines
294 B
Text
16 lines
294 B
Text
{
|
|
"tempDir": true,
|
|
"steps": [
|
|
{
|
|
"args": "install --dev npm:@denotest/esm-basic",
|
|
"output": "install.out"
|
|
},
|
|
{
|
|
"args": [
|
|
"eval",
|
|
"console.log(Deno.readTextFileSync('package.json').trim())"
|
|
],
|
|
"output": "package.json.out"
|
|
}
|
|
]
|
|
}
|