/
package.json
149 lines (149 loc) · 5.83 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"ava": {
"failFast": false,
"files": [
"dist/tests/**/*.js"
],
"timeout": "1m"
},
"browserslist": "last 2 chrome versions, last 2 firefox versions",
"bundleSize": 660000,
"description": "webhint browser extension",
"devDependencies": {
"@hint/hint-axe": "^4.1.6",
"@hint/hint-button-type": "^2.2.10",
"@hint/hint-compat-api": "^4.1.3",
"@hint/hint-content-type": "^4.1.10",
"@hint/hint-create-element-svg": "^1.2.10",
"@hint/hint-css-prefix-order": "^1.2.10",
"@hint/hint-disown-opener": "^3.2.10",
"@hint/hint-highest-available-document-mode": "^4.1.10",
"@hint/hint-http-cache": "^3.2.10",
"@hint/hint-manifest-app-name": "^2.3.10",
"@hint/hint-manifest-file-extension": "^2.3.10",
"@hint/hint-manifest-is-valid": "^3.2.10",
"@hint/hint-meta-charset-utf-8": "^3.2.10",
"@hint/hint-meta-viewport": "^4.1.10",
"@hint/hint-minified-js": "^2.3.10",
"@hint/hint-no-disallowed-headers": "^2.3.10",
"@hint/hint-no-html-only-headers": "^2.3.10",
"@hint/hint-no-http-redirects": "^2.3.10",
"@hint/hint-no-protocol-relative-urls": "^2.3.10",
"@hint/hint-no-vulnerable-javascript-libraries": "^2.9.11",
"@hint/hint-scoped-svg-styles": "^1.1.4",
"@hint/hint-sri": "^3.2.10",
"@hint/hint-stylesheet-limits": "^3.2.10",
"@hint/hint-validate-set-cookie-header": "^2.3.10",
"@hint/hint-x-content-type-options": "^3.2.10",
"@hint/parser-css": "^3.0.13",
"@hint/parser-html": "^3.0.10",
"@hint/parser-javascript": "^3.0.13",
"@hint/parser-manifest": "^2.2.11",
"@hint/utils": "^6.0.0",
"@hint/utils-create-server": "^3.2.3",
"@microsoft/applicationinsights-web-basic": "^2.2.0",
"@types/chrome": "^0.0.91",
"@types/har-format": "^1.2.4",
"@types/is-ci": "^2.0.0",
"@types/jsdom": "^12.2.3",
"@types/node": "^12.7.5",
"@types/proxyquire": "^1.3.28",
"@types/puppeteer-core": "^1.9.0",
"@types/react": "^16.9.9",
"@types/react-dom": "^16.9.2",
"@types/sinon": "^7.0.13",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.12.0",
"ava": "^1.4.1",
"axe-core": "3.3.2",
"browserslist": "^4.7.0",
"cpx": "^1.5.0",
"css-loader": "^3.2.0",
"eslint": "^6.5.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-react-hooks": "^2.1.2",
"focus-visible": "^5.0.2",
"glob": "^7.1.4",
"globby": "^10.0.1",
"hint": "^5.3.3",
"is-ci": "^2.0.0",
"jsdom": "^15.2.0",
"lodash": "^4.17.15",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.0",
"proxyquire": "^2.1.3",
"puppeteer-core": "^1.20.0",
"raw-loader": "^3.1.0",
"react": "^16.10.2",
"react-dom": "^16.10.2",
"react-syntax-highlighter": "^11.0.2",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"style-loader": "^1.0.0",
"svg-url-loader": "^3.0.2",
"terser-webpack-plugin": "^2.1.2",
"typed-css-modules": "^0.6.2",
"typescript": "^3.6.4",
"util.promisify": "^1.0.0",
"web-ext": "^3.2.0",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.9"
},
"engines": {
"node": ">=8.0.0"
},
"files": [
"images"
],
"homepage": "https://webhint.io/",
"keywords": [
"extension",
"browser",
"hint",
"hint-extension-browser",
"webhint"
],
"license": "Apache-2.0",
"name": "@hint/extension-browser",
"repository": {
"directory": "packages/extension-browser",
"type": "git",
"url": "https://github.com/webhintio/hint.git"
},
"scripts": {
"build": "npm run prebuild && npm-run-all build:* && npm-run-all copy:* && webpack",
"build-release": "npm run clean && npm run build-release-packages",
"build-release-packages": "npm run prebuild && npm run build:assets && npm-run-all copy:* && tsc --inlineSourceMap false --removeComments true && npm-run-all build-release:*",
"build-release:chromium": "webpack --env.release --env.design=fluent && web-ext build -s ./dist/bundle -a ./dist/chromium --overwrite-dest && npm run lint-bundle-size ./dist/chromium",
"build-release:firefox": "node scripts/update-manifest.js && webpack --env.release --env.design=photon && web-ext build -s ./dist/bundle -a ./dist/firefox --overwrite-dest && npm run lint-bundle-size ./dist/firefox",
"build:assets": "cpx \"./{src,tests}/**/{!(*.ts),.!(ts),!(*.tsx),.!(tsx)}\" dist",
"build:ts": "tsc -b",
"clean": "rimraf dist src/**/*.css.d.ts",
"copy:i18n": "node ./scripts/merge-i18n.js",
"copy:version": "node ./scripts/copy-version.js",
"host-ui": "node scripts/host-ui.js",
"lint": "npm-run-all lint:*",
"lint-bundle-size": "node ./scripts/bundle-size.js",
"lint:js": "eslint . --cache --ext js --ext md --ext ts --ext tsx --ignore-path ../../.eslintignore --report-unused-disable-directives",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"prebuild": "npm-run-all prebuild:*",
"prebuild:assets": "cpx \"./src/**/*.{html,json,png}\" dist/bundle && cpx \"./src/*.svg\" dist/bundle && cpx \"./src/browser-action/*.svg\" dist/bundle/browser-action",
"prebuild:css": "tcm src",
"prebuild:hints": "node ./scripts/import-hints.js",
"prebuild:i18n": "node ./scripts/create-i18n.js",
"stats": "webpack --json > stats.json",
"stats-release": "webpack --env.release --json > release-stats.json",
"test": "npm run prebuild && npm run lint && npm run build && npm run test-only && npm run build-release-packages",
"test-release": "npm run clean && npm run test",
"test-only": "nyc ava",
"watch": "npm run build && npm-run-all --parallel -c watch:*",
"watch:css": "tcm src -w",
"watch:test": "ava --watch",
"watch:ts": "npm run build:ts -- --watch",
"webpack": "webpack",
"webpack-stats": "webpack --json > stats.json"
},
"version": "1.1.1"
}