-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
89 lines (89 loc) · 2.38 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
{
"name": "plist2",
"version": "1.1.4",
"description": "Converts between .tmLanguage(.plist), .json, .cson and .yaml formats",
"keywords": [
"plist",
"json",
"cson",
"yaml",
"tmLanguage",
"cson2json",
"cson2plist",
"cson2yaml",
"json2cson",
"json2plist",
"json2yaml",
"plist2cson",
"plist2json",
"plist2yaml",
"yaml2cson",
"yaml2json",
"yaml2plist"
],
"license": "MIT",
"homepage": "https://github.com/wareset/plist2#readme",
"bugs": {
"url": "https://github.com/wareset/plist2/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wareset/plist2.git"
},
"author": "wareset <[email protected]>",
"main": "index",
"module": "index.mjs",
"types": "index.d.ts",
"files": [
"README.md",
"__types__",
"cli",
"cson2js",
"cson2json",
"cson2plist",
"cson2yaml",
"index.d.ts",
"index.js",
"index.mjs",
"js2cson",
"js2json",
"js2plist",
"js2yaml",
"json2cson",
"json2js",
"json2plist",
"json2yaml",
"lib",
"plist2cson",
"plist2js",
"plist2json",
"plist2yaml",
"yaml2cson",
"yaml2js",
"yaml2json",
"yaml2plist"
],
"bin": {
"plist2": "plist2"
},
"scripts": {
"dester": "dester ./src ./ --babel",
"build": "npm run -s dester -- -s",
"dev": "npm run -s dester -- -w --no-r",
"pkg:name": "cat package.json | grep '\"name\":' | cut -d '\"' -f4",
"pkg:version": "cat package.json | grep '\"version\":' | cut -d '\"' -f4",
"git:get:tag": "echo $(npm run -s pkg:name)@$(npm run -s pkg:version)",
"git:set:tag": "t=$(npm run -s git:get:tag) && git tag -a $t -m $t",
"git:commit": "npm run -s build && git add . && read -p 'Commit: ' c; c=${c:-v$(npm run -s pkg:version)} && n=$(npm run -s pkg:name) && git commit -m \"$n: $c\"",
"commit": "read -p 'Version [patch]: ' V; V=${V:-patch} && npm version --force --no-git-tag-version $V; echo $V && read -p 'Push? (y/N): ' G && read -p 'Publish? (y/N): ' P && npm run -s git:commit && case $G in Y|y) $(git push);; esac && case $P in Y|y) $(npm run -s git:set:tag && git push --tags && npm -s publish);; esac"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/plugin-transform-block-scoping": "^7.16.0",
"dester": "0.x",
"typescript": "4.x"
},
"dependencies": {
"yaml": "^1.10.2"
}
}