forked from chromeos/chromeos.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 5.79 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
180
181
182
183
184
185
186
187
188
{
"name": "chromeos.dev",
"version": "1.0.0",
"description": "Hello Chrome OS developers, this is your home",
"main": "src/js/main.js",
"contributors": [
"Adriana Jara",
"Alexander Nohe",
"Emilie Roberts",
"Iein Valdez",
"Joyce Toh",
"Kenneth Ford",
"Matt Monasch",
"Natalia Gvak",
"Patrick Fuentes",
"Sam Richard",
"Vivek Mistry",
"Alex Cortes",
"Beatriz Villalba",
"Christian Gutierrez",
"Giancarlo Orsi",
"Ivan Guevara",
"Jack Douglas",
"Javier Vargas",
"Jeanne Storck",
"Juan Sebastian Reina",
"Julian Mahecha",
"Juliana Lopera",
"Ricardo Uribe",
"Shanon Stull",
"Tu Vu"
],
"license": "Apache-2.0",
"scripts": {
"ava": "ava",
"build": "cross-env NODE_ENV=production run-p *:build",
"preview": "run-s build firebase:deploy:preview",
"css:fix": "stylelint --fix 'site/sass/**/*.scss'",
"css:lint": "stylelint 'site/sass/**/*.scss'",
"dev": "run-p *:watch",
"firebase:functions:log": "firebase functions:log",
"firebase:functions:shell": "firebase functions:shell",
"firebase:watch": "firebase serve --only functions --port=5010",
"firebase:deploy:preview": "firebase hosting:channel:deploy ${npm_config_channel} --expires 7d",
"firebase": "firebase",
"fix": "cross-env NODE_ENV=production run-p *:fix",
"js:fix": "eslint --fix functions site lib vite.config.js ava.config.cjs",
"js:lint": "eslint functions site lib vite.config.js ava.config.cjs",
"lint": "cross-env NODE_ENV=production run-p *:lint",
"md:lint": "remark 'site/*/!(style-guide)/**/*.md' -q -f",
"patch": "patch-package",
"postinstall": "patch-package",
"prebuild": "del public",
"prepare": "husky install",
"pretest": "run-s lint",
"prettier:files:fix": "prettier --write .",
"prettier:files:lint": "prettier -c .",
"prettier:fix": "run-p prettier:*:fix",
"prettier:lint": "run-p prettier:*:lint",
"prettier:njk:fix": "prettier --write '**/*.njk'",
"prettier:njk:lint": "prettier -c '**/*.njk'",
"redirects:build": "node ./lib/helpers/redirects.js",
"serve": "run-s dev",
"start": "vite",
"test:lint": "eslint tests",
"test": "nyc ava",
"vite:build": "vite build",
"vite:staging": "vite build --mode staging",
"vite:watch": "vite",
"vite": "vite",
"vrt:approve": "node vrt.js approve",
"vrt:reference": "node vrt.js reference",
"vrt:serve": "serve -l 5566 .backstop",
"vrt": "node vrt.js test"
},
"nyc": {
"include": [
"src/js/**/*.js",
"lib/**/*.js"
],
"all": true
},
"devDependencies": {
"@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
"ajv": "^6.12",
"ajv-merge-patch": "^4.1",
"autoprefixer": "^10.4.2",
"ava": "^3.15",
"backstopjs": "^6.0",
"breakpoint-sass": "^2.7.1",
"chromeos-dev-markdown": "^1.0.1",
"config": "^3.3",
"cross-env": "^7.0",
"del-cli": "^4.0",
"eleventy-plugin-i18n-helpers": "0.0.2",
"eleventy-plugin-nesting-toc": "^1.3",
"emoji-commit-helpers": "^0.1",
"emoji-regex": "^10.0",
"eslint": "^8.18",
"eslint-config-developit": "^1.2",
"eslint-config-google": "^0.14",
"eslint-config-prettier": "^8.4",
"eslint-plugin-ava": "^13.2",
"eslint-plugin-import": "^2.25",
"eslint-plugin-prettier": "^4.0",
"eslint-plugin-spellcheck": "^0.0",
"esm": "^3.2",
"express": "^4.18",
"firebase-tools": "^11.15",
"front-matter": "^4.0",
"fs-extra": "^10.0",
"glob": "^7.2",
"husky": "^7.0.4",
"js-yaml": "^4.1",
"lint-staged": "^12.3.4",
"lodash.clonedeep": "^4.5",
"lodash.get": "^4.4",
"lodash.kebabcase": "^4.1",
"markdown-it": "^12.3.2",
"node-fetch": "^2.6",
"npm-run-all": "^4.1",
"nyc": "^15.1",
"patch-package": "^6.4",
"posthtml": "^0.16.6",
"posthtml-external-link": "^0.1",
"posthtml-match-helper": "^1.0",
"prettier": "^2.5",
"remark": "^14.0",
"remark-cli": "^8.0",
"remark-frontmatter": "^2.0",
"remark-lint": "^7.0.1",
"remark-lint-prohibited-strings": "^1.5.2",
"replaceall": "^0.1",
"sanitize-html": "^2.7.0",
"sass": "^1.49",
"sass-toolkit": "^2.10.2",
"sinon": "^13.0",
"stylelint": "^14.5.3",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^7.0.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-config-standard": "^25.0.0",
"unified-lint-rule": "^1.0.6",
"unist-util-find": "^1.0",
"unist-util-parents": "^1.0.3",
"unist-util-visit": "^2.0",
"vite": "^2.8.4",
"vite-plugin-eleventy": "0.3.1",
"vite-plugin-posthtml": "0.0.3",
"yaml-unist-parser": "^1.3"
},
"dependencies": {
"comlink": "^4.3",
"container-query-polyfill": "^0.1.2",
"css-paint-polyfill": "^3.4",
"dynamic-import-polyfill": "^0.1",
"i18n-iso-countries": "^7.4",
"iso-639-1": "^2.1",
"lottie-web": "^5.9",
"lunr": "^2.3",
"resize-observer-polyfill": "^1.5",
"service-worker-i18n-redirect": "^1.0.0",
"service-worker-includes": "^1.0.1",
"vite-plugin-pwa": "^0.11.13",
"workbox-broadcast-update": "^6.4.2",
"workbox-cacheable-response": "^6.5",
"workbox-expiration": "^6.5",
"workbox-google-analytics": "^6.4",
"workbox-navigation-preload": "^6.4.2",
"workbox-precaching": "^6.4",
"workbox-recipes": "^6.4",
"workbox-routing": "^6.5",
"workbox-strategies": "^6.4"
},
"private": true,
"volta": {
"node": "14.18.2"
},
"lint-staged": {
"(functions|site|lib)/**/*.js": "eslint --cache",
"vite.config.js": "eslint --cache",
"ava.config.cjs": "eslint --cache",
"site/*/!(style-guide)/**/*.md": "remark -q -f",
"**/*": "prettier -c",
"site/sass/**/*scss": "stylelint",
"tests/**/*.js": "eslint -c tests/.eslintrc.yml --cache"
}
}