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

appc-cli-expressjs

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appc-cli-expressjs - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

2

package.json
{
"name": "appc-cli-expressjs",
"version": "0.0.11",
"version": "0.0.12",
"description": "create an express server project",

@@ -5,0 +5,0 @@ "main": "appc.js",

@@ -14,18 +14,13 @@ var path = require('path');

function _new(appc, args, opts, callback) {
var workspace = process.cwd();
var appDir = opts.workspace ? path.join(opts.workspace, 'server') :
path.join(process.cwd(), opts.name);
// translate opts back to arguments since titanium can only be
// invoked vi CLI, there's no module interface
Object.keys(opts).forEach(function(opt) {
if (opt === 'workspace') {
workspace = path.resolve(opts[opt]);
return;
}
});
// generate templates
appc.generate.copyTemplates(path.join(__dirname,'..','templates'), appDir,
opts.name, opts.id, opts.author, opts, callback);
var appDir = path.join(workspace, 'server');
// generate templates
appc.generate.copyTemplates(path.join(__dirname,'..','templates'),appDir,opts.name,opts.id,opts.author,opts,callback);
appc.core.writeManifest(workspace, { expressjs: appDir });
// write manifest
if (opts.workspace) {
appc.core.writeManifest(opts.workspace, { expressjs: appDir });
}
}
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