File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11sudo : false
22language : node_js
3+ notifications :
4+ email : false
35node_js :
4- - " 2"
5- - " 3"
6- - " 4"
7- - " 6"
8- - " 7"
9- - " 8"
6+ - ' 8'
7+ - ' 6'
8+ - ' 4'
9+ install :
10+ - npm i npminstall && npminstall
1011script :
11- - " npm run test-cov "
12+ - npm run ci
1213after_script :
13- - " npm i codecov.io && cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js"
14+ - npminstall codecov && codecov
15+ after_success :
16+ - npm run semantic-release
17+ branches :
18+ except :
19+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 11This software is licensed under the MIT License.
22
3- Copyright(c) 2013 - 2015 by node-modules and other contributors.
3+ Copyright(c) 2013 - 2017 node-modules and other contributors.
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ parameter
55[ ![ build status] [ travis-image ]] [ travis-url ]
66[ ![ Test coverage] [ codecov-image ]] [ codecov-url ]
77[ ![ npm download] [ download-image ]] [ download-url ]
8+ [ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square )] ( https://github.com/semantic-release/semantic-release )
89
910[ npm-image ] : https://img.shields.io/npm/v/parameter.svg?style=flat-square
1011[ npm-url ] : https://npmjs.org/package/parameter
Original file line number Diff line number Diff line change 1- /**!
2- * Copyright(c) node-modules and other contributors.
3- * MIT Licensed
4- *
5- * Authors:
6- * fengmk2 <fengmk2@gmail.com> (http://fengmk2.com)
7- */
8-
91'use strict' ;
102
11- /**
12- * Module dependencies.
13- */
14-
153var Benchmark = require ( 'benchmark' ) ;
164var benchmarks = require ( 'beautify-benchmark' ) ;
175var Parameter = require ( './' ) ;
Original file line number Diff line number Diff line change 1- /**
2- * Copyright(c) node-modules and other contributors.
3- * MIT Licensed
4- *
5- * Authors:
6- * fengmk2 <fengmk2@gmail.com>
7- * dead_horse <dead_horse@qq.com>
8- */
9-
101'use strict' ;
112
123var util = require ( 'util' ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " parameter" ,
3- "version" : " 2.1.0 " ,
3+ "version" : " 0.0.0-development " ,
44 "description" : " A parameter verify tools." ,
55 "main" : " index.js" ,
66 "files" : [
77 " index.js"
88 ],
99 "scripts" : {
10- "test" : " mocha --check-leaks -R spec -t 1000 test/*.test.js" ,
11- "test-cov" : " istanbul cover node_modules/.bin/_mocha -- --check-leaks -t 1000 test/*.test.js"
10+ "test" : " mocha -R spec -t 1000 test/*.test.js" ,
11+ "cov" : " istanbul cover _mocha -- -t 1000 test/*.test.js" ,
12+ "ci" : " npm run cov" ,
13+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
1214 },
1315 "dependencies" : {},
1416 "devDependencies" : {
1517 "beautify-benchmark" : " 0" ,
1618 "benchmark" : " *" ,
1719 "istanbul" : " *" ,
1820 "mocha" : " *" ,
19- "should" : " *"
21+ "should" : " *" ,
22+ "semantic-release" : " ^6.3.6"
2023 },
2124 "repository" : {
2225 "type" : " git" ,
23- "url" : " git ://github.com/node-modules/parameter.git"
26+ "url" : " https ://github.com/node-modules/parameter.git"
2427 },
2528 "keywords" : [
2629 " parameter" ,
2730 " verify" ,
2831 " univ"
2932 ],
3033 "engines" : {
31- "node" : " >= 2 .0.0"
34+ "node" : " >= 4 .0.0"
3235 },
3336 "author" : " fengmk2 <fengmk2@gmail.com>" ,
3437 "license" : " MIT"
You can’t perform that action at this time.
0 commit comments