Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkGriffiths committed Feb 20, 2020
1 parent 25e4939 commit 55cf3bd
Show file tree
Hide file tree
Showing 14 changed files with 5,795 additions and 3,808 deletions.
44 changes: 23 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
---
branches:
only:
- master
- develop
- "/^greenkeeper/.*$/"
- "/^feature/.*$/"
- master
- develop
- /^greenkeeper/.*$/
- /^feature/.*$/
language: node_js
node_js:
- stable
- 11
- 10
- 9
- 8
- stable
- 12
- 11
- 10
env:
global:
- CC_TEST_REPORTER_ID=ba42fc27c58fe141f19793fa5acb42d4d229da491a4c7a1568ba50a69a009e1f
- CC_TEST_REPORTER_ID=ba42fc27c58fe141f19793fa5acb42d4d229da491a4c7a1568ba50a69a009e1f
before_install:
- "[[ $(node -v) =~ ^v12.*$ ]] || npm install -g npm@latest"
- npm install -g greenkeeper-lockfile
install: npm install
- npm i -g npm
- npm install -g greenkeeper-lockfile
install: npm ci --no-optional
before_script:
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
> ./cc-test-reporter
- chmod +x ./cc-test-reporter
- "./cc-test-reporter before-build"
- greenkeeper-lockfile-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- greenkeeper-lockfile-upload
- "[ $TRAVIS_NODE_VERSION = stable ] && nyc report --reporter=lcov && ./cc-test-reporter
after-build --debug -t lcov --exit-code $TRAVIS_TEST_RESULT || echo 'Coverage skipped'"
- greenkeeper-lockfile-upload
- "[ $TRAVIS_NODE_VERSION = stable ] && nyc report --reporter=lcov && ./cc-test-reporter
after-build --debug -t lcov --exit-code $TRAVIS_TEST_RESULT || echo 'Coverage skipped'"
notifications:
slack:
secure: b30+M8/fYAvUaYwnjMRVgpf63V84HkaMHO6j/RSE8vCyPLF0kxJYlc1lsemGfR1czvEUxNz+IIvDhbdLdkeF7Fpdq2gLBa4MTEpBuzKGtwqC9Tup3u0hg1haNd0oGmMSextH4e2wvdaFXK+rIYebAYhNoP5qeW6OqtyqNVblL7I=
cache:
directories:
- "$HOME/.npm"
52 changes: 30 additions & 22 deletions bin/truwrap
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const bugs = {
url: "https://github.com/thebespokepixel/truwrap/issues"
};
const copyright = {
year: "2019",
year: "2020",
owner: "The Bespoke Pixel"
};
const scripts = {
Expand All @@ -56,45 +56,46 @@ const scripts = {
coverage: "nyc ava && nyc report --reporter=lcov --report-dir test/coverage; open test/coverage/lcov-report/index.html"
};
const devDependencies = {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
ava: "^2.2.0",
"@ava/babel": "^1.0.1",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.8.4",
ava: "^3.3.0",
"babel-plugin-lodash": "^3.3.4",
"documentation-theme-bespoke": "^1.0.0",
"documentation-theme-bespoke": "^1.1.2",
gulp: "^4.0.2",
"gulp-better-rollup": "^4.0.1",
"gulp-chmod": "^3.0.0",
"gulp-rename": "^1.4.0",
nyc: "^14.1.1",
rollup: "^1.19.4",
"gulp-rename": "^2.0.0",
nyc: "^15.0.0",
rollup: "^1.31.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"semver-regex": "^3.1.0",
xo: "^0.24.0"
"semver-regex": "^3.1.1",
xo: "^0.26.1"
};
const dependencies = {
"@thebespokepixel/meta": "^1.0.4",
"@thebespokepixel/n-selector": "^1.0.4",
"@thebespokepixel/string": "^0.5.8",
"ansi-regex": "^4.1.0",
"@thebespokepixel/meta": "^2.0.1",
"@thebespokepixel/n-selector": "^2.0.0",
"@thebespokepixel/string": "^1.0.0",
"ansi-regex": "^5.0.0",
columnify: "^1.5.4",
"common-tags": "^1.8.0",
"deep-assign": "^3.0.0",
"es6-promisify": "^6.0.1",
"es6-promisify": "^6.0.2",
"get-stdin": "^7.0.0",
lodash: "^4.17.15",
"os-locale": "^4.0.0",
"read-pkg-up": "^6.0.0",
"term-ng": "^1.0.4",
"read-pkg-up": "^7.0.1",
"term-ng": "^2.0.0",
trucolor: "^1.0.6",
"update-notifier": "^3.0.1",
verbosity: "^1.1.2",
yargs: "^13.3.0"
"update-notifier": "^4.1.0",
verbosity: "^2.0.0",
yargs: "^15.1.0"
};
const engines = {
node: ">=8.0"
node: ">=10.0"
};
const homepage = "https://github.com/thebespokepixel/truwrap";
const keywords = [
Expand Down Expand Up @@ -124,6 +125,12 @@ const xo = {
"test/coverage/**"
]
};
const ava = {
babel: true,
files: [
"test/*.js"
]
};
const badges = {
github: "thebespokepixel",
npm: "thebespokepixel",
Expand Down Expand Up @@ -203,6 +210,7 @@ var pkg = {
license: license,
repository: repository,
xo: xo,
ava: ava,
badges: badges
};

Expand Down
Loading

0 comments on commit 55cf3bd

Please sign in to comment.