Skip to content

Commit

Permalink
Merge pull request #1332 from seanstrom/support/npm-clean-script
Browse files Browse the repository at this point in the history
Add clean script to remove test-browser.js after the tests run
  • Loading branch information
nylen committed Jan 6, 2015
2 parents 3786137 + 63f9b18 commit 0be8ce4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Expand Up @@ -41,9 +41,10 @@
"isstream": "~0.1.1"
},
"scripts": {
"test": "npm run lint && node node_modules/.bin/taper tests/test-*.js && npm run test-browser",
"test": "npm run lint && node node_modules/.bin/taper tests/test-*.js && npm run test-browser && npm run clean",
"test-browser": "browserify tests/browser/test.js -o tests/browser/test-browser.js && karma start tests/browser/karma.conf.js",
"lint": "node node_modules/.bin/eslint lib/ *.js tests/ && echo Lint passed."
"lint": "node node_modules/.bin/eslint lib/ *.js tests/ && echo Lint passed.",
"clean": "rm tests/browser/test-browser.js || true"
},
"devDependencies": {
"browserify": "~5.9.1",
Expand Down

0 comments on commit 0be8ce4

Please sign in to comment.