forked from benoror/better-npm-run
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 1.74 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
59
60
61
62
63
64
65
66
67
{
"name": "better-npm-run",
"description": "Better NPM scripts runner",
"version": "0.0.12",
"license": "MIT",
"author": "Benjamin Orozco <[email protected]>",
"contributors": [
"Benjamin Orozco <[email protected]>",
"Kent C. Dodds <[email protected]>"
],
"repository": {
"type": "git",
"url": "git://github.com/benoror/better-npm-run.git"
},
"main": "index.js",
"bin": {
"bnr": "index.js",
"better-npm-run": "index.js"
},
"scripts": {
"test:env": "node index.js test:env",
"test:env-extend": "TEST_ENV2=envvar node index.js test:env-extend",
"test:params": "node index.js test:params --test",
"test:command:object": "node index.js test:command:object",
"test:command:string": "node index.js test:command:string",
"test": "npm run test:env && npm run test:env-extend && npm run test:params && npm run test:command:object && npm run test:command:string"
},
"dependencies": {
"dotenv": "^2.0.0",
"object-assign": "^4.0.1"
},
"betterScripts": {
"test:command:string": "node ./test/command.js",
"test:command:object": {
"command": "node ./test/command.js"
},
"test:params": {
"command": "node ./test/params.js"
},
"test:env": {
"command": "node ./test/env.js",
"env": {
"FOO": "bar"
}
},
"test:env-extend": {
"command": "node ./test/env-extend.js",
"defaultEnv": {
"TEST_ENV": "overridden"
},
"env": {
"FOO": "bar"
}
}
"test:env-extend-no-override": {
"command": "node ./test/env-extend.js",
},
"defaultEnv": {
"TEST_ENV": "overridden"
},
"env": {
"TEST_ENV": "not-overridden",
"FOO": "bar"
}
}
}
}