-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
77 lines (77 loc) · 2.72 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
{
"name": "cbf",
"version": "2.3.2",
"description": "A package for creating scripts to store and run your most commonly used CLI commands for a repo or just in general",
"main": "index.js",
"scripts": {
"refresh": "rm -rf ./node_modules ./package-lock.json && npm install",
"lint": "eslint \"./**/*.js\"",
"lint:fix": "eslint \"./**/*.js\" --fix",
"circular": "madge --circular ./index.js",
"format": "prettier --write \"**/*.js\" -l \"warn\" && standard --fix",
"test": "mocha src --file ./test/setup.js --recursive --exit || if [ \"$?\" = 1 ]; then echo 1; else echo 0; fi",
"build": "npm install . -g",
"clean": "npm uninstall . -g",
"tag:latest": "echo $(git describe --tags --abbrev=0)",
"tag:latest-annotated": "echo $(git --no-pager log --tags -n1 --oneline --pretty=\"%s\")",
"tag:changes-since-latest": "echo \"$(git --no-pager log $(git describe --abbrev=0 --tags $(git rev-list --tags --skip=1 --max-count=1))..$(git describe --tags --abbrev=0) --no-merges --oneline --pretty=format:'- %s')\"",
"tag:build-annotated": "echo \"$(npm run --silent tag:latest-annotated)\n\n$(npm run --silent tag:changes-since-latest)\"",
"tag:update-latest": "git tag -f \"$(npm run --silent tag:latest)\" \"$(npm run --silent tag:latest)\"^{} -a -m \"$(npm run --silent tag:build-annotated)\"",
"version": "genversion --semi version.js && git add version.js",
"postversion": "npm run --silent tag:update-latest && git push -u origin $(git rev-parse --abbrev-ref HEAD) && git push --follow-tags",
"current-version": "echo $npm_package_version",
"latest-published-version": "npm view cbf version"
},
"author": "Joshua Vernon",
"engines": {
"node": ">=0.10"
},
"license": "MIT",
"dependencies": {
"chalk": "^2.4.1",
"child_process": "^1.0.2",
"commander": "^2.15.1",
"formatted-messages": "^1.0.2",
"fs-extra": "^6.0.1",
"inquirer": "^5.2.0",
"lodash": "^4.17.13",
"readline": "^1.3.0",
"rxjs": "^5.5.12",
"yamljs": "^0.3.0"
},
"keywords": [
"script",
"scripts",
"runner",
"runners",
"scriptrunner",
"command",
"commands",
"cli",
"cbf"
],
"repository": {
"type": "git",
"url": "https://github.com/joshuatvernon/cbf"
},
"bin": {
"cbf": "index.js"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jsdoc": "^15.8.0",
"eslint-plugin-prettier": "^3.1.0",
"genversion": "^2.1.1",
"madge": "^3.4.4",
"mocha": "^6.1.4",
"prettier": "1.18.2",
"standard": "^14.3.1"
},
"publishConfig": {
"access": "public"
}
}