Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
generator-prototype
Advanced tools
Scaffold modern frontend web apps with Assemble, Grunt, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap, Foundation and structure the web app with Backbone and RequireJS.
Visit the PG-website to learn how to use PG: http://prototype-generator.com
Yeoman generator for Web Apps and Prototypes.
Optional Use of Ruby (SASS & Compass)
Install Yeoman:
npm install -g yo
Install the Generator-Prototype via:
npm install -g generator-prototype
npm update -g generator-prototype
yo prototype
-s
alias --skip-install
Skips the automatic execution of bower
and npm
after scaffolding has finished.You can scaffold your project in an instance. The first question is:
"Choose your installation routine"
If you choose Minimal installation
you skip the rest of the questions and get the default values with:
├───helpers
│ ├───configs
│ ├───templates
│ │ ├───grunticon-template
│ │ └───svg-sprites
│ └───_grunt
├───resources
│ ├───ajax
│ ├───assets
│ │ ├───fonts
│ │ ├───img
│ │ │ ├───svg
│ │ │ │ └───icons
│ │ └───media
│ ├───bower-components
│ ├───js
│ ├───scss
│ │ ├───global
│ │ ├───icons
│ │ └───utils
│ │ ├───extends
│ │ └───mixins
│ └───templates
│ ├───data
│ ├───helpers
│ ├───layouts
│ ├───pages
│ └───partials
├───_dist
└───_output
For our Gruntfile we use the grunt module load-grunt-configs to split up the file in multiple task files. You can find these task files in the following directory:
There are standard grunt modules I use. These are:
But you can also apply additional addons and grunt modules to your project. Just choose specific ones:
We use Assemble as template engine. Assemble is a component and static site generator that makes it dead simple to build modular sites, documentation and components from reusable templates and data. You want to know more? Here you go: assemble.io
In your installation routine you can choose specific modules for Assemble:
We provide some custom helpers to speed up your Assemble workflow. These helpers provide:
You want to know more? See PG Custom Helpers
PG supports different features. Just check/uncheck them in the custom installation routine:
You can choose JS Libraries like:
And you can also choose SCSS Frameworks like:
All files will be included and configured. Have fun!
You can scaffold your project with our PG Methodology.
Furthermore you can add different bower components we provide:
We integrated some sub generators for you:
You forgot a grunt module?
yo prototype:grunt
You want to install assemble helpers?
yo prototype:assemble
yo prototype:bm
yo prototype:bv
yo prototype:bc
Others will follow.
PG provides a way to document your assemble modules via markdown and a separate docs folder.
Just use the custom installation route and check Create Developer Documentation
.
see: Changelog.md
FAQs
Scaffold modern frontend web apps with Assemble, Grunt, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap, Foundation and structure the web app with Backbone and RequireJS.
The npm package generator-prototype receives a total of 6 weekly downloads. As such, generator-prototype popularity was classified as not popular.
We found that generator-prototype 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.