-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 2.29 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
{
"name": "alfred-finder-new-item",
"version": "1.0.4",
"description": "Swiftly create new items in Finder with support for templates.",
"keywords": [
"alfred",
"workflow",
"packal",
"template",
"finder",
"macos",
"osx"
],
"homepage": "https://github.com/danielbayley/alfred-finder-new-item#readme",
"repository": "danielbayley/alfred-finder-new-item",
"bugs": "https://github.com/danielbayley/alfred-finder-new-item/issues",
"author": {
"name": "Daniel Bayley",
"email": "[email protected]",
"url": "https://github.com/danielbayley"
},
"license": "MIT",
"os": [
"darwin"
],
"engines": {
"node": ">=4"
},
"preferGlobal": true,
"devDependencies": {
"change-case": "latest",
"coffee-script": "latest",
"copy-node-modules": "latest",
"plist": "latest"
},
"dependencies": {
"alfred-link": "^0.3.1",
"glob": "^7.1.0",
"parse-gitignore": "^0.3.1"
},
"files": [
"info.plist",
"lib/",
"templates/"
],
"config": {
"icon": "/System/Library/CoreServices/Finder.app/Contents/Resources/Finder.icns",
"category": "Finder"
},
"scripts": {
"icon": "sips -s format png $npm_package_config_icon -Z 512 --out icon.png",
"compile": "coffee --no-header $w -cbo lib src && chmod +x lib/*",
"plist": "cp -f {,.}$plist && cake plist < .$plist > $plist",
"templates": "mkdir -p templates && cp {,$_/}README.md",
"watch": "w=-w npm run compile",
"test": "npm pack && npm i -g *.tgz",
"posttest": "npm run clean",
"prerelease": "git stash -u",
"release": "npm version --",
"postversion": "git push --follow-tags && npm publish && git stash pop --index",
"prepare": "npm run compile && npm run templates",
"prepublish": "npm run prepare && plist=info.plist npm run plist",
"postpublish": "npm run clean",
"packal": "cake packal && npm run clean",
"postinstall": "npm run icon & alfred-link",
"preuninstall": "alfred-unlink",
"clean": "rm -rf *.tgz package templates icon.png lib/*.js & mv -f {.,}info.plist ||:",
"zap": "npm run clean & rm -f *.alfredworkflow & npm rm -g $npm_package_name",
"stop": "pkill Alfred",
"start": "open -a 'Alfred 3'"
},
"projectmanager": {
"title": "finder-new-item",
"template": "alfred-workflow"
}
}