Skip to content

Commit

Permalink
simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiansandqvist committed Jan 26, 2018
1 parent 24a90fb commit 9e5cefa
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 209 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@ node_js:
- "5"
- "4"
sudo: false
addons:
code_climate:
repo_token: c93da2cf072402fbbe53d73c3b136f50e3d337125b6f4b1c056881adab818d2e
script: "npm run coverage"
after_script:
- codeclimate-test-reporter < coverage/lcov.info
script: "npm test"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# s-ago

[![NPM version](https://img.shields.io/npm/v/s-ago.svg)](https://www.npmjs.com/package/s-ago) ![Dependencies](https://img.shields.io/david/sebastiansandqvist/s-ago.svg) [![build status](http://img.shields.io/travis/sebastiansandqvist/s-ago.svg)](https://travis-ci.org/sebastiansandqvist/s-ago) [![Test Coverage](https://codeclimate.com/github/sebastiansandqvist/s-ago/badges/coverage.svg)](https://codeclimate.com/github/sebastiansandqvist/s-ago/coverage) [![NPM license](https://img.shields.io/npm/l/s-ago.svg)](https://www.npmjs.com/package/s-ago)
[![NPM version](https://img.shields.io/npm/v/s-ago.svg)](https://www.npmjs.com/package/s-ago) ![Dependencies](https://img.shields.io/david/sebastiansandqvist/s-ago.svg) [![build status](http://img.shields.io/travis/sebastiansandqvist/s-ago.svg)](https://travis-ci.org/sebastiansandqvist/s-ago) [![NPM license](https://img.shields.io/npm/l/s-ago.svg)](https://www.npmjs.com/package/s-ago)

This is the smallest, fully unit tested module (26 SLOC) to convert Date objects into human readable relative timestamps, such as '4 minutes ago' or 'yesterday'.

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
"format"
],
"author": "sebastian sandqvist",
"license": "ISC",
"license": "MIT",
"bugs": {
"url": "https://github.com/sebastiansandqvist/s-ago/issues"
},
"homepage": "https://github.com/sebastiansandqvist/s-ago",
"devDependencies": {
"ava": "0.24.0",
"codeclimate-test-reporter": "0.1.1",
"nyc": "11.4.1"
}
}
200 changes: 0 additions & 200 deletions shrinkwrap.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
devDependencies:
ava: 0.24.0
codeclimate-test-reporter: 0.1.1
nyc: 11.4.1
packages:
/@ava/babel-plugin-throws-helper/2.0.0:
Expand Down Expand Up @@ -168,33 +167,10 @@ packages:
node: '>=0.10.0'
resolution:
integrity: sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=
/asn1/0.1.11:
dev: true
engines:
node: '>=0.4.9'
optional: true
resolution:
integrity: sha1-VZvhg3bQik7E2+gId9J4GGObLfc=
/assert-plus/0.1.5:
dev: true
engines:
node: '>=0.8'
optional: true
resolution:
integrity: sha1-7nQAlBMALYTOxyGcasgRgS5yMWA=
/async-each/1.0.1:
dev: true
resolution:
integrity: sha1-GdOGodntxufByF04iu28xW0zYC0=
/async/0.7.0:
dev: true
resolution:
integrity: sha1-RCng5i9d4KVPN0WMSfC4l+tSraU=
/async/0.9.2:
dev: true
optional: true
resolution:
integrity: sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=
/auto-bind/1.2.0:
dev: true
engines:
Expand Down Expand Up @@ -303,11 +279,6 @@ packages:
node: '>=4'
resolution:
integrity: sha512-o/ykNzsWB5qgh1cR9jzVw0E1y4E219aXl9njNFGSamSCsD7VhPd3aoZabNZuG1PSVMZmQ8RuwKnTuz/loNhKnw==
/aws-sign2/0.5.0:
dev: true
optional: true
resolution:
integrity: sha1-xXED96F/wDfwLXwuZLYC6iI/fWM=
/babel-code-frame/6.26.0:
dependencies:
chalk: 1.1.3
Expand Down Expand Up @@ -616,15 +587,6 @@ packages:
dev: true
resolution:
integrity: sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==
/boom/0.4.2:
dependencies:
hoek: 0.9.1
dev: true
engines:
node: '>=0.8.0'
optional: true
resolution:
integrity: sha1-emNune1O/O+xnO9JR6PGffrukRs=
/boxen/1.3.0:
dependencies:
ansi-align: 2.0.0
Expand Down Expand Up @@ -829,16 +791,6 @@ packages:
node: '>=4'
resolution:
integrity: sha512-tJLhH3EpFm/1x7heIW0hemXJTUU5EWl2V0EIX558jp05Mt1U6DVryCgkp3l37cxqs+DNbNgxG43SkwJXpQ14Jw==
/codeclimate-test-reporter/0.1.1:
dependencies:
async: 0.7.0
lcov-parse: 0.0.6
request: 2.34.0
dev: true
engines:
node: '>=0.8.6'
resolution:
integrity: sha1-gSk25ThJrykLBYV1UlKxmOgUAqM=
/color-convert/1.9.1:
dependencies:
color-name: 1.1.3
Expand All @@ -849,15 +801,6 @@ packages:
dev: true
resolution:
integrity: sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
/combined-stream/0.0.7:
dependencies:
delayed-stream: 0.0.5
dev: true
engines:
node: '>= 0.8'
optional: true
resolution:
integrity: sha1-ATfmV7qlp1QcV6w3rF/AfXO03B8=
/common-path-prefix/1.0.0:
dev: true
resolution:
Expand Down Expand Up @@ -944,28 +887,12 @@ packages:
dev: true
resolution:
integrity: sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=
/cryptiles/0.2.2:
dependencies:
boom: 0.4.2
dev: true
engines:
node: '>=0.8.0'
optional: true
resolution:
integrity: sha1-7ZH/HxetE9N0gohZT4pIoNJvMlw=
/crypto-random-string/1.0.0:
dev: true
engines:
node: '>=4'
resolution:
integrity: sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=
/ctype/0.5.3:
dev: true
engines:
node: '>= 0.4'
optional: true
resolution:
integrity: sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8=
/currently-unhandled/0.4.1:
dependencies:
array-find-index: 1.0.2
Expand Down Expand Up @@ -1017,13 +944,6 @@ packages:
node: '>=0.12.0'
resolution:
integrity: sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=
/delayed-stream/0.0.5:
dev: true
engines:
node: '>=0.4.0'
optional: true
resolution:
integrity: sha1-1LH0OpPoKW3+AmlPRoC8N6MTxz8=
/detect-indent/4.0.0:
dependencies:
repeating: 2.0.1
Expand Down Expand Up @@ -1227,21 +1147,6 @@ packages:
node: '>=0.10.0'
resolution:
integrity: sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=
/forever-agent/0.5.2:
dev: true
resolution:
integrity: sha1-bQ4JxJIflKJ/Y9O0nF/v8epMUTA=
/form-data/0.1.4:
dependencies:
async: 0.9.2
combined-stream: 0.0.7
mime: 1.2.11
dev: true
engines:
node: '>= 0.8'
optional: true
resolution:
integrity: sha1-kavXiKupcCsaq/qLwBAxoqyeOxI=
/fs.realpath/1.0.0:
dev: true
resolution:
Expand Down Expand Up @@ -1381,25 +1286,6 @@ packages:
node: '>=4'
resolution:
integrity: sha1-ieJdtgS3Jcj1l2//Ct3JIbgopac=
/hawk/1.0.0:
dependencies:
boom: 0.4.2
cryptiles: 0.2.2
hoek: 0.9.1
sntp: 0.2.4
dev: true
engines:
node: '>=0.8.0'
optional: true
resolution:
integrity: sha1-uQuxaYByhUEdp//LjdJZhQLTtS0=
/hoek/0.9.1:
dev: true
engines:
node: '>=0.8.0'
optional: true
resolution:
integrity: sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=
/home-or-tmp/2.0.0:
dependencies:
os-homedir: 1.0.2
Expand All @@ -1413,17 +1299,6 @@ packages:
dev: true
resolution:
integrity: sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==
/http-signature/0.10.1:
dependencies:
asn1: 0.1.11
assert-plus: 0.1.5
ctype: 0.5.3
dev: true
engines:
node: '>=0.8'
optional: true
resolution:
integrity: sha1-T72sEyVZqoMjEh5UB3nAoBKyfmY=
/hullabaloo-config-manager/1.1.1:
dependencies:
dot-prop: 4.2.0
Expand Down Expand Up @@ -1753,10 +1628,6 @@ packages:
dev: true
resolution:
integrity: sha512-xyQpxeWWMKyJps9CuGJYeng6ssI5bpqS9ltQpdVQ90t4ql6NdnxFKh95JcRt2cun/DjMVNrdjniLPuMA69xmCw==
/json-stringify-safe/5.0.1:
dev: true
resolution:
integrity: sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
/json5/0.5.1:
dev: true
resolution:
Expand Down Expand Up @@ -1793,10 +1664,6 @@ packages:
node: '>=4'
resolution:
integrity: sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=
/lcov-parse/0.0.6:
dev: true
resolution:
integrity: sha1-gZ5dqL8HkfnT857qXtGGgYfxEXU=
/load-json-file/1.1.0:
dependencies:
graceful-fs: 4.1.11
Expand Down Expand Up @@ -1983,10 +1850,6 @@ packages:
node: '>=0.10.0'
resolution:
integrity: sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=
/mime/1.2.11:
dev: true
resolution:
integrity: sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=
/mimic-fn/1.1.0:
dev: true
engines:
Expand Down Expand Up @@ -2037,11 +1900,6 @@ packages:
optional: true
resolution:
integrity: sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=
/node-uuid/1.4.8:
deprecated: Use uuid module instead
dev: true
resolution:
integrity: sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=
/normalize-package-data/2.4.0:
dependencies:
hosted-git-info: 2.5.0
Expand Down Expand Up @@ -2105,11 +1963,6 @@ packages:
dev: true
resolution:
integrity: sha512-5eCZpvaksFVjP2rt1r60cfXmt3MUtsQDw8bAzNqNEr4WLvUMLgiVENMf/B9bE9YAX0mGVvaGA3v9IS9ekNqB1Q==
/oauth-sign/0.3.0:
dev: true
optional: true
resolution:
integrity: sha1-y1QPk7srIqfVlBaRoojWDo6pOG4=
/object-assign/4.1.1:
dev: true
engines:
Expand Down Expand Up @@ -2418,15 +2271,6 @@ packages:
dev: true
resolution:
integrity: sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
/punycode/1.4.1:
dev: true
optional: true
resolution:
integrity: sha1-wNWmOycYgArY4esPpSachN1BhF4=
/qs/0.6.6:
dev: true
resolution:
integrity: sha1-bgFQmP9RlouKPIGQAdXyyJvEsQc=
/randomatic/1.1.7:
dependencies:
is-number: 3.0.0
Expand Down Expand Up @@ -2596,26 +2440,6 @@ packages:
node: '>=0.10.0'
resolution:
integrity: sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=
/request/2.34.0:
dependencies:
forever-agent: 0.5.2
json-stringify-safe: 5.0.1
mime: 1.2.11
node-uuid: 1.4.8
qs: 0.6.6
dev: true
engines:
'0': node >= 0.8.0
optionalDependencies:
aws-sign2: 0.5.0
form-data: 0.1.4
hawk: 1.0.0
http-signature: 0.10.1
oauth-sign: 0.3.0
tough-cookie: 2.3.3
tunnel-agent: 0.3.0
resolution:
integrity: sha1-tdi5UmrdSi1GKfTUFxJFc5lkRa4=
/require-precompiled/0.1.0:
dev: true
engines:
Expand Down Expand Up @@ -2703,15 +2527,6 @@ packages:
dev: true
resolution:
integrity: sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=
/sntp/0.2.4:
dependencies:
hoek: 0.9.1
dev: true
engines:
node: '>=0.8.0'
optional: true
resolution:
integrity: sha1-+4hfGLDzqtGJ+CSGJTa87ux1CQA=
/sort-keys/2.0.0:
dependencies:
is-plain-obj: 1.1.0
Expand Down Expand Up @@ -2929,15 +2744,6 @@ packages:
node: '>=0.10.0'
resolution:
integrity: sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=
/tough-cookie/2.3.3:
dependencies:
punycode: 1.4.1
dev: true
engines:
node: '>=0.8'
optional: true
resolution:
integrity: sha1-C2GKVWW23qkL80JdBNVe3EdadWE=
/trim-newlines/1.0.0:
dev: true
engines:
Expand All @@ -2956,11 +2762,6 @@ packages:
node: '>=0.10.0'
resolution:
integrity: sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
/tunnel-agent/0.3.0:
dev: true
optional: true
resolution:
integrity: sha1-rWgbaPUyGtKCfEz7G31d8s/pQu4=
/uid2/0.0.3:
dev: true
resolution:
Expand Down Expand Up @@ -3107,5 +2908,4 @@ shrinkwrapMinorVersion: 4
shrinkwrapVersion: 3
specifiers:
ava: 0.24.0
codeclimate-test-reporter: 0.1.1
nyc: 11.4.1

0 comments on commit 9e5cefa

Please sign in to comment.