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

ng-lists

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-lists - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

gulpfile.js

@@ -40,5 +40,5 @@ 'use strict';

var ts = require('gulp-typescript');
var tsProject = ts.createProject('schematics/tsconfig.json', { typescript: require('typescript') });
var tsProject = ts.createProject('./schematics/tsconfig.json', { typescript: require('typescript') });
var tsResult = gulp.src(['./**/*.ts', '!./node_modules/**/*.ts'], { base: '.' })
var tsResult = gulp.src(['./*/**/*.ts', '!./node_modules/**/*.ts'], { base: '.' })
.pipe(tsProject());

@@ -45,0 +45,0 @@ tsResult.js.pipe(gulp.dest('./'))

{
"name": "ng-lists",
"version": "0.0.3",
"version": "0.0.4",
"description": "List Components for Angular",

@@ -5,0 +5,0 @@ "author": "karthickthangasamy",

@@ -1,13 +0,16 @@

import { noop, chain } from '@angular-devkit/schematics';
import { NodePackageInstallTask } from '@angular-devkit/schematics/tasks';
import { addPackageToPackageJson } from '../utils/package';
export default function (options) {
return chain([
options && options.skipPackageJson ? noop() : addEJ2ToPackageJson(),
(options && !options.skipPackageJson) ? installNodePackages() : noop()
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const schematics_1 = require("@angular-devkit/schematics");
const tasks_1 = require("@angular-devkit/schematics/tasks");
const package_1 = require("../utils/package");
function default_1(options) {
return schematics_1.chain([
options && options.skipPackageJson ? schematics_1.noop() : addEJ2ToPackageJson(),
(options && !options.skipPackageJson) ? installNodePackages() : schematics_1.noop()
]);
}
exports.default = default_1;
function addEJ2ToPackageJson() {
return function (host) {
addPackageToPackageJson(host, 'dependencies', 'ng-list', '*');
return (host) => {
package_1.addPackageToPackageJson(host, 'dependencies', 'ng-list', '*');
return host;

@@ -17,8 +20,3 @@ };

function installNodePackages() {
return function (host, context) {
context.addTask(new NodePackageInstallTask());
return host;
};
}
eturn (host, context) => {
return (host, context) => {
context.addTask(new tasks_1.NodePackageInstallTask());

@@ -25,0 +23,0 @@ return host;

{
"compilerOptions": {
"baseUrl": "tsconfig",
"lib": [
"es2017",
"dom"
],
"declaration": true,
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitThis": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"sourceMap": true,
"strictNullChecks": true,
"target": "es6",
"types": [
"node"
]
"lib": ["es2017", "dom"],
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": false,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"sourceMap": true,
"target": "es6",
"types": [
"node"
]
},
"include": [
"**/*"
"**/*"
],
"exclude": [
"**/*.component.ts",
"**/*spec*",
"template/**/*"
"**/*.component.ts",
"**/*spec*",
"template/**/*"
]
}
}
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