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

Config - Add npmRegistry #667

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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