Skip to content

Commit

Permalink
Minor adjust to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
aMarCruz committed Oct 23, 2018
1 parent 05ab92c commit 75cc650
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ endif
send_cover:
ifeq ($(CURBUILD),$(REQBUILD))
@ echo Sending coverage report...
@ nyc report -r=lcov && codecov -f coverage/lcov.info
@ nyc report -r=lcov
@ codecov -f coverage/lcov.info
@ ./cc-test-reporter after-build --exit-code $(TRAVIS_TEST_RESULT)
@ echo The report was sent.
else
Expand Down
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "jscc",
"version": "1.0.0",
"description": "The JavaScript preprocessor for conditional comments and replacements in text files",
"main": "./index.js",
"module": "./dist/jscc.js",
"description": "Tiny and powerful preprocessor for conditional comments and compile-time replacements in source files",
"main": "index.js",
"module": "dist/jscc.js",
"source": "src/jscc.ts",
"license": "MIT",
"engines": {
"node": ">=6.0"
Expand All @@ -13,17 +14,18 @@
"lint": "eslint --report-unused-disable-directives -c .eslintrc.js --ext ts test src",
"prepublish": "yarn build && mocha test/*.ts",
"prestart": "yarn lint & tsc",
"start": "mocha --watch test/*.ts",
"start": "mocha --watch --check-leaks test/*.ts",
"pretest": "yarn lint && tsc",
"test": "nyc mocha test/*.ts",
"coverage": "nyc report -r=text-lcov > coverage.lcov",
"test": "nyc mocha --check-leaks test/*.ts",
"coverage": "nyc report -r=lcov",
"tsc": "tsc"
},
"keywords": [
"html",
"html5",
"parser",
"javascript",
"typescript",
"es6",
"conditional",
"comments",
Expand Down

0 comments on commit 75cc650

Please sign in to comment.