forked from v8/v8.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 2.58 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
{
"private": true,
"scripts": {
"lint": "markdownlint src/**/*.md",
"eleventy": "eleventy",
"html": "html-minifier --config-file=.html-minifier.json --input-dir=dist --output-dir=dist --file-ext=html",
"css": "postcss src/_css/main.css --output dist/_css/main.css && postcss src/_css/feature-support.css --output dist/_css/feature-support.css",
"js": "mkdir -p dist/_js && minify --mangle.topLevel src/_js/main.mjs --outFile dist/_js/main.mjs && minify --mangle.topLevel src/_js/legacy.js --outFile dist/_js/legacy.js",
"json": "json-minify src/.webmanifest > dist/.webmanifest",
"xml": "minify-xml --in-place dist/sitemap.xml && minify-xml --in-place dist/blog.atom && minify-xml --in-place dist/features.atom",
"sw": "workbox injectManifest workbox-config.js && minify dist/sw.js --outFile dist/sw.js",
"copy-img": "for browser in chrome firefox; do cp ./node_modules/@browser-logos/${browser}/${browser}.svg src/_css/img/${browser}.svg; done; cp ./node_modules/@browser-logos/safari/safari_256x256.png src/_css/img/safari.png",
"img": "node add-intrinsicsize.js",
"clean": "rm -rf -- dist",
"build": "npm run clean && npm run css && npm run js && npm run json && npm run copy-img && npm run eleventy && npm run sw && npm run xml && npm run html",
"watch": "npm run build && npx eleventy --watch",
"debug": "DEBUG=* npx eleventy",
"start": "superstatic --port=9001",
"deploy": "firebase deploy",
"ci": "npm run lint && npm run build"
},
"husky": {
"hooks": {
"post-merge": "post-npm-install",
"post-rebase": "post-npm-install",
"pre-commit": "npm run lint"
}
},
"devDependencies": {
"@11ty/eleventy": "^0.8.3",
"@11ty/eleventy-plugin-rss": "^1.0.6",
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.3",
"@browser-logos/chrome": "^1.0.11",
"@browser-logos/firefox": "^2.0.5",
"@browser-logos/safari": "^1.0.4",
"autoprefixer": "^9.6.0",
"babel-minify": "^0.5.0",
"cssnano": "^4.1.10",
"firebase-tools": "^7.0.0",
"glob": "^7.1.4",
"he": "^1.2.0",
"html-minifier": "^4.0.0",
"husky": "^2.4.1",
"image-size": "^0.7.4",
"json-minify": "^1.0.0",
"luxon": "^1.16.0",
"markdown-it": "^8.4.2",
"markdown-it-anchor": "^5.2.4",
"markdown-it-attrs": "^2.4.1",
"markdown-it-container": "^2.0.0",
"markdown-it-footnote": "^3.0.1",
"markdownlint-cli": "^0.17.0",
"minify-xml": "^1.0.3",
"post-npm-install": "^1.0.0",
"postcss-cli": "^6.1.2",
"postcss-custom-properties": "^8.0.10",
"superstatic": "^6.0.4",
"workbox-cli": "^4.3.1"
}
}