Skip to content

Commit 511f5a4

Browse files
author
Oliver Rumbelow
committed
Merge pull request #117 from holidayextras/jscpd
JSCPD Travis task
2 parents 5b9b761 + 570c5a1 commit 511f5a4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ node_js:
44
script: "npm run $TEST_STEP"
55
env:
66
matrix:
7+
- TEST_STEP=jscpd
78
- TEST_STEP=lint
89
- TEST_STEP=flow
910
- TEST_STEP=test

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"express": "4.13.3",
2727
"flow-bin": "^0.23.1",
2828
"joi": "6.10.1",
29+
"jscpd": "^0.6.1",
2930
"lodash.assign": "3.2.0",
3031
"lodash.isequal": "3.0.4",
3132
"lodash.omit": "3.1.0",
@@ -53,6 +54,7 @@
5354
"complexity": "node ./node_modules/plato/bin/plato -r -d complexity lib",
5455
"performance": "node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha -S --reporter mocha-performance ./test/*.js",
5556
"lint": "node ./node_modules/eslint/bin/eslint ./example ./lib ./test --quiet && echo '✔ All good!'",
57+
"jscpd": "jscpd --blame -p ./lib/ || echo 'Finished!'",
5658
"flow": "node ./node_modules/flow-bin/cli.js && echo '✔ All good!'"
5759
},
5860
"config": {

0 commit comments

Comments
 (0)