diff --git a/deploy/deploy.sh b/deploy/deploy.sh index c59d0b09c..c132a20f6 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -5,7 +5,7 @@ set -e function tests { npm run lint - npm run test-docs + npm run docs:test VERSIONED=false npm run webpack exit 0 } diff --git a/package.json b/package.json index 63ba4b0b6..2354ba925 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,11 @@ "main": "./src/index", "types": "./typings/index.d.ts", "scripts": { - "test": "eslint src && docgen --source src --custom docs/index.yml", + "test": "npm run lint && npm run docs:test", "docs": "docgen --source src --custom docs/index.yml --output docs/docs.json", - "test-docs": "docgen --source src --custom docs/index.yml", + "docs:test": "docgen --source src --custom docs/index.yml", "lint": "eslint src", + "lint:fix": "eslint --fix src", "webpack": "parallel-webpack" }, "repository": {