-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscripts.ts
47 lines (44 loc) · 958 Bytes
/
scripts.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
/**
* @file Scripts
* @module pkg-types/Scripts
*/
/**
* Package lifecycle scripts.
*
* @see https://docs.npmjs.com/cli/using-npm/scripts
* @see https://yarnpkg.com/advanced/lifecycle-scripts
* @see https://classic.yarnpkg.com/en/docs/package-json#toc-scripts
*/
interface Scripts {
[script: string]: string
install?: string
postinstall?: string
postpack?: string
postpublish?: string
postrestart?: string
poststart?: string
poststop?: string
posttest?: string
postuninstall?: string
postversion?: string
preinstall?: string
prepack?: string
prepare?: string
prepublish?: string
prepublishOnly?: string
prerestart?: string
prestart?: string
prestop?: string
pretest?: string
preuninstall?: string
preversion?: string
publish?: string
restart?: string
start?: string
stop?: string
test?: string
typecheck?: string
uninstall?: string
version?: string
}
export type { Scripts as default }