
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
generator-kissy-pie
Advanced tools
A yeoman generator for kissy pie
npm install yo -g
第一步:
$ npm install generator-kissy-pie -g
第二步, 在你的应用目录内:
$ mkdir my-app && cd myapp
$ yo kissy-pie #执行yeoman
第三步,创建page
$ yo kissy-pie:page
打开abc.json
,找到这个部分:
"_kissy_pie" : {
"groups": {},
"styleEngine": "sass",
"defaults": {
"timestamp": "201279879",
"buildPages": [ "home/1.0" ]
}
}
设置你需要打包的page,原码版本和对应的时间戳:
如,需要将index
页面的1.0
版本打包到时间戳20130508
:
"defaults": {
"timestamp": "20130508",
"buildPages": [ "index/1.0" ]
}
之后则可以直接使用 grunt
或者 grunt page
进行打包,或者使用grunt common
对common目录进行打包。
另外还可以使用grunt watch
进行文件监控。
使用命令行将覆盖Gruntfile.js
中对于build目标的配置,具体使用如下:
单个页面:
* 打包: `grunt page --target home/1.0 --ts 20130412`
* watch: `grunt watch --target home/1.0 --ts 20130412`
多个页面:
* 打包: `grunt page --target home/1.0,intro/2.0 --ts 20130506`
* watch: `grunt watch --target home/1.0,intro/2.0 --ts 20130506`
FAQs
Yeoman Generator for kissy pie
The npm package generator-kissy-pie receives a total of 1 weekly downloads. As such, generator-kissy-pie popularity was classified as not popular.
We found that generator-kissy-pie 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.