forked from benoror/better-npm-run
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.91 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@redisrupt/bnr",
"description": "Better NPM scripts runner",
"version": "5.0.3",
"license": "MIT",
"author": "Benjamin Orozco <[email protected]>",
"contributors": [
"Benjamin Orozco <[email protected]>",
"Kent C. Dodds <[email protected]>"
],
"repository": {
"type": "git",
"url": "git://github.com/Redisrupt/better-npm-run.git"
},
"main": "index.js",
"bin": {
"bnr": "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",
"lint": "eslint --cache --cache-location node_modules/.cache/ -f friendly '*.js' './lib/**/*.js' './test/**/*.js'",
"test": "npm run lint && node index.js test:array-command && npm run test:env && npm run test:env-extend && npm run test:params && npm run test:command:object && npm run test:command:string",
"changelog": "changelogx -f markdown -o ./changelog.md --tagPrefix 'v'",
"do-changelog": "npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog'",
"pre-v": "npm run test",
"post-v": "npm run do-changelog && git push --no-verify && git push --tags --no-verify",
"bump-major": "npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v",
"bump-minor": "npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v",
"bump-patch": "npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v"
},
"changelogx": {
"ignoreRegExp": [
"BLD: Release",
"DOC: Generate Changelog",
"Generated Changelog"
],
"issueIDRegExp": "#(\\d+)",
"commitURL": "https://github.com/Redisupt/better-npm-run/commit/{0}",
"authorURL": "https://github.com/{0}",
"issueIDURL": "https://github.com/Redisupt/better-npm-run/issues/{0}",
"projectName": "@redisrupt/better-npm-run"
},
"dependencies": {
"clix-logger": "1.0.2",
"dotenv": "^2.0.0",
"minimist": "1.2.0",
"object-assign": "4.1.0",
"pretty-time": "0.2.0"
},
"devDependencies": {
"@redisrupt/eslint-red": "2.0.0",
"changelogx": "3.0.0"
},
"bnrConfig": "./bnr-config.js",
"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:array-command": {
"cmd": [
"echo 'hello world'",
"sleep 1.23",
"echo 'done'"
]
},
"test:env-extend": {
"command": "node ./test/env-extend.js",
"env": {
"TEST_ENV": "overridden",
"FOO": "bar"
}
}
}
}