Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
generator-starterkit
Advanced tools
Yeoman generator that scaffolds out a front end development starterkit.
Yeoman generator that scaffolds out a front end development starterkit.
styles
: Sass / Less auto compiling, prefixing, minifiying and sourcemapping.templates
: Pug / Html auto compiling and minifiying.scripts
: Scripts concatenation, transpiling with Babel, minifiying and sourcemapping.lint
: Lint your JavaScript files.images
: Images optimization.deploy
: Deploying your project into a github pages surge or ftp server.beautify
: Beautify preproduction files.browsersync
: Automatically injects all your changes in styles
, templates
and scripts
into your browser and other devices on save.optimize
: Automatically autoptimize your project using critical and uncss, to improve your page speed.For more information about gulp workflow / tasks go to starterkit gulp tasks
$ npm install -g yo
$ npm install -g generator-starterkit
Before running the generator you will need to create a folder for your project where the generator will create all the project files and directories.
Once you have, NodeJS, Yeoman, generator-starterkit installed and your project folder created you can run the generator using:
$ mkdir project
$ cd project
$ yo starterkit
$ gulp
Now the generator-starterkit will start to ask some questions to setup the project for you; project information, technologies and languages that you want to use and will install the dependencies automatically based on your decisions.
Also there are a lot of files being created dynamically such as gulp.js, package.json, readme.md, styles and templates to match the technologies and options that you choose from the generator. (See the technologies available)
Don't forget to run gulp
after the yeoman finishes. Also you can use npm run
to list the gulp tasks available and running them using for example npm run dev
, (dev will run the default gulp task).
--skip-install
: Skips the installation of dependencies with npm.--skip-welcome-message
: Skips the welcome message.--skip-install-message
: Skips the message after the installation of dependencies.--skip-cache
: Do not remember prompt answers..
├── /dist/ # Minified, optimized and compiled files.
│ ├── /assets/ # Assets folder.
│ │ ├── /css/ # CSS style files.
│ │ ├── /files/ # Static files.
│ │ │ └── img/ # Images folder.
│ │ └── /js/ # JS files.
│ └── *.html # Minified HTML files.
├── /node_modules/ # Node modules dependencies and packages.
├── /src/ # Source files.
│ ├── /images/ # Images non compressed.
│ ├── /scripts/ # JavaScript files.
│ ├── /styles/ # SCSS / Less style files.
│ │ └── _includes/ # Styles SCSS / Less partials.
│ ├── /templates/ # Templating Pug files / Html files.
│ │ └── _includes/ # Templating Pug partials.
└── gulpfile.js # Gulp automatization file.
The code is available under the MIT license.
FAQs
Yeoman generator that scaffolds out a front end development starterkit.
We found that generator-starterkit 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
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.