diff --git a/README.md b/README.md index b554b04d..20de461a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # @shopify/slate-tools +[![CircleCI](https://circleci.com/gh/Shopify/slate-tools.svg?style=svg&circle-token=0b8147527ef88134b4238064a563ceaaae98f06a)](https://circleci.com/gh/Shopify/slate-tools) Tooling for Shopify themes using [Slate](https://github.com/Shopify/slate). diff --git a/circle.yml b/circle.yml new file mode 100644 index 00000000..0c53ba28 --- /dev/null +++ b/circle.yml @@ -0,0 +1,12 @@ +machine: + node: + version: 6.2.2 + +dependencies: + post: + - npm run prepublish + - npm link + +test: + override: + - npm run lint diff --git a/package.json b/package.json index a0aace40..46dd0790 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,8 @@ "start": "npm run clean && babel -w -d lib/ src/", "test": "npm run lint", "prepublish": "npm test && npm run clean && babel -d lib/ src/", - "lint": "eslint --max-warnings 0 -c .eslintrc.json src/ test/", - "lint-allow-warning": "eslint -c .eslintrc.json src/ test/" + "lint": "eslint --max-warnings 0 -c .eslintrc.json src/", + "lint-allow-warning": "eslint -c .eslintrc.json src/" }, "keywords": [ "shopify",