forked from kevinoid/git-branch-is
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 3.56 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
89
90
91
92
93
94
95
{
"name": "git-branch-is",
"version": "3.1.0",
"description": "Assert that the name of the current branch of a git repository has a particular value.",
"keywords": [
"assert",
"assertion",
"cli",
"git",
"test"
],
"license": "MIT",
"homepage": "https://github.com/kevinoid/git-branch-is",
"bugs": "https://github.com/kevinoid/git-branch-is/issues",
"author": "Kevin Locke <kevin@kevinlocke.name>",
"repository": {
"type": "git",
"url": "https://github.com/kevinoid/git-branch-is.git"
},
"main": "index.js",
"bin": {
"git-branch-is": "bin/git-branch-is.js"
},
"//": "All scripts should run in POSIX sh and Windows cmd.exe",
"scripts": {
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -u",
"clean": "rimraf coverage && rimraf doc",
"doc": "npm run doc-js && npm run doc-spec",
"doc-js": "rimraf doc/api && jsdoc -c jsdoc.conf.json .",
"doc-spec": "rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml",
"lint": "npm run lint-js && npm run lint-doc",
"lint-doc": "jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.",
"lint-js": "eslint --report-unused-disable-directives . && echo ESLint passed.",
"postpublish": "git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md",
"postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"",
"preversion": "npm run test-cov && nyc check-coverage --statements 95 && check-audit && depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david && node ./bin/git-branch-is.js master && travis-status -b master -c -w -x && appveyor-status -b master -c -w -p kevinoid/git-branch-is",
"test": "npm run lint && npm run test-unit",
"test-cov": "npm run lint && npm run test-unit-cov",
"test-unit": "mocha --recursive test",
"test-unit-cov": "nyc mocha --recursive test",
"upload-cov": "codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info",
"version": "npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md",
"version-deps": "npm install conventional-changelog-cli david depcheck git-branch-is npm-audit-resolver travis-status"
},
"dependencies": {
"commander": "^4.0.0"
},
"devDependencies": {
"@kevinoid/eslint-config": "^3.0.0",
"codecov": "^3.0.0",
"coveralls": "^3.0.0",
"eslint": "^6.3.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-unicorn": "^15.0.0",
"greenkeeper-lockfile": "^1.15.1",
"jsdoc": "^3.6.0",
"mocha": "^7.0.0",
"nodecat": "^2.0.0",
"nyc": "^15.0.0",
"rimraf": "^3.0.0"
},
"engines": {
"node": ">=8.3",
"npm": ">=1.3.7"
},
"greenkeeper": {
"ignore": [
"@kevinoid/eslint-config",
"eslint",
"eslint-config-airbnb-base",
"eslint-plugin-import",
"eslint-plugin-node",
"eslint-plugin-promise",
"eslint-plugin-unicorn"
]
},
"mocha": {
"checkLeaks": true,
"exit": false
},
"nyc": {
"exclude": [
"test",
"test-bin",
"test-lib"
],
"reporter": [
"lcov",
"text"
]
}
}