From 01124760bdab5490bb5188f38b8a6b865b51a5ea Mon Sep 17 00:00:00 2001 From: lh-cecarrera Date: Tue, 9 Oct 2018 15:32:09 +0100 Subject: [PATCH] CircleCI fix --- .circleci/config.yml | 8 +++----- example/package.json | 1 + package.json | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5d1bd92..6478de8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,13 +33,11 @@ jobs: - restore_cache: key: example-cache-{{ checksum "example/package.json" }} - run: - command: npm install -g gulp + command: npm run gulp -- ava - run: - command: gulp ava + command: npm run gulp -- eslint - run: - command: gulp eslint - - run: - command: cd example && gulp + command: cd example && npm run gulp -- default - run: command: sleep 10 && curl --retry 10 --retry-delay 5 -v http://localhost:3000/ diff --git a/example/package.json b/example/package.json index 0076982..7363ab2 100644 --- a/example/package.json +++ b/example/package.json @@ -4,6 +4,7 @@ "description": "Boilerplate for ReactJS project with hot code reloading", "scripts": { "start": "node server.js", + "gulp": "gulp $1", "lint": "eslint src" }, "repository": { diff --git a/package.json b/package.json index 7a9add1..2d7106d 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "build:lib": "babel src --out-dir lib", "check": "npm run lint && npm run test", "clean": "rimraf lib", + "gulp": "gulp $1", "lint": "eslint src test examples", "postversion": "git push && git push --tags && npm run clean", "prepublish": "npm run clean && npm run build",