
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
generator-tmp2
Advanced tools

A Yeoman generator for The-M-Project.
This module is under development and not yet ready for production use.
Make sure you have installed Node.js, Git and optionally, Ruby and Compass (if you plan to use Compass).
Install: npm install -g generator-tmp2
Make a new directory and cd into it:
mkdir my-new-project && cd $_
Run the yo generator:
yo tmp2
Run grunt for building and grunt server for preview
Available generators:
Create a new The-M-Project app and generate all the boilerplate for you.
yo tmp2
Generates a view in app/scripts/views.
Example:
yo tmp2:view foo
Produces app/scripts/views/foo.js:
APPNAME.Views.FooView = M.View.extend({
// ...
})
Generates a layout in app/scripts/layouts.
Example:
yo tmp2:layout foo
Produces app/scripts/layouts/foo.js:
APPNAME.Layouts.FooLayout = M.Layout.extend({
// ...
})
Generates a controller in app/scripts/controllers.
Example:
yo tmp2:controller foo
Produces app/scripts/controllers/foo.js:
APPNAME.Controllers.FooController = M.Controller.extend({
// ...
})
Generates a model in app/scripts/models.
Example:
yo tmp2:model foo
Produces app/scripts/models/foo.js:
APPNAME.Models.FooModel = M.Model.extend({
// ...
})
Generates a collection in app/scripts/collections.
Example:
yo tmp2:collection foo
Produces app/scripts/collections/foo.js:
APPNAME.Collections.FooCollection = M.Collection.extend({
// ...
})
Generates a router in app/scripts/routers.
Example:
yo tmp2:routers foo
Produces app/scripts/routers/foo.js:
APPNAME.Routers.FooRouter = M.Router.extend({
// ...
})
Generates a i18n in app/i18n.
Example:
yo tmp2:i18n en
Produces app/i18n/en.json:
{
"global.button.save": "Save document",
"global.button.emptyTrash": "Empty Trash ({{count}})",
"global.error.permissionDenied": "Permission denied"
}
--skip-install
Skips the automatic execution of bower and npm after scaffolding has finished.
--test-framework <framework>
Defaults to mocha. Can be switched for another supported testing framework like jasmine.
See the contributing docs
When submitting an issue, please follow the guidelines. Especially important is to make sure Yeoman is up-to-date, and providing the command or commands that cause the issue.
When submitting a bugfix, write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.
When submitting a new feature, add tests that cover the feature.
FAQs
Yeoman generator for The-M-Project
The npm package generator-tmp2 receives a total of 9 weekly downloads. As such, generator-tmp2 popularity was classified as not popular.
We found that generator-tmp2 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
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.