You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
### **General info**
4
4
Dyarn: the Deno runner help.
5
5
6
-
After the Disq Code Bot team discovered Deno and some of it's magic with typescript, we decided using it instead of Node. But we only missed two little things: the ```package.json``` with it's scripts property and the ```yarn <script>``` (or ```npm run <script>``` if you prefer). So we created dyarn, to help you with running scripts using config.json file that is supported by Deno and that latter be automatically imported (based on Deno's documentation: https://deno.land/manual@v1.17.1/getting_started/configuration_file).
6
+
After the Disq Code Bot team discovered Deno and some of it's magic with typescript, we decided using it instead of Node. But we only missed two little things: the ```package.json``` with it's scripts property and the ```yarn <script>``` (or ```npm run <script>``` if you prefer). So we created dyarn, to help you with running scripts using deno.json file that is supported by Deno and that latter be automatically imported (based on Deno's documentation: https://deno.land/manual/getting_started/configuration_file).
7
7
8
8
We plan on maybe adding some more things that we miss from Node's packages managers, to make Deno workflow even more efficient.
> **Note**: You must give run and read permissions, to script (if not given at install you'll be prompted at runtime, but we highly recomed to grant at install, we are trying to make things easier, not adding additional prompts). Otherwise, script won't be able to access/run required files
27
27
28
28
***...Usage**
29
-
After installing, in your project's root directory, add a ```config.json``` file where we'l add the scripts config:
29
+
After installing, in your project's root directory, add a ```deno.json``` file where we'l add the scripts config:
30
30
31
-
> [more about the config file](#Uninstalling)
31
+
> [more about the config file](#emconfigs-fileem)
32
32
33
33
```json
34
34
{
@@ -62,9 +62,9 @@ deno uninstall dyarn
62
62
63
63
---
64
64
### *Configs file*
65
-
As our objective is to make you life a little easier with Deno commands, adding a custom config file or adding more flags, well... wouldn't help a lot. So by default (you may if you wan't, change this with the: ``` --config={path} ``` flag after dyarn invoker) dyarn uses Deno recommended config file name (and later auto identifiable file by Deno): ```config.json```.
65
+
As our objective is to make you life a little easier with Deno commands, adding a custom config file or adding more flags, well... wouldn't help a lot. So by default (you may if you wan't, change this with the: ``` --config={path} ``` flag after dyarn invoker) dyarn uses Deno recommended config file name (and later auto identifiable file by Deno): ```deno.json```.
66
66
67
-
All dyarn options should be passed inside the ```dyarnOptions``` keys inside the config.json file.
67
+
All dyarn options should be passed inside the ```dyarnOptions``` keys inside the deno.json file.
0 commit comments