Skip to content

Commit

Permalink
#3087: refactor npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff1evesque committed May 31, 2018
1 parent 6f1be85 commit 8703804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ matrix:
install:
- cd "$TRAVIS_BUILD_DIR"/src/jsx && npm install
script:
- npm run test:coveralls
- npm run test && npm run report:coveralls
- cd "$TRAVIS_BUILD_DIR"

##
Expand Down
2 changes: 1 addition & 1 deletion src/jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"prebuild:dos2unix": "find . -type f -print0 | xargs -0 dos2unix",
"watch:jsx": "onchange 'src/jsx/**/*.jsx' 'src/jsx/**/*.js' -- npm run build:browserify",
"test": "NODE_ENV=test jest --config jest.config.js",
"test:coveralls": "npm run test --coverage --coverageReporters=lcov.info | ./node_modules/coveralls/bin/coveralls.js"
"report:coveralls": "cat lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"author": "Jeffrey Levesque",
"license": "BSD",
Expand Down

0 comments on commit 8703804

Please sign in to comment.