forked from KittyGiraudel/sass-guidelines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 loc) · 1.64 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
{
"scripts": {
"postinstall": "npm run js:vendors",
"build": "npm run icons && npm run js:build",
"postbuild": "_bin/testbuild",
"preicons": "svgo assets/images/icons",
"icons": "spritesh --input assets/images/icons --output _includes/sprite.svg --viewbox '0 0 1024 1024' --prefix icon-",
"start": "npm run build && npm run watch",
"watch": "jekyll s --incremental --config _config.yml,_config.dev.yml",
"js:vendors": "mkdir -p assets/js/vendor && cp node_modules/a11y-dialog/a11y-dialog.js assets/js/vendor && cp node_modules/blingdotjs/bling.js assets/js/vendor && cp node_modules/picturefill/dist/picturefill.min.js assets/js",
"js:utilities": "cat node_modules/fg-loadcss/src/loadCSS.js node_modules/fg-loadcss/src/cssrelpreload.js node_modules/woff2-feature-test/woff2.js node_modules/OptimizedWebfontLoading/loadFont.js | uglifyjs > _includes/utilities.js",
"js:lint": "semistandard assets/js/src",
"js:build": "npm run js:lint && npm run js:vendors && npm run js:utilities",
"css:critical": "criticalcss run --url http://localhost:4000 --file _site/assets/css/main.css --output _includes/critical.css && cleancss _includes/critical.css --output _includes/critical.css"
},
"dependencies": {
"a11y-dialog": "^2.0.3",
"blingdotjs": "gist:7d867cda127e64d38f28",
"fg-loadcss": "^1.2.0",
"OptimizedWebfontLoading": "gist:2a65d6a37675412a2463",
"picturefill": "^3.0.2",
"woff2-feature-test": "^1.0.2"
},
"devDependencies": {
"clean-css": "^3.4.10",
"criticalcss": "^1.0.1",
"semistandard": "^7.0.5",
"spritesh": "^1.0.10",
"svgo": "^0.6.3",
"uglify-js": "^2.6.2"
}
}