-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdirectories.ts
52 lines (43 loc) · 1.07 KB
/
directories.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/**
* @file Directories
* @module pkg-types/Directories
*/
/**
* Package structure.
*
* @see https://docs.npmjs.com/cli/v9/configuring-npm/package-json#directories
* @see https://classic.yarnpkg.com/en/docs/package-json#toc-directories
* @see https://wiki.commonjs.org/wiki/Packages/1.0#Package_Directory_Layout
*/
interface Directories {
[directory: string]: string | null
/**
* Relative path to directory containing executable files.
*/
bin?: string | null
/**
* Relative path to directory containing documentation.
*/
doc?: string | null
/**
* Relative path to directory containing package usage examples.
*/
example?: string | null
/**
* Relative path to directory containing distribution code.
*/
lib?: string | null
/**
* Relative path to directory containing man pages.
*/
man?: string | null
/**
* Relative path to directory containing source code.
*/
src?: string | null
/**
* Relative path to directory containing test files.
*/
test?: string | null
}
export type { Directories as default }