scarab-carapace
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"name": "scarab-carapace", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Highly configurable framework for generating functional CSS classes", | ||
@@ -8,3 +8,3 @@ "main": "core.scss", | ||
"prebuild": "rm -f build/*", | ||
"build": "node-sass test/test.scss -o build/", | ||
"build": "node-sass --include-path node_modules test/test.scss -o build/", | ||
"postbuild": "npm run split && npm run minify && npm run gzip", | ||
@@ -15,3 +15,3 @@ "split": "sakugawa -n 9999999999 -m separate build/test.css", | ||
"gzip": "for file in build/*.css.min\ndo\n tar -zcvf \"$file\".tar.gz \"$file\" \ndone", | ||
"test": "node-sass test/test.scss -o build/" | ||
"test": "node-sass --include-path node_modules test/test.scss -o build/" | ||
}, | ||
@@ -18,0 +18,0 @@ "repository": { |
@@ -39,3 +39,3 @@ # scarab-carapace | ||
## Installation | ||
Install `scarab-carapace` as a dev-dependency in your project via npm: | ||
1. Install `scarab-carapace` as a dev-dependency in your project via npm: | ||
``` | ||
@@ -45,3 +45,5 @@ npm install scarab-carapace --save-dev | ||
Import the necessary files in your main stylesheet: | ||
2. Add your `node_modules` folder to your Sass [`includePath`](https://github.com/sass/node-sass#includepaths). | ||
3. Import the necessary files in your main stylesheet: | ||
```scss | ||
@@ -52,8 +54,8 @@ // IMPORTANT | ||
@import 'path/to/node_modules/scarab-carapace/core'; // Imports scarab-scss, core utils & config | ||
@import 'custom/config/settings'; // Your custom Carapace settings | ||
@import 'custom/config/theme'; // Your custom Carapace theme configuration | ||
@import 'path/to/node_modules/scarab-carapace/config'; // Imports default module config | ||
@import 'custom/config/modules'; // Your custom Carapace module configuration | ||
@import 'path/to/node_modules/scarab-carapace/modules'; // Generates CSS classes | ||
@import 'scarab-carapace/core'; // Imports scarab-scss, core utils & config | ||
@import 'custom/config/settings'; // Your custom Carapace settings | ||
@import 'custom/config/theme'; // Your custom Carapace theme configuration | ||
@import 'scarab-carapace/config'; // Imports default module config | ||
@import 'custom/config/modules'; // Your custom Carapace module configuration | ||
@import 'scarab-carapace/modules'; // Generates CSS classes | ||
``` | ||
@@ -60,0 +62,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
115017
137