-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.98 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
{
"name": "grepord",
"version": "1.8.23",
"bin": "./index.js",
"description": "Grep for an ordered list of files",
"private": false,
"main": "index.js",
"scripts": {
"test": "npx ava --tap | tap-nyan",
"gem-installations": "gem install ronn",
"man-src": "awk '/# Usage/,/# Release Steps/' README.md | sed '1d' | sed '1d' | sed '$d' | sed 's/`//g'",
"build-ronn": "npm run --silent man-src > man/grepord.1.ronn && cat footer.txt >> man/grepord.1.ronn",
"build-man": "npm rum build-ronn && ronn man/grepord.1.ronn",
"new-release-tag": "PKG_VER=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g');TAG_CMD=\"git tag -a v$(ECHO $PKG_VER | xargs) -m 'Version $PKG_VER'\";eval $TAG_CMD;",
"push-tags": "git push origin --tags",
"changelog": "rm CHANGELOG.md && gren changelog --generate --data-source=commits && sed -i -e \"s/<RELEASE_VERSION>/$(git describe --abbrev=0)/g\" CHANGELOG.md && rm CHANGELOG.md-e",
"push-release": "rm -f ./.git/index.lock && git add CHANGELOG.md && git commit -m 'New release' && git push origin master",
"release": "npm run new-release-tag && npm run push-tags && gren release && npm run changelog && npm run push-release"
},
"files": [
"index.js",
"man/grepord.1"
],
"man": "./man/grepord.1",
"repository": {
"type": "git",
"url": "git+https://github.com/petekeller2/grepord.git"
},
"keywords": [
"cli",
"npm",
"grep"
],
"author": {
"name": "Peter Keller",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/petekeller2/grepord/issues"
},
"homepage": "https://github.com/petekeller2/grepord#readme",
"ava": {
"files": [
"test.mjs"
],
"nodeArguments": [
"--experimental-modules",
"--experimental-json-modules"
]
},
"devDependencies": {
"ava": "^5.3.1",
"tap-nyan": "^1.1.0"
},
"dependencies": {
"filesize": "^10.1.0",
"shelljs": "^0.8.5"
}
}