Update test command for travis

I think the new syntax I'm using here is compatible with `sh`...let's see.
This commit is contained in:
Brian M. Carlson 2020-04-28 10:07:12 -05:00
parent 3a831fc77c
commit 16344cbfcd
2 changed files with 4 additions and 12 deletions

View File

@ -1,16 +1,8 @@
{
"plugins": [
"prettier"
],
"plugins": ["prettier"],
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:prettier/recommended",
"prettier/@typescript-eslint"
],
"ignorePatterns": [
"node_modules",
"packages/pg-protocol/dist/**/*"
],
"extends": ["plugin:prettier/recommended", "prettier/@typescript-eslint"],
"ignorePatterns": ["node_modules", "coverage", "packages/pg-protocol/dist/**/*"],
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"

View File

@ -13,7 +13,7 @@
"test": "yarn lint && yarn lerna exec yarn test",
"build": "yarn lerna exec --scope pg-protocol yarn build",
"pretest": "yarn build",
"lint": "!([[ -e node_modules/.bin/prettier ]]) || eslint '*/**/*.{js,ts,tsx}'"
"lint": "if [ -x ./node_modules/.bin/eslint ]; then eslint '*/**/*.{js,ts,tsx}'; fi;"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.27.0",