Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.