Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Sep 29, 2014
1 parent 50023ec commit 2622151
Show file tree
Hide file tree
Showing 65 changed files with 7,520 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
bower_components/
mx_modules/
node_modules/
nohup.out
*.iml
*.cfg
.idea/
.ipr
.iws
*~
~*
*.diff
*.log
*.patch
*.bak
.DS_Store
Thumbs.db
.project
.*proj
.svn/
*.swp
out/
27 changes: 27 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpacesInFunctionExpression": {
"beforeOpeningCurlyBrace": true
},
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideObjectBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowQuotedKeysInObjects": "allButReserved",
"disallowSpaceAfterObjectKeys": true,
"requireSpaceBeforeBinaryOperators": ["-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<=" ],
"requireSpacesInConditionalExpression": {
"afterTest": true,
"beforeConsequent": true,
"afterConsequent": true,
"beforeAlternate": true
},
"requireSpaceAfterBinaryOperators": ["/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
"disallowKeywords": [ "with" ],
"disallowSpaceAfterPrefixUnaryOperators": [ "!" , "++", "--", "+", "-", "~"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--", ","],
"disallowMultipleLineBreaks": true,
"disallowKeywordsOnNewLine": ["else"],
"safeContextKeyword": "self",
"excludeFiles": ["lib/**/parser.js"]
}
28 changes: 28 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"camelcase": true,
"curly": true,
"eqeqeq": true,
"freeze": true,
"indent": 4,
"latedef": "nofunc",
"quotmark": "single",
"nonew": true,
"newcap": true,
"immed": true,
"noarg": true,
"eqnull": true,
"trailing": true,
"undef": true,
"unused": true,
"browser": true,
"node": true,
"esnext": true,
"globals": {
"describe": false,
"expect": false,
"beforeEach": false,
"afterEach": false,
"modulex": false,
"it": false
}
}
21 changes: 21 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
bower_components/
mx_modules/
node_modules/
*.cfg
nohup.out
*.iml
.idea/
.ipr
.iws
*~
~*
*.diff
*.log
*.patch
*.bak
.DS_Store
Thumbs.db
.project
.*proj
.svn/
*.swp
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
language: node_js
notifications:
email:
- [email protected]
node_js:
- 0.11
before_script:
- node --harmony server &
- npm install gulp bower mocha-phantomjs -g
- bower install
- gulp mx
- phantomjs --version
script:
- npm run browser-test
- npm run browser-test-build
- npm run browser-test-cover
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
date-picker
===========
# date-picker

date picker based on gregorian-calendar and gregorian-calendar-format

[![date-picker](https://nodei.co/npm/modulex-date-picker.png)](https://npmjs.org/package/modulex-date-picker)
[![NPM downloads](http://img.shields.io/npm/dm/modulex-date-picker.svg)](https://npmjs.org/package/modulex-date-picker)
[![Build Status](https://secure.travis-ci.org/kissyteam/date-picker.png?branch=master)](https://travis-ci.org/kissyteam/date-picker)
[![Coverage Status](https://img.shields.io/coveralls/kissyteam/date-picker.svg)](https://coveralls.io/r/kissyteam/date-picker?branch=master)
[![Dependency Status](https://gemnasium.com/kissyteam/date-picker.png)](https://gemnasium.com/kissyteam/date-picker)
[![Bower version](https://badge.fury.io/bo/modulex-date-picker.svg)](http://badge.fury.io/bo/modulex-date-picker)
[![node version](https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square)](http://nodejs.org/download/)
25 changes: 25 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "modulex-date-picker",
"author": "yiminghe <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "http://github.com/kissyteam/date-picker.git"
},
"ignore": [
"**/*",
"!build/**/*",
"!lib/**/*",
"!meta/**/*",
"!index.js"
],
"dependencies": {
"modulex": "modulex#master",
"modulex-feature": "modulex-feature#master",
"modulex-ua": "modulex-ua#master",
"modulex-node": "modulex-node#master",
"modulex-component": "modulex-component#master",
"xtemplate": "xtemplate#3.2.2",
"gregorian-calendar-format": "gregorian-calendar-format#master"
}
}
Loading

0 comments on commit 2622151

Please sign in to comment.