Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
generator-inuit
Advanced tools
A Yeoman generator for Harry Robert's inuit.css framework with SMACSS and grunt support
A Yeoman generator for Harry Robert's inuit css framework.
To install generator-inuit from npm, run:
npm install -g generator-inuit
Then, from your projects directory, initiate the generator:
yo inuit
Below are 3 of the most helpful references to understanding Inuit and OOCSS concepts.
MindBEMding – getting your head ’round BEM syntax
The open/closed principle applied to CSS
The single responsibility principle applied to CSS
Choose which inuit objects/abstractions you want to use in your project.
To skip this step, simply press enter as these can be configured manually once your project has been generated via the _vars.scss file.
Jonathan Snook's SMACSS guide helps organise your site's CSS into flexible, maintainable chunks.
Files created are;
These files are placed in the css/src directory and automatically imported into css/style.scss.
Two more directories are added place your Sass partials into;
For more info on SMACSS, visit SMACSS website.
Grunt helps automate your workflow.
####Tasks
Development
grunt serve
grunt watch
Production
grunt build
There are way more things you can do with grunt like Responsive Images, HTML Partials, Compass, and loads more, so feel free to add more to your gruntfile and package.json.
NOTE: Saying no to grunt option will generate a basic watch file to watch for Sass changes via the command line
yo inuit:sassmod "module-name"
Note: you will be prompted by the sub-generator to overwrite style.scss with the new changes. Please choose yes and then enter.
Yeoman is more than just a tool. It's a workflow; a collection of tools and best practices working in harmony to make developing for the web even better.
Find out more at yeoman.io
v0.6.0 - Restructured scaffolding to separate files into app and dist. Added additional grunt tasks (autoprefixer, cssmin and rigger)
v0.5.2 - Fixed livereload issue and upgraded imagemin grunt package
v0.5.0 - Create partial sass files with sub-generator
v0.4.0 - Activate inuit modules
v0.3.0 - Grunt option/support
v0.2.0 - SMACSS option/support
v0.1.0 - Basic bowser install of inuit.css
Two people deserve a mention for helping me get a couple of the features done in one way or another.
Ritchie Anesco for helping out with the inuit objects & abstrations feature
Remy Bach for this article which enabled me to write content to the _vars.scss and style.scss files via a simple 'find hook and replace' solution.
FAQs
A Yeoman generator for Harry Robert's inuit.css framework with SMACSS and grunt support
The npm package generator-inuit receives a total of 18 weekly downloads. As such, generator-inuit popularity was classified as not popular.
We found that generator-inuit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.