Provides cli integration for sass compiling
configuration.commands.push(
{
type: require('entoj-sass').command.SassCommand
}
);
Provides support for sass file linting for the LintCommand
configuration.commands.push(
{
type: require('entoj-system').command.LintCommand,
'!linters':
[
{
type: require('entoj-sass').linter.SassFileLinter,
options:
{
useDefaultRules: true
}
}
]
}
);
Default: []
Type: Array
Global: Yes
Environment: Yes
Pathes for sass files that are available to @include
Default: ${cache}/sass/bundles
Type: String
Global: Yes
Environment: Yes
Path for compiled css bundles
Default: ${site.name.urlify()}/css/${group}.scss
Type: String
Global: Yes
Environment: Yes
Template for generating css bundle filenames
Default: ['ie >= 9', '> 2%']
Type: Array<String>
Global: No
Environment: Yes
Sets the minimal supported Browsers versions. See http://cssnext.io/usage/#browsers
Default: false
Type: Boolean
Global: No
Environment: Yes
Embeds source maps into compiled bundles
Default: false
Type: Boolean
Global: No
Environment: Yes
Enables destructive css optimizations - use with care
Default: false
Type: Boolean
Global: No
Environment: Yes
Enables css minifications
Default: false
Type: Array<String>
Global: No
Environment: Yes
Allows to rewrite urls to make them fit the target environment. See https://github.com/iAdramelk/postcss-urlrewrite
Runs all test specs at once
npm test
Runs all test matching the given regex
npm test -- --grep model/
Enables logging while running tests
npm test -- --vvvv
Runs all test specs and shows test coverage
npm run coverage
Lints all source files
npm run lint