Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
generator-kissy-pie
Advanced tools
A yeoman generator for kissy pie
npm install yo -g
第一步:
$ npm link
第二步, 在你的应用目录内:
$ mkdir my-app && cd myapp
$ yo kissy-pie #执行yeoman
打开Gruntfile.js
,找到文件上方的这个部分:
/**
* 下列命令执行下面命令若不给定参数,则默认添加下面配置
* `grunt watch`
* `grunt page`
* `grunt common`
* 可用配置:
* timestamp: {String} 时间戳目录,
* buildPage: {String|Array} pageName/version/pkgName
*/
var DEFAULTS = {
timestamp: '20130510',
buildPages: [ 'finished_task/1.0']
};
设置你需要打包的page,原码版本和对应的时间戳:
如,需要将index
页面的1.0
版本打包到时间戳20130508
:
var DEFAULTS = {
timestamp: '20130508',
buildPages: [ 'index/1.0']
};
之后则可以直接使用 grunt
或者 grunt page
进行打包,使用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 14 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.