
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
gulp-compiler-tool
Advanced tools
npm
$ npm install gulp-compiler-tool --save-dev
yarn
$ yarn add gulp-compiler-tool --dev
在package.json文件中添加以下字段:
"script": {
"compiler": "gulp-compiler"
}
执行npm run compiler
或yarn compiler
默认会编译项目的src
目录中的文件到dist
目录。
如果你需要编译其他目录,该工具也提供选项指定编译路径和保存路径:
"script": {
"compiler": "gulp-compiler --src sourceDir --dist outputDir"
}
也支持指定多个编译目录,只需要在多个目录之间用,
分隔:
"script": {
"compiler": "gulp-compiler --src sourceDir1,sourceDir2,sourceDir3,... --dist outputDir"
}
你也可以直接编译当前目录下的所有文件,用.
表示,工具会自动排除node_modules
和编译后的目录。
less
,其他样式表语言会直接被视为静态文件直接输出;js
需要.babelrc
文件。MIT
FAQs
gulp编译工具,用于编译发布到npm的源码
The npm package gulp-compiler-tool receives a total of 0 weekly downloads. As such, gulp-compiler-tool popularity was classified as not popular.
We found that gulp-compiler-tool 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.