|
|
- {
- "name": "crispy-boilerplate",
- "version": "0.9.4",
- "description": "Flat Sass Boilerplate to give you a amount of Basic Settings, Mixins and Functions",
- "repository": {
- "type": "git",
- "url": "git@github.com:HerrHase/crispy-boilerplate.git"
- },
- "author": "Björn Hase",
- "license": "MIT",
- "dependencies": {
- "normalize.css": "^7.0.0",
- "reflex-grid": "^2.0.1"
- },
- "devDependencies": {
- "autoprefixer": "^7.2.5",
- "clean-css-cli": "^4.1.10",
- "copyfiles": "^1.2.0",
- "node-sass": "^4.7.2",
- "postcss-cli": "^4.1.1",
- "rimraf": "^2.6.1",
- "svg-sprite": "^1.3.7",
- "svgo": "^1.0.3"
- },
- "config": {
- "dest_dir": "dest/",
- "src_dir": "src/",
- "build_dir": "build/"
- },
- "scripts": {
- "build": "npm run css:build && npm run svg:build",
- "css:build": "npm run css:clean && npm run css:scss && npm run css:postcss && npm run css:minify",
- "css:clean": "rimraf $npm_package_config_dist_dir/css/*",
- "css:scss": "node-sass $npm_package_config_src_dir/scss/crispy.scss $npm_package_config_dest_dir/css/crispy.css",
- "css:postcss": "postcss $npm_package_config_dest_dir/css/*.css --use autoprefixer -d $npm_package_config_dest_dir/css/",
- "css:minify": "cleancss $npm_package_config_dest_dir/css/crispy.css > $npm_package_config_dest_dir/css/crispy.min.css",
- "svg:build": "npm run svg:clean && npm run svg:copy && npm run svg:optimize && npm run svg:minify",
- "svg:clean": "rimraf $npm_package_config_dest_dir/svg/* && rimraf $npm_package_config_build_dir/svg/*",
- "svg:copy": "copyfiles -f $npm_package_config_src_dir/icons/**/*.svg $npm_package_config_build_dir/svg",
- "svg:optimize": "svgo -f $npm_package_config_build_dir/svg -o $npm_package_config_build_dir/svg",
- "svg:minify": "svg-sprite -s --symbol-sprite=$npm_package_config_dest_dir/svg/icons.svg --symbol-dest= $npm_package_config_build_dir/svg/*.svg"
- }
- }
|