-
Notifications
You must be signed in to change notification settings - Fork 223
/
package.json
29 lines (29 loc) · 1.34 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
{
"name": "sass-guidelines",
"version": "1.3.0",
"description": "An opinionated styleguide for writing sane, maintainable and scalable Sass.",
"repository": "KittyGiraudel/sass-guidelines",
"license": "MIT",
"scripts": {
"postinstall": "npm run js:vendors",
"icons": "svgo assets/images/icons && spritesh --input assets/images/icons --output _includes/sprite.svg --viewbox '0 0 1024 1024' --prefix icon-",
"js:vendors": "mkdir -p assets/js/vendor && cp node_modules/a11y-dialog/dist/a11y-dialog.min.js assets/js/vendor && cp node_modules/blingdotjs/bling.js assets/js/vendor",
"css:critical": "criticalcss run --url http://localhost:4000 --file _site/assets/css/main.css --forceInclude .chapter__buttons --output _includes/critical.css",
"css:clean": "cleancss _includes/critical.css --output _includes/critical.css",
"css": "npm run css:critical && npm run css:clean",
"watch": "jekyll s --incremental --config _config.yml,_config.dev.yml",
"build": "npm run js:vendors && jekyll build --trace && _bin/testbuild",
"start": "npm run build && npm run watch"
},
"dependencies": {
"a11y-dialog": "^7.5.2",
"blingdotjs": "gist:7d867cda127e64d38f28"
},
"devDependencies": {
"clean-css-cli": "^5.6.2",
"criticalcss": "^2.1.0",
"spritesh": "^1.2.1",
"svgo": "^3.0.2",
"workbox-cli": "^6.5.4"
}
}