
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
development-assert-ts
Advanced tools
This repo is for distribution on npm
. The source for this module is in the
main repo.
Please file issues and pull requests against that repo.
This package use to develop kit for typescript node project development via gulp tasks.
You can install this package either with npm
.
npm install development-assert-ts
You can import
modules:
import * as gulp from 'gulp';
import { Development } from 'development-tool';
import { INodeTaskOption } from 'development-tool-web';
import 'development-assert-ts';
Development.create(gulp, __dirname, {
tasks:[
<INodeTaskOption>{
src: 'src',
//testSrc: '...',
//e2eSrc: '...',
//watchSrc: '...'
dist: 'lib',
// buildDist:'build path',
// releaseDist: 'release path',
// depolyDist: 'depoly path'
asserts:{
ts: {
//src: '...',
//dist:'...',
loader: {
module:'development-assert-ts',
// add pipe works for module tasks.
tsPipes:[
// ts pipe works.
],
//js pipe work.
pipe(stream, ctx, dist, gulp){ ... }
pipes: Pipe[] | (ctx, dist, gulp)=> Pipe[],
output: OutputPipe[] | (stream, ctx, dist, gulp)=> OutputPipe[]
},
//also can add pipe works here.
tsPipes:[
// ts pipe works.
],
pipe(stream, ctx, dist, gulp){ ... }
pipes: Pipe[] | (ctx, dist, gulp)=> Pipe[],
output: OutputPipe[] | (stream, ctx, dist, gulp)=> OutputPipe[]
},
tsx:{
tsPipes: <Pipe[]>[
// ts pipe works.
],
pipes:[
// js pipe works.
]
loader:'development-assert-ts'
}
json: 'src/**/*.json',
css:'src/common/**/*.css',
moduleBcss: ['src/moduleB/**/*.css'],
moduleAcss: {
src: ['src/apath/**/*.css', 'src/bpath/**/*.css'],
dist:'dist path',
buildDist:'buildDist path',
releaseDist: 'release Distpath',
depolyDist: 'depoly Distpath'
},
...
},
loader: 'development-tool-web'
}
]
});
https://github.com/zhouhoujun/development-assert-ts.git
Documentation is available on the development-assert-ts docs site.
MIT © Houjun
FAQs
typescript assert tasks for development.
We found that development-assert-ts 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.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.