-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.16 KB
/
package.json
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
53
54
55
56
57
58
{
"name": "yarn-plugin-script-daemon",
"main": "./src/index.ts",
"dependencies": {
"@types/node": "^14.0.0",
"@yarnpkg/builder": "^2.0.0",
"@yarnpkg/cli": "2",
"@yarnpkg/core": "2",
"@zensors/sheriff": "^2.0.2",
"clipanion": "^3.0.1",
"node-watch": "^0.7.1",
"pstree.remy": "^1.1.8",
"typescript": "^4.3.2"
},
"scripts": {
"build": "builder build plugin",
"bash": "bash"
},
"r": {
"test1": {
"onExit": "wait",
"script": "sleep 1 && echo test1"
},
"test2": {
"onExit": "restart",
"script": "sleep 2 && echo test2"
},
"test3": {
"onExit": "kill",
"script": "sleep 5 && echo test3"
},
"test4": {
"onExit": "wait",
"script": "sleep 10 && echo test4"
},
"test": [
"r:test1",
"r:test2",
"r:test3",
"r:test4"
],
"test-kill": [
{
"onExit": "kill",
"script": "sleep 1"
},
"sleep 5 && echo the end"
],
"test1pass": "r:@yarnpkg/sdk->test1",
"build:watch": {
"script": "builder build plugin",
"watch": [
"./src"
],
"onExit": "wait"
}
}
}