Run resin-lint for both coffee and typescript

Change-type: patch
This commit is contained in:
Pagan Gazzard 2018-11-02 14:14:27 +00:00
parent 572cabc9c1
commit e788c630fb

View File

@ -10,7 +10,9 @@
"scripts": {
"start": "./entry.sh",
"build": "webpack",
"lint": "resin-lint --typescript src/ test/",
"lint:coffee": "resin-lint src/ test/",
"lint:typescript": "resin-lint --typescript src/ test/ typings/ && tsc --noEmit",
"lint": "npm run lint:coffee && npm run lint:typescript",
"test": "npm run lint && JUNIT_REPORT_PATH=report.xml mocha --exit -r ts-node/register -r coffee-script/register -r register-coffee-coverage test/*.{js,coffee} && npm run coverage",
"test:fast": "mocha --exit -r ts-node/register -r coffee-script/register test/*.{js,coffee}",
"test:build": "tsc && coffee -m -c -o build . && cp -r test/data build/test/ && cp -r src/migrations build/src && cp package.json build",