-
Notifications
You must be signed in to change notification settings - Fork 720
/
Copy pathpackage.json
160 lines (160 loc) · 6.26 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
150
151
152
153
154
155
156
157
158
159
160
{
"ava": {
"failFast": false,
"files": [
"dist/tests/**/*.js",
"!dist/tests/**/fixtures/**/*.js",
"!dist/tests/helpers/**/*.js"
],
"timeout": "1m",
"workerThreads": false
},
"browserslist": "last 2 chrome versions, last 2 firefox versions",
"bundleSize": 1880000,
"description": "webhint browser extension",
"devDependencies": {
"@hint/hint-axe": "^4.4.21",
"@hint/hint-button-type": "^3.0.23",
"@hint/hint-compat-api": "^4.5.8",
"@hint/hint-content-type": "^4.2.27",
"@hint/hint-create-element-svg": "^1.3.27",
"@hint/hint-css-prefix-order": "^1.5.8",
"@hint/hint-disown-opener": "^4.0.23",
"@hint/hint-highest-available-document-mode": "^5.0.23",
"@hint/hint-http-cache": "^4.0.23",
"@hint/hint-leading-dot-classlist": "^1.0.20",
"@hint/hint-manifest-app-name": "^2.4.29",
"@hint/hint-manifest-file-extension": "^3.0.24",
"@hint/hint-manifest-is-valid": "^3.4.20",
"@hint/hint-meta-charset-utf-8": "^4.0.23",
"@hint/hint-meta-viewport": "^5.0.23",
"@hint/hint-minified-js": "^2.4.27",
"@hint/hint-no-disallowed-headers": "^3.1.22",
"@hint/hint-no-html-only-headers": "^3.0.23",
"@hint/hint-no-http-redirects": "^3.0.23",
"@hint/hint-no-inline-styles": "^1.0.19",
"@hint/hint-no-protocol-relative-urls": "^3.1.7",
"@hint/hint-no-vulnerable-javascript-libraries": "^2.12.22",
"@hint/hint-scoped-svg-styles": "^1.3.28",
"@hint/hint-sri": "^4.0.23",
"@hint/hint-stylesheet-limits": "^3.3.27",
"@hint/hint-validate-set-cookie-header": "^3.0.23",
"@hint/hint-x-content-type-options": "^4.0.23",
"@hint/parser-css": "^3.0.39",
"@hint/parser-html": "^3.1.4",
"@hint/parser-javascript": "^3.1.25",
"@hint/parser-manifest": "^2.3.20",
"@hint/utils": "^7.0.24",
"@hint/utils-create-server": "^3.4.27",
"@hint/utils-dom": "^2.2.4",
"@hint/utils-fs": "^1.0.16",
"@hint/utils-i18n": "^1.0.15",
"@hint/utils-types": "^1.2.1",
"@types/chrome": "^0.0.242",
"@types/har-format": "^1.2.10",
"@types/is-ci": "^3.0.0",
"@types/jsdom": "^20.0.1",
"@types/node": "^22.9.0",
"@types/proxyquire": "^1.3.28",
"@types/puppeteer": "^5.4.5",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.11",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^4.33.0",
"assert": "^2.0.0",
"ava": "^4.3.3",
"browserslist": "^4.21.5",
"copyfiles": "^2.4.1",
"crypto-browserify": "^3.12.0",
"css-loader": "^6.7.3",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-react-hooks": "^4.6.0",
"focus-visible": "^5.2.0",
"glob": "^8.1.0",
"globby": "^11.0.4",
"hint": "^7.1.13",
"is-ci": "^3.0.1",
"jsdom": "^21.1.0",
"lodash": "^4.17.21",
"mini-svg-data-uri": "^1.4.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"proxyquire": "^2.1.3",
"puppeteer": "^10.4.0",
"react": "^18.1.0",
"react-dom": "^18.2.0",
"react-syntax-highlighter": "^15.5.0",
"rimraf": "^5.0.0",
"setimmediate": "^1.0.5",
"sinon": "^13.0.1",
"stream-browserify": "^3.0.0",
"style-loader": "^3.3.2",
"terser-webpack-plugin": "^5.3.6",
"typed-css-modules": "^0.7.2",
"typescript": "^4.5.5",
"util": "^0.12.5",
"util.promisify": "^1.1.1",
"web-ext": "^7.4.0",
"webpack": "^5.94.0",
"webpack-cli": "^4.9.1"
},
"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": "copyfiles \"./{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 ./dist/chromium",
"lint:js": "eslint . --cache --ext .js,.md,.ts --ext tsx --ignore-path ../../.eslintignore",
"lint:dependencies": "node ../../scripts/lint-dependencies.js",
"lint:md": "node ../../scripts/lint-markdown.js",
"prebuild": "npm-run-all prebuild:*",
"prebuild:assets": "copyfiles -u 1 \"./src/**/*.{html,json,png}\" dist/bundle && copyfiles -f \"./src/*.svg\" dist/bundle && copyfiles -f \"./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": "2.4.17"
}