-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 3.41 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
{
"private": true,
"author": "Ihor Kopach <[email protected]> (https://kopach.dev)",
"scripts": {
"__release:opera": "node ./scripts/publish-opera.js",
"__test": "",
"__watch:android": "TARGET_BROWSER_PARAMS='--target firefox-android' npm run _watch:browser",
"_prerelease:opera": "web-ext build --overwrite-dest --source-dir dist --artifacts-dir dist/web-ext-artifacts",
"_watch": "webpack --mode=development --watch",
"_watch:browser": "concurrently --raw --kill-others \"npm run _watch\" \"web-ext run --source-dir=dist $TARGET_BROWSER_PARAMS\"",
"build": "webpack --mode=production",
"lint": "run-p lint:*",
"lint-fix": "run-p 'lint:* -- --fix'",
"lint-package.json": "prettier-package-json --list-different",
"lint:css": "stylelint src/**/*.css",
"lint:ts": "tslint --project tsconfig.json --config tslint.json",
"prepare-publish": "rm -rf dist && npm run build && cd dist && web-ext build && open ./web-ext-artifacts",
"release": "npm-run-all build prerelease:* release:*",
"release:amo": "web-ext-submit --source-dir dist",
"release:cws": "webstore upload --source=dist --auto-publish",
"prerelease:source-url": "if [ ! -z \"${TRAVIS_REPO_SLUG}\" ]; then echo https://github.com/$TRAVIS_REPO_SLUG/tree/\"${TRAVIS_TAG:-$TRAVIS_COMMIT}\" > dist/SOURCE_URL; fi",
"prerelease:version": "VERSION=$(utc-version); echo $VERSION; dot-json dist/manifest.json version $VERSION",
"prettier-package-json": "prettier-package-json --write",
"watch-all": "run-p watch:*",
"watch:brave": "TARGET_BROWSER_PARAMS='-t chromium --chromium-binary ~/Applications/Brave\\ Browser.app/Contents/MacOS/Brave\\ Browser' npm run _watch:browser",
"watch:chromium": "TARGET_BROWSER_PARAMS='--target chromium' npm run _watch:browser",
"watch:edge": "TARGET_BROWSER_PARAMS='-t chromium --chromium-binary /Applications/Microsoft\\ Edge.app/Contents/MacOS/Microsoft\\ Edge' npm run _watch:browser",
"watch:firefox": "TARGET_BROWSER_PARAMS='--target firefox-desktop' npm run _watch:browser",
"watch:opera": "TARGET_BROWSER_PARAMS='-t chromium --chromium-binary ~/Applications/Opera.app/Contents/MacOS/Opera' npm run _watch:browser"
},
"dependencies": {
"webext-options-sync": "1.2.1",
"webextension-polyfill": "0.4.0"
},
"devDependencies": {
"@types/firefox-webext-browser": "70.0.1",
"chrome-webstore-upload-cli": "1.2.0",
"codelyzer": "5.2.0",
"concurrently": "^5.0.1",
"copy-webpack-plugin": "5.1.1",
"dot-json": "1.1.0",
"eslint": "6.1.0",
"eslint-plugin-tslint": "3.1.0",
"globby": "11.0.0",
"husky": "4.2.1",
"lint-staged": "10.0.7",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"prettier-package-json": "2.1.3",
"size-plugin": "1.2.0",
"stylelint": "10.1.0",
"stylelint-config-standard": "20.0.0",
"terser-webpack-plugin": "2.3.4",
"ts-loader": "6.2.1",
"tslint": "^6.1.0",
"tslint-clean-code": "0.2.10",
"tslint-config-airbnb": "5.11.2",
"tslint-config-prettier": "1.18.0",
"tslint-plugin-prettier": "2.1.0",
"typescript": "3.7.3",
"upload-opera-extension": "1.0.3",
"utc-version": "2.0.1",
"web-ext": "^4.1.0",
"web-ext-submit": "^4.1.0",
"webpack": "4.36.1",
"webpack-cli": "3.3.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"package.json": [
"prettier-package-json --write",
"git add"
]
}
}