Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
generator-kissy-cake
Advanced tools
A yeoman generator for KISSY-Cake
npm install yo grunt-cli -g
第一步:
$ npm install generator-kissy-cake -g
第二步, 在你的应用目录内:
$ mkdir my-app && cd myapp
$ yo kissy-cake # 初始化目录
第三步,创建page
$ yo kissy-cake:page
打开abc.json
,找到这个部分:
"_kissy_cake" : {
"groups": {},
"styleEngine": "sass",
"defaults": {
"pages": [ "home" ],
"widgets": [ "tooltip" ]
}
}
设置你需要打包的page,和widget:
如,需要打包index
页面,以及widget slide
:
"defaults": {
"pages": [ "index" ],
"widgets": [ "slide" ]
}
使用yo kissy-cake:migrate
来进行目录的迁移
yo kissy-cake:help
KISSY-Cake默认将所有文件从src
打包到build
,你也可以指定需要打包到的目录:
grunt --buildTo myBuild
FAQs
Yeoman Generator for KISSY-Cake
The npm package generator-kissy-cake receives a total of 1 weekly downloads. As such, generator-kissy-cake popularity was classified as not popular.
We found that generator-kissy-cake 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.