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-ambition
Advanced tools
Yeoman generator for Ambition.
To install Yeoman:
npm install -g yo
To install the Ambition generator:
npm install -g generator-ambition
Using the Ambition generator is simple:
yo ambition
To run tests:
npm test
To build your project (compiles js and/or css to the build
directory):
npm run build
The Ambition generator will ask you several questions and generate app scaffolding based on your answers.
The name of your project. Used to create folder and file names.
True to include Stylus for automatic compilation. Save your .styl
files to the style
directory. The resulting css is saved to build/project-name.css
.
True to include jQuery in the project. The jQuery files are saved to lib/jquery
.
True to include the Traceur compiler and runtime. The runtime files are saved to lib/traceur
.
True to automatically run your Jasmine tests on Browserstack. You must set appropriate BROWSERSTACK_USERNAME
and BROWSERSTACK_KEY
enviornment variables before testing. This task is ignored if both variables are not set.
True to exclude JS compilation and testing tools from your project.
Save .styl
files to the style
directory. Save .js
files to appropriate modules in the src
directory. Save tests in each module's tests
directory.
Example file tree (with included CSS and jQuery):
.
├── bower.json
├── build
│ ├── my-app.js
│ └── my-app.css
├── gruntfile.js
├── lib
│ └── jquery
│ ├── MIT-LICENSE.txt
│ ├── bower.json
│ ├── jquery.js
│ ├── jquery.min.js
│ └── jquery.min.map
├── package.json
├── src
│ └── my-app
│ ├── app.js
│ └── tests
│ └── app_tests.js
└── style
└── variables
└── all.styl
FAQs
Yeoman generator for Ambition.
We found that generator-ambition 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.