New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-jqwidgets-angular-app

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-jqwidgets-angular-app - npm Package Compare versions

Comparing version 0.2.78 to 0.3.0

30

index.js
#! /usr/bin/env node
const shell = require('shelljs');
const replace = require("replace");
const replace = require('replace');
const fs = require('fs')
const path = require('path');
let ncp = require('ncp').ncp;
const ncp = require('ncp').ncp;
ncp.limit = 16;
const projectName = process.argv.slice(2);
const projectName = process.argv[2];
const dir = './' + projectName;

@@ -18,6 +18,6 @@ if (!fs.existsSync(dir)) {

}
const srcPath = path.join(path.dirname(process.argv[1]), '/node_modules/create-jqwidgets-angular-app');
const destPath = process.cwd() + '\\' + projectName;
const srcPath = path.join(path.resolve(__dirname), 'node_modules', 'create-jqwidgets-angular-app');;
const destPath = path.join(process.cwd(), projectName);
ncp(srcPath, destPath, function (err) {

@@ -28,6 +28,8 @@ if (err) {

replace({
regex: "create-jqwidgets-angular-app",
regex: 'create-jqwidgets-angular-app',
replacement: projectName,
paths: [
destPath + '\\.angular-cli.json', destPath + '\\e2e\\app.e2e-spec.ts', destPath + '\\package.json'
path.join(destPath, '.angular-cli.json'),
path.join(destPath, 'e2e//app.e2e-spec.ts'),
path.join(destPath, 'package.json')
],

@@ -41,4 +43,2 @@ recursive: true,

shell.exec('npm install');
});
});
{
"name": "create-jqwidgets-angular-app",
"version": "0.2.78",
"version": "0.3.0",
"preferGlobal": true,
"repository": {
"type": "git",
"url": "https://github.com/jqwidgets/create-jqwidgets-angular-app.git"
},
"bin": {

@@ -9,2 +13,3 @@ "create-jqwidgets-angular-app": "./index.js"

"dependencies": {
"create-jqwidgets-angular-app": "https://github.com/jqwidgets/create-jqwidgets-angular-app/tarball/master",
"ncp": "^2.0.0",

@@ -11,0 +16,0 @@ "replace": "^0.3.0",

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