Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
Config - Add npmRegistry (#667)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Whinnery <[email protected]>
  • Loading branch information
marcushultman and kwhinnery authored Sep 15, 2023
1 parent 1154135 commit 1eb97b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions getting_started/configuration_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ Used to specify a different file name for the lockfile. By default deno will use

Used to enable or disable the `node_modules` directory when using npm packages.

## `npmRegistry`

Used to specify a custom npm registry for npm specifiers.

## `compilerOptions`

`deno.json` can also act as a TypeScript configuration file and supports
Expand Down Expand Up @@ -148,6 +152,7 @@ See also
},
"lock": false,
"nodeModulesDir": true,
"npmRegistry": "https://mycompany.net/artifactory/api/npm/virtual-npm",
"test": {
"include": ["src/"],
"exclude": ["src/testdata/", "data/fixtures/**/*.ts"]
Expand Down

0 comments on commit 1eb97b2

Please sign in to comment.