Browse Source

change includes

master
HerrHase 6 years ago
parent
commit
648e71eaf2
4 changed files with 30 additions and 8 deletions
  1. +18
    -0
      package-lock.json
  2. +3
    -2
      package.json
  3. +2
    -5
      src/scss/_base.scss
  4. +7
    -1
      src/scss/crispy.scss

+ 18
- 0
package-lock.json View File

@ -0,0 +1,18 @@
{
"name": "crispy-boilerplate",
"version": "0.9.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"normalize.css": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-7.0.0.tgz",
"integrity": "sha1-q/sd2CRwZ04DIrU86xqvQSk45L8="
},
"reflex-grid": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/reflex-grid/-/reflex-grid-2.0.1.tgz",
"integrity": "sha1-bvcKGYa4LZxo5cRz5i28rxxdwV0="
}
}
}

+ 3
- 2
package.json View File

@ -14,13 +14,14 @@
}, },
"config": { "config": {
"dest_dir": "dest/", "dest_dir": "dest/",
"src_dir": "src/",
"src_dir": "src/"
}, },
"scripts": { "scripts": {
"preinstall": "npm install -g node-sass clean-css-cli postcss-cli autoprefixer", "preinstall": "npm install -g node-sass clean-css-cli postcss-cli autoprefixer",
"build": "npm run css:build", "build": "npm run css:build",
"css:build": "npm run css:clean && npm run css:postcss && npm run css:minify",
"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: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: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/landingPage.css > $npm_package_config_dest_dir/css/landingPage.min.css" "css:minify": "cleancss $npm_package_config_dest_dir/css/landingPage.css > $npm_package_config_dest_dir/css/landingPage.min.css"
} }


+ 2
- 5
src/scss/_base.scss View File

@ -1,9 +1,6 @@
@import @import
'../../normalize.css/normalize', '../../normalize.css/normalize',
'../../reflex-grid/scss/reflex',
'functions/functions',
'mixins/mixins';
'../../reflex-grid/scss/reflex';
/** /**
* base * base
@ -73,7 +70,7 @@ abbr[title] {
} }
kbd { kbd {
// ?
// @TODO do something
} }
mark { mark {


+ 7
- 1
src/scss/crispy.scss View File

@ -1,6 +1,12 @@
@import @import
'functions/functions',
'mixins/mixins',
'config',
'base',
'helpers/helpers', 'helpers/helpers',
'components/button', 'components/button',
'components/heading', 'components/heading',
'components/icon', 'components/icon',


Loading…
Cancel
Save