Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-requirejs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-requirejs - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

demo/index.js

11

app/index.js

@@ -10,2 +10,4 @@ 'use strict';

this.options = options || {};
this.on('end', function () {

@@ -21,2 +23,3 @@ this.installDependencies({ skipInstall: options['skip-install'] });

AppGenerator.prototype.askFor = function askFor() {
var cb = this.async();

@@ -39,2 +42,9 @@

if (this.options.promptDefaults) {
this.appname = this.options.promptDefaults.appname;
this.appdescription = this.options.promptDefaults.appdescription;
cb();
return;
}
var prompts = [{

@@ -92,4 +102,3 @@ name: 'appname',

this.directory('test', 'test');
// this.directory('libs', 'libs');
this.template('index.htm', 'index.htm');
};

4

package.json
{
"name": "generator-requirejs",
"version": "0.0.1",
"version": "0.1.0",
"description": "A generator for Yeoman",

@@ -24,3 +24,3 @@ "keywords": [

"dependencies": {
"yeoman-generator": "~0.10.2"
"yeoman-generator": "~0.10.5"
},

@@ -27,0 +27,0 @@ "devDependencies": {

@@ -9,6 +9,10 @@ # Yeoman RequireJS Generator

`npm install -g yo`
- Install the generator **locally**: `npm install yeoman-generator-require`
- Run: `yo yeoman-generator-require`
- Install the generator **locally**: `npm install generator-requirejs`
- Run: `yo requirejs`
## Demo Application
Run `yo requirejs:demo` to install a demo application
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc