-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.49 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.49 KB
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
{
"name": "viraltweetfilter",
"version": "0.2.6",
"description": "Browser extension to filter \"viral\" Tweets from your timeline.",
"main": "index.js",
"repository": "https://github.com/FriendosClub/ViralTweetFilter.git",
"author": "Ralph Drake <rama.o.ralph@gmail.com>",
"license": "AGPL-3.0-or-later",
"private": false,
"dependencies": {
"sign-addon": "^3.1.0",
"web-ext": "^5.1.0"
},
"devDependencies": {
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0"
},
"scripts": {
"mozManifest": "cp manifests/firefox.json manifest.json",
"crManifest": "cp manifests/chrome.json manifest.json",
"lint": "yarn run mozManifest && web-ext lint && eslint . --max-warnings 0",
"mozBuild": "yarn run mozManifest && web-ext build",
"crBuild": "yarn run crManifest && web-ext build && yarn run crBackground",
"crBackground": "zip -gr web-ext-artifacts/viral_tweet_filter-$npm_package_version.zip src/background.js",
"mozPublish": "yarn run mozManifest && PKG_VERSION=$npm_package_version node scripts/mozPublish.js",
"mozSelfSign": "yarn run mozManifest && web-ext sign",
"start": "web-ext run",
"mozStart": "yarn run mozManifest && yarn start",
"crStart": "yarn run crManifest && yarn start -t chromium",
"clean": "rm -rf web-ext-artifacts manifest.json",
"postversion": "sed -i 's/\"version\": \"[0-9]*\\.[0-9]*\\.[0-9]*\",/\"version\": \"'\"$npm_package_version\"'\",/g' manifests/*.json"
}
}