Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Commit

Permalink
refactor: switch to same tooling as other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
hutson committed Mar 9, 2018
1 parent ab07996 commit 28ed98f
Show file tree
Hide file tree
Showing 12 changed files with 2,454 additions and 2,000 deletions.
15 changes: 15 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"extends": "xo-space",
"rules": {
"camelcase": [
"error",
{
"properties": "never"
}
],
"comma-dangle": [
"error",
"always-multiline"
]
}
}
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/.nyc_output/
/coverage/
/docs/
/node_modules/
*.tgz
*.zip
yarn-error.log
45 changes: 0 additions & 45 deletions .jscsrc

This file was deleted.

2 changes: 0 additions & 2 deletions .jshintignore

This file was deleted.

93 changes: 0 additions & 93 deletions .jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"registry" "https://registry.yarnpkg.com/"
19 changes: 8 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"email": "[email protected]",
"url": "https://github.com/AdamHerrmann"
},
"bin": "",
"bin": {},
"bugs": "https://github.com/factset/labeledpipe/issues",
"description": "Lazypipe with labels",
"description": "Lazypipe with labels.",
"engines": {
"node": ">=4.2.0",
"npm": ">=2.1.9"
},
"files": [
"index.js"
"src/"
],
"homepage": "https://github.com/factset/labeledpipe#readme",
"keywords": [
Expand All @@ -29,18 +29,15 @@
"pipelines"
],
"license": "Apache-2.0",
"main": "index.js",
"main": "src/index.js",
"name": "labeledpipe",
"repository": {
"type": "git",
"url": "https://github.com/factset/labeledpipe.git"
},
"scripts": {
"dev": "docker run --rm --user node -v \"$(pwd)\":/app -w /app -it node:4 sh -c \"yarn install; yarn test; bash\"",
"lint": "jshint index.js test",
"checkStyle": "jscs index.js test",
"test": "yarn run coverage && yarn run lint && yarn run checkStyle",
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha test"
"test": "eslint src/ && nyc --all --cache --include=src/ --exclude=src/cli.js --exclude=src/**/*.spec.js --exclude=src/**/*.mocks.js --reporter=lcov --reporter=text mocha --check-leaks --full-trace --globals __core-js_shared__,__coverage__,YamlEscaper --inline-diffs --no-exit --recursive --reporter=progress --retries 1 src/**/*.spec.js"
},
"version": "1.5.0",
"dependencies": {
Expand All @@ -51,12 +48,12 @@
"devDependencies": {
"chai": "^3.5.0",
"codecov": "^2.0.0",
"istanbul": "^0.4.2",
"jscs": "^3.0.0",
"jshint": "^2.9.1",
"eslint": "^4.18.2",
"eslint-config-xo-space": "^0.18.0",
"lazypipe": "^1.0.1",
"mocha": "^5.0.0",
"npm-publish-git-tag": "^1.1.14",
"nyc": "^11.4.1",
"semantic-release-github": "^3.0.8",
"sinon": "^2.0.0",
"sinon-chai": "^2.8.0",
Expand Down
3 changes: 1 addition & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
},
"pinVersions": false,
"prCreation": "not-pending",
"rebaseStalePrs": true,
"semanticCommits": true
"rebaseStalePrs": true
}
Loading

0 comments on commit 28ed98f

Please sign in to comment.