forked from GoogleChrome/web.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 6.76 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "web.dev",
"version": "3.0.0",
"scripts": {
"algolia": "node ./run-algolia.js",
"build": "npm-run-all clean gulp ignore rollup eleventy gulp:default-locale firebase-config",
"clean": "rimraf dist",
"cloud-secrets": "node ./cloud-secrets.js",
"coverage:integration": "c8 npm-run-all test:lib test:unit test:integration",
"coverage:unit": "c8 npm run test:unit",
"coverage": "npm-run-all coverage:unit coverage:integration",
"debug:eleventy": "node --inspect-brk ./node_modules/.bin/eleventy",
"debug:gulp": "node --inspect-brk ./node_modules/.bin/gulp",
"debug:test:integration": "node --inspect-brk ./node_modules/.bin/mocha ./test/integration",
"debug:test:lib": "TEST_MODE=debug npm-run-all clean rollup --parallel watch:rollup karma",
"debug:test:unit": "node --inspect-brk ./node_modules/.bin/mocha ./test/unit",
"deploy": "ELEVENTY_ENV=prod npm-run-all build deploy:firebase algolia",
"deploy:firebase": "firebase deploy --non-interactive",
"dev": "npm-run-all clean ignore rollup gulp eleventy --parallel watch:rollup watch:eleventy watch:gulp watch:patterns firebase-config start",
"dev:light": "npm-run-all clean ignore rollup gulp eleventy --parallel watch:rollup watch:eleventy watch:gulp watch:patterns firebase-config eleventy:serve",
"eleventy": "eleventy --quiet",
"eleventy:serve": "eleventy --quiet --serve",
"firebase-config": "node firebase-config.js",
"gulp:default-locale": "npx gulp default-locale",
"gulp:misc": "npx gulp copy-misc",
"gulp:sass": "npx gulp sass",
"gulp": "npx gulp build",
"ignore": "node ./tools/eleventyignore",
"karma": "karma start",
"lint:js": "gts lint",
"lint:md": "remark -q -f .",
"lint:scss": "sass-lint -v -q",
"lint:types": "tsc --noEmit",
"lint": "npm-run-all lint:md lint:scss lint:js",
"patterns:create": "node src/component-library/pattern-generator.js",
"percy": "PERCY=true npm-run-all ignore build snapshots:firebase",
"postinstall": "npm ci --prefix functions",
"rollup": "rollup -c",
"snapshots": "percy exec --config ./tools/percy/.percy.conf.yml -- node tools/percy/snapshots.js",
"snapshots:firebase": "firebase emulators:exec 'npm run snapshots'",
"stage": "ELEVENTY_ENV=prod npm-run-all build stage:up",
"stage:up": "firebase hosting:channel:deploy staging",
"stage:down": "firebase hosting:channel:delete staging",
"start": "firebase emulators:start",
"test:integration": "mocha ./test/integration",
"test:lib": "npx gulp sass && ELEVENTY_ENV=test npm-run-all rollup karma",
"test:unit": "mocha ./test/unit",
"test": "npm-run-all test:unit test:lib test:integration",
"translated": "node ./tools/update-translated/index.js",
"updated": "node ./tools/update-updated/index.js",
"version-check": "node version-check.js",
"watch:eleventy": "chokidar \"src/site/**/*\" -c \"npm run eleventy\"",
"watch:patterns": "chokidar \"src/components/**/*\" -c \"npm run eleventy\"",
"watch:gulp": "npx gulp build --silent && gulp watch --silent",
"watch:rollup": "chokidar \"src/lib/**/*.{js,scss}\" --silent -c \"npm run rollup\"",
"watch:test:lib": "TEST_MODE=dev npm-run-all clean rollup --parallel watch:rollup karma"
},
"license": "Apache-2.0",
"dependencies": {
"@11ty/eleventy": "^1.0.1",
"@11ty/eleventy-cache-assets": "^2.3.0",
"@11ty/eleventy-plugin-rss": "^1.1.2",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
"@google-cloud/cloudbuild": "^2.6.0",
"@google-cloud/error-reporting": "^2.0.3",
"@google-cloud/secret-manager": "^3.10.0",
"@minify-html/node": "^0.9.2",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-virtual": "^2.0.3",
"algoliasearch": "^4.8.6",
"autoprefixer": "^9.6.1",
"chalk": "^2.4.2",
"cheerio": "^1.0.0-rc.3",
"common-tags": "^1.8.0",
"csso": "^4.2.0",
"dotenv": "^8.2.0",
"fast-glob": "^3.2.7",
"firebase": "^9.0.0-beta.7",
"firebase-tools": "^9.3.0",
"gorko": "^0.8.0",
"gray-matter": "^4.0.3",
"gulp": "^4.0.0",
"gulp-sass": "^5.0.0",
"iso-639-1": "^2.1.0",
"js-cookie": "^2.2.1",
"js-yaml": "^3.14.1",
"lighthouse": "9.3.1",
"lit": "^2.2.2",
"lodash.get": "^4.4.2",
"luxon": "^1.12.1",
"markdown-it": "^12.3.2",
"markdown-it-anchor": "^5.0.2",
"markdown-it-attrs": "^4.1.4",
"markdown-it-deflist": "^2.1.0",
"moment": "^2.24.0",
"node-fetch": "^2.6.7",
"npm-run-all": "^4.1.5",
"nunjucks": "^3.2.3",
"postcss": "^8.2.10",
"prettier": "^2.3.2",
"prismjs": "^1.28.0",
"purgecss": "^4.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.64.0",
"rollup-plugin-istanbul": "^3.0.0",
"rollup-plugin-postcss": "^2.9.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.32.11",
"slugify": "^1.4.5",
"striptags": "^3.2.0",
"terser": "^5.9.0",
"truncate-utf8-bytes": "^1.0.2",
"unistore": "^3.4.1",
"web-vitals": "^3.1.1",
"webdev-infra": "1.0.54",
"wicg-inert": "^3.1.2",
"yaml-front-matter": "^4.0.0",
"@mdn/browser-compat-data": "5.2.57"
},
"devDependencies": {
"@actions/core": "^1.9.1",
"@actions/github": "^5.0.0",
"@percy/cli": "^1.0.0-beta.71",
"@percy/puppeteer": "^2.0.0",
"@types/chai": "^4.3.0",
"@types/grecaptcha": "^3.0.3",
"@types/gtag.js": "^0.0.12",
"@types/gulp": "^4.0.8",
"@types/markdown-it": "^12.0.3",
"@types/mocha": "^9.0.0",
"@types/node": "^14.11.2",
"@types/nunjucks": "^3.2.0",
"@types/resize-observer-browser": "^0.1.3",
"babel-eslint": "^10.0.3",
"c8": "^7.3.0",
"chai": "^4.3.4",
"chokidar-cli": "^1.2.3",
"eslint-plugin-lit-a11y": "^1.0.1",
"gts": "^3.1.0",
"husky": "^4.2.3",
"karma": "6.4.0",
"karma-chrome-launcher": "3.1.1",
"karma-coverage": "2.2.0",
"karma-mocha": "2.0.1",
"karma-sourcemap-loader": "0.3.8",
"karma-spec-reporter": "0.0.34",
"lint-staged": "13.2.2",
"mocha": "^6.2.0",
"proxyquire": "^2.1.3",
"puppeteer": "^12.0.1",
"remark-cli": "^7.0.0",
"remark-frontmatter": "^1.3.2",
"remark-lint": "^6.0.5",
"remark-lint-are-links-valid": "^1.0.3",
"remark-lint-no-duplicate-headings-in-section": "^1.0.4",
"remark-preset-lint-markdown-style-guide": "^2.1.3",
"sass-lint": "^1.12.1",
"scroll-to-bottomjs": "^1.1.0",
"typescript": "^4.0.3",
"unified-lint-rule": "^1.0.5",
"unist-util-generated": "^1.1.5",
"unist-util-map": "^1.0.5",
"unist-util-position": "^3.1.0",
"unist-util-to-list-of-char": "^0.1.2",
"unist-util-visit": "^1.4.1"
},
"private": true,
"engines": {
"node": ">=14"
},
"browserslist": [
"last 2 versions",
"not ie <= 11"
],
"volta": {
"node": "16.14.2"
}
}