Skip to content

Commit 2481168

Browse files
authored
Added guideline for using dependencies-dev in package file. (#63)
1 parent fb02626 commit 2481168

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

guidelines/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,15 @@ This is a hash of dependencies. The keys are the package names, and the values a
9595
}
9696
```
9797

98+
### dependencies-dev (optional)
99+
100+
This is a hash of dependencies only needed during development. Like the `dependencies` array, the keys are the package names, and the values are the version specifiers; `'master'` or a tagged release can be used as the identifier. These development dependencies are installed by adding the `-d` or `--dev` flags to the `bpkg install` command.
101+
102+
```json
103+
"dependencies-dev": {
104+
"term": "0.0.1"
105+
}
106+
```
98107

99108
## Packaging best practices
100109

0 commit comments

Comments
 (0)