parent
b75534b460
commit
98f9ebcfd4
|
@ -4,5 +4,7 @@ node_js:
|
||||||
- 'iojs-1'
|
- 'iojs-1'
|
||||||
- '0.12'
|
- '0.12'
|
||||||
- '0.11'
|
- '0.11'
|
||||||
script: "npm run test-travis"
|
script:
|
||||||
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
|
- 'npm run test-cov'
|
||||||
|
after_script:
|
||||||
|
- 'npm i codecov.io && cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js'
|
||||||
|
|
2
AUTHORS
2
AUTHORS
|
@ -1 +1,3 @@
|
||||||
fengmk2 <m@fengmk2.com> (https://fengmk2.com)
|
fengmk2 <m@fengmk2.com> (https://fengmk2.com)
|
||||||
|
Haoliang Gao <sakura9515@gmail.com> (https://github.com/popomore)
|
||||||
|
闲耘™ <hotoo.cn@gmail.com> (https://github.com/hotoo)
|
||||||
|
|
13
History.md
13
History.md
|
@ -1,4 +1,17 @@
|
||||||
|
|
||||||
|
1.2.0 / 2015-08-31
|
||||||
|
==================
|
||||||
|
|
||||||
|
* refact(endsWith): endsWith is fast than regexp
|
||||||
|
* revert slice arguments to args
|
||||||
|
|
||||||
|
1.1.0 / 2015-08-31
|
||||||
|
==================
|
||||||
|
|
||||||
|
* feat: paramter support object
|
||||||
|
* refact: arguments to array.
|
||||||
|
* optimize use regexp without caught group
|
||||||
|
|
||||||
1.0.2 / 2015-05-17
|
1.0.2 / 2015-05-17
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
|
15
README.md
15
README.md
|
@ -3,27 +3,18 @@ koa-locales
|
||||||
|
|
||||||
[![NPM version][npm-image]][npm-url]
|
[![NPM version][npm-image]][npm-url]
|
||||||
[![build status][travis-image]][travis-url]
|
[![build status][travis-image]][travis-url]
|
||||||
[![Test coverage][coveralls-image]][coveralls-url]
|
[![Test coverage][cov-image]][cov-url]
|
||||||
[![Gittip][gittip-image]][gittip-url]
|
|
||||||
[![David deps][david-image]][david-url]
|
[![David deps][david-image]][david-url]
|
||||||
[![iojs version][iojs-image]][iojs-url]
|
|
||||||
[![node version][node-image]][node-url]
|
|
||||||
[![npm download][download-image]][download-url]
|
[![npm download][download-image]][download-url]
|
||||||
|
|
||||||
[npm-image]: https://img.shields.io/npm/v/koa-locales.svg?style=flat-square
|
[npm-image]: https://img.shields.io/npm/v/koa-locales.svg?style=flat-square
|
||||||
[npm-url]: https://npmjs.org/package/koa-locales
|
[npm-url]: https://npmjs.org/package/koa-locales
|
||||||
[travis-image]: https://img.shields.io/travis/koajs/locales.svg?style=flat-square
|
[travis-image]: https://img.shields.io/travis/koajs/locales.svg?style=flat-square
|
||||||
[travis-url]: https://travis-ci.org/koajs/locales
|
[travis-url]: https://travis-ci.org/koajs/locales
|
||||||
[coveralls-image]: https://img.shields.io/coveralls/koajs/locales.svg?style=flat-square
|
[cov-image]: https://codecov.io/github/koajs/locales/coverage.svg?branch=master
|
||||||
[coveralls-url]: https://coveralls.io/r/koajs/locales?branch=master
|
[cov-url]: https://codecov.io/github/koajs/locales?branch=master
|
||||||
[gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square
|
|
||||||
[gittip-url]: https://www.gittip.com/fengmk2/
|
|
||||||
[david-image]: https://img.shields.io/david/koajs/locales.svg?style=flat-square
|
[david-image]: https://img.shields.io/david/koajs/locales.svg?style=flat-square
|
||||||
[david-url]: https://david-dm.org/koajs/locales
|
[david-url]: https://david-dm.org/koajs/locales
|
||||||
[iojs-image]: https://img.shields.io/badge/io.js-%3E=_1.0-yellow.svg?style=flat-square
|
|
||||||
[iojs-url]: http://iojs.org/
|
|
||||||
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.12-green.svg?style=flat-square
|
|
||||||
[node-url]: http://nodejs.org/download/
|
|
||||||
[download-image]: https://img.shields.io/npm/dm/koa-locales.svg?style=flat-square
|
[download-image]: https://img.shields.io/npm/dm/koa-locales.svg?style=flat-square
|
||||||
[download-url]: https://npmjs.org/package/koa-locales
|
[download-url]: https://npmjs.org/package/koa-locales
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "koa-locales",
|
"name": "koa-locales",
|
||||||
"version": "1.0.2",
|
"version": "1.2.0",
|
||||||
"description": "koa locales, i18n solution for koa",
|
"description": "koa locales, i18n solution for koa",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -9,7 +9,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js",
|
"test": "mocha --harmony --check-leaks -R spec -t 5000 test/*.test.js",
|
||||||
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js",
|
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 5000 test/*.test.js",
|
||||||
"test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --check-leaks -t 5000 test/*.test.js",
|
|
||||||
"jshint": "jshint .",
|
"jshint": "jshint .",
|
||||||
"autod": "autod -w --prefix '~'",
|
"autod": "autod -w --prefix '~'",
|
||||||
"cnpm": "npm install --registry=https://registry.npm.taobao.org",
|
"cnpm": "npm install --registry=https://registry.npm.taobao.org",
|
||||||
|
@ -51,8 +50,7 @@
|
||||||
"koa"
|
"koa"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.12.0",
|
"node": ">=0.12.0"
|
||||||
"iojs": ">=1.0.0"
|
|
||||||
},
|
},
|
||||||
"author": "fengmk2 <m@fengmk2.com> (http://fengmk2.com)",
|
"author": "fengmk2 <m@fengmk2.com> (http://fengmk2.com)",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
|
|
Loading…
Reference in New Issue