Skip to content

Commit

Permalink
Add ENV var and npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
cflynn07 committed Feb 28, 2016
1 parent 41e45a0 commit 04afc9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/.env
@@ -1,5 +1,5 @@
SPC_EXPRESSION_DISPLAY_COUNT=10
SPC_GENERATOR_INTERVAL=250
SPC_LOG_LEVEL_STDOUT=none
SPC_LOG_LEVEL_STDOUT=error
SPC_SERVER_HOST=localhost
SPC_SERVER_PORT=3001
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -14,8 +14,9 @@
"generator": "npm run build && node bin/generator.sh",
"lint": "npm run whitelist-generate-all; standard -v `cat ./whitelist-all.txt`; npm run whitelist-remove",
"prepublish": "npm run build",
"test": "npm run lint; npm run whitelist-generate-test; istanbul cover _mocha `cat ./whitelist-test.txt`; npm run whitelist-remove; istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100",
"test": "npm run lint; npm run whitelist-generate-test; istanbul cover _mocha `cat ./whitelist-test.txt` && istanbul report clover; npm run whitelist-remove; istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100",
"test-html-cov": "npm run whitelist-generate-test; istanbul cover _mocha `cat ./whitelist-test.txt`; npm run whitelist-remove; open -a 'Google Chrome' coverage/lcov-report/index.html",
"test-tap": "npm run whitelist-generate-test; _mocha --reporter tap `cat ./whitelist-test.txt` | tee coverage/test.tap; npm run whitelist-remove",
"whitelist-generate-all": "find ./src -name '*.js' > ./whitelist-all.txt",
"whitelist-generate-test": "find ./src -name '*_test.js' > ./whitelist-test.txt",
"whitelist-remove": "rm ./whitelist*.txt"
Expand Down

0 comments on commit 04afc9b

Please sign in to comment.