generated from CircleCodeHouse/jekyll-amp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 3.63 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
{
"name": "vandelay-education-local",
"version": "1.0.0",
"repository": "https://github.com/VandelayEducation/vandelay-education-local",
"license": "UNLICENSED",
"private": true,
"scripts": {
"build": "yarn invisaligns && yarn css && yarn jekyll-build && yarn jekyll-build-amp && yarn optimize",
"css": "node _javascripts/postcss.js && cat assets/css/main.min.css > _includes/css.html",
"deploy": "gh-pages --repo [email protected]:CircleCodeHouse/$(echo $JEKYLL_ENV)forestfamily.com.git -d ./_site -t",
"encrypt": "set -e && find ./_site -type f -name '*.html' -exec staticrypt -f _javascripts/password_template.html {} $PASSWORD -o {} \\;",
"favicon": "real-favicon generate _site/favicon.json faviconData.json assets/favicons/ && yarn favicon-inject",
"favicon-inject": "echo '' > _includes/favicon.html && real-favicon inject faviconData.json assets/favicons _includes/favicon.html && mv assets/favicons/favicon.html _includes/favicon.html",
"html": "posthtml -c .posthtmlrc && sleep 4 && posthtml -c .posthtmlrc_2",
"invisaligns": "node _javascripts/invisaligns.js",
"images": "imagemin assets/uploads/* --out-dir=assets/uploads/ && imagemin assets/uploads/* --out-dir=assets/uploads/ --plugin=webp",
"jekyll-build": "bundle exec jekyll build --config _config.yml",
"jekyll-build-amp": "bundle exec jekyll build --config _config.yml,_amp.yml --destination _site/amp/",
"lint": "yarn lint-html && yarn lint-css",
"lint-css": "stylelint ./**/*.css",
"lint-html": "htmllint {*.html,./_includes/*.html,./_layouts/*.html,./partials/*.html}",
"optimize": "yarn html && find _site/amp -name \"*.html\" | while read fname; do npx amp optimize \"$fname\" > \"$fname-temp\" && mv \"$fname-temp\" \"$fname\"; done",
"pa11y": "pa11y-ci",
"sitemap": "./node_modules/.bin/sitemap-generator https://forestfamily.com -v",
"start": "JEKYLL_ENV='preview.' concurrently \"http-server _site -p 8080 -a 0.0.0.0 -s\" \"npm-watch\"",
"test": "yarn lint"
},
"devDependencies": {
"@ampproject/toolbox-cli": "^1.0.1",
"@fortawesome/fontawesome-free": "^5.10.1",
"@fullhuman/postcss-purgecss": "^1.2.0",
"bootstrap": "^4.4.1",
"change-case": "^3.1.0",
"cli-real-favicon": "^0.0.8",
"concurrently": "^4.1.1",
"cssnano": "^4.1.10",
"cssnano-preset-advanced": "^4.0.7",
"csv-parser": "^2.3.0",
"front-matter": "^3.0.2",
"gh-pages": "^2.1.1",
"htmllint-cli": "^0.0.7",
"http-server": "^0.11.1",
"imagemin-cli": "^5.0.0",
"imagemin-webp": "^5.1.0",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15",
"luxon": "^1.17.2",
"npm-watch": "^0.6.0",
"pa11y-ci": "^2.3.0",
"postcss": "^7.0.17",
"postcss-amp": "^1.4.0",
"postcss-amp-custom": "^1.1.3",
"postcss-each": "^0.10.0",
"postcss-for": "^2.1.1",
"postcss-import": "^12.0.1",
"postcss-no-important": "^3.0.1",
"posthtml-amp-img": "kevincolten/posthtml-amp-img",
"posthtml-cli": "kevincolten/posthtml-cli#nested-paths",
"posthtml-img-autosize": "kevincolten/posthtml-img-autosize#amp-img",
"posthtml-webp": "^1.2.0",
"qs": "^6.7.0",
"sitemap-generator-cli": "^4.3.0",
"staticrypt": "^1.3.2",
"stylelint": "^9.9.0",
"stylelint-config-recommended": "^2.2.0",
"url-parse": "^1.4.7",
"yaml": "^1.6.0"
},
"watch": {
"build": {
"patterns": [
"./*"
],
"extensions": "html,css,md",
"ignore": [
"_site",
"node_modules",
"assets/css/main.min.css",
"_includes/css.html",
"invisalign"
]
}
}
}