forked from bwinton/SnoozeTabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.58 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "snoozetabs",
"description": "An add-on to let you snooze your tabs for a while.",
"id": "[email protected]",
"version": "1.2.0",
"author": "Blake Winton <[email protected]>",
"contributors": [
"Les Orchard <[email protected]> (http://lmorchard.com/)"
],
"homepage": "https://github.com/bwinton/SnoozeTabs#readme",
"bugs": {
"url": "https://github.com/bwinton/SnoozeTabs/issues"
},
"engines": {
"node": ">=8.9.4"
},
"devDependencies": {
"@kadira/storybook": "2.35.3",
"@kadira/storybook-addon-knobs": "1.7.1",
"babel-cli": "6.23.0",
"babel-loader": "7.1.1",
"babel-preset-env": "1.6.1",
"babel-preset-react": "6.16.0",
"babel-preset-stage-0": "6.16.0",
"babel-register": "6.18.0",
"chai": "3.5.0",
"cross-env": "5.0.4",
"cross-spawn": "5.1.0",
"eslint": "4.18.2",
"eslint-plugin-promise": "3.4.0",
"eslint-plugin-react": "6.8.0",
"json-loader": "0.5.7",
"mocha": "8.0.1",
"node-sass": "6.0.1",
"npm-run-all": "3.1.2",
"onchange": "7.0.2",
"photon-colors": "1.3.1",
"pontoon-to-webext": "1.0.1",
"sass-lint": "1.13.1",
"shx": "0.2.1",
"sinon": "1.17.6",
"storybook-host": "1.0.8",
"svgo": "1.3.2",
"web-ext": "4.3.0",
"webpack": "4.43.0",
"webpack-cli": "3.3.12"
},
"dependencies": {
"classnames": "2.2.5",
"moment": "2.19.3",
"rc-animate": "2.3.1",
"rc-calendar": "8.4.1",
"rc-time-picker": "3.7.3",
"rc-trigger": "1.8.1",
"react": "15.4.1",
"react-addons-css-transition-group": "15.4.2",
"react-dom": "15.4.1",
"uuid": "3.0.1"
},
"keywords": [
"snooze",
"tabs",
"webextension",
"firefox",
"add-on"
],
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/bwinton/SnoozeTabs.git"
},
"config": {
"GA_TRACKING_ID": "UA-90911916-2",
"productionLocales": "en-US,ar,bn-BD,bs,cak,cs,de,dsb,el,es-AR,es-CL,es-ES,es-MX,fa,fr,fy-NL,he,hsb,hu,id,it,ja,ka,kab,ms,nb-NO,nl,nn-NO,pt-BR,pt-PT,ro,ru,sk,sl,sq,sr,sv-SE,te,tr,uk,zh-CN,zh-TW"
},
"webextensionManifest": {
"manifest_version": 2,
"name": "Snooze Tabs",
"default_locale": "en_US",
"description": "__MSG_extDesc__",
"icons": {
"48": "icons/bell_icon.svg"
},
"permissions": [
"alarms",
"bookmarks",
"contextMenus",
"notifications",
"storage",
"tabs",
"<all_urls>"
],
"background": {
"scripts": [
"background.js"
]
},
"browser_action": {
"browser_style": false,
"default_title": "__MSG_popupTitle__",
"default_popup": "popup/snooze.html",
"default_icon": {
"32": "icons/bell_icon.svg"
}
}
},
"scripts": {
"start": "npm run build && npm-run-all --parallel test watch",
"build": "npm run clean && npm-run-all --parallel copy:* bundle:*",
"run": "web-ext run -s dist",
"clean": "shx rm -rf dist && shx mkdir -p dist/popup",
"watch": "npm-run-all --parallel watch:*",
"copy:locales": "node ./bin/build-locales.js",
"copy:assets": "shx cp -r src/icons dist/ && svgo dist/icons --quiet && shx cp -r src/popup/*.html src/popup/FiraSans-Regular.* dist/popup/",
"bundle:manifest": "node ./bin/generate-manifest",
"bundle:js": "npm run lint:js && webpack",
"bundle:css": "npm run lint:sass && shx mkdir -p dist/popup && node-sass src/popup/snooze.scss > dist/popup/snooze.css",
"package": "cross-env NODE_ENV=production npm run build && web-ext build -s dist --overwrite-dest && mv web-ext-artifacts/*.zip addon.xpi",
"package:dev": "cross-env NODE_ENV=development npm run build && web-ext build -s dist --overwrite-dest && mv web-ext-artifacts/*.zip addon-dev.xpi",
"lint": "npm-run-all --parallel lint:*",
"lint:js": "eslint --max-warnings=0 .",
"lint:sass": "sass-lint --max-warnings 0 --verbose --no-exit",
"watch:manifest": "onchange -p -v 'bin/generate-manifest.js' 'package.json' -- npm run bundle:manifest",
"watch:js": "webpack --watch --progress",
"watch:test:js": "onchange -p -v 'test/**/*.js' -- npm-run-all --parallel test:js",
"watch:css": "onchange -p -v 'src/**/*.scss' -- npm run bundle:css",
"watch:assets": "onchange -p -v 'src/icons/*' 'src/popup/*.html' -- npm run copy:assets",
"watch:locales": "onchange -p -v 'locales/**/*.properties' -- npm run copy:locales",
"storybook": "start-storybook -s ./dist -p 6006",
"build-storybook": "build-storybook",
"test": "npm run lint && npm run test:js",
"test:js": "mocha --compilers js:babel-register --require test/.setup.js --recursive"
}
}