From dac16c5b4ce0b165f6901dae146fea3b1287e2f8 Mon Sep 17 00:00:00 2001 From: CJ Patoilo Date: Wed, 17 Jul 2019 23:25:03 -0300 Subject: [PATCH] Update BackstopJS file name to backstop.config.js --- backstop.conf.js => backstop.config.js | 5 ++--- bower.json | 2 +- composer.json | 2 +- package.json | 6 +++--- 4 files changed, 7 insertions(+), 8 deletions(-) rename backstop.conf.js => backstop.config.js (98%) diff --git a/backstop.conf.js b/backstop.config.js similarity index 98% rename from backstop.conf.js rename to backstop.config.js index 91c6f0b..64171fb 100644 --- a/backstop.conf.js +++ b/backstop.config.js @@ -1,5 +1,6 @@ 'use strict' -const config = { + +module.exports = { viewports: [{ name: 'phone', width: 320, @@ -126,5 +127,3 @@ const config = { debug: false, port: 3002 } - -module.exports = config diff --git a/bower.json b/bower.json index 2f456e6..1cc8d20 100644 --- a/bower.json +++ b/bower.json @@ -35,7 +35,7 @@ ".gitignore", ".sasslintrc", ".travis.yml", - "backstop.conf.js", + "backstop.config.js", "bower.json", "changelog.md", "composer.json", diff --git a/composer.json b/composer.json index 19276f1..6fd7353 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ ".gitignore", ".sasslintrc", ".travis.yml", - "backstop.conf.js", + "backstop.config.js", "bower.json", "changelog.md", "composer.json", diff --git a/package.json b/package.json index ceabbd7..7be5634 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ ".gitignore", ".sasslintrc", ".travis.yml", - "backstop.conf.js", + "backstop.config.js", "bower.json", "changelog.md", "composer.json", @@ -77,8 +77,8 @@ "watch": "onchange src -- run-p build", "serve": "browser-sync start --no-notify -s test --ss dist -f dist", "backstop": "run-s build && run-s serve compare", - "reference": "backstop reference --configPath=backstop.conf.js", - "compare": "backstop test --configPath=backstop.conf.js", + "reference": "backstop reference --config backstop.config.js", + "compare": "backstop test --config backstop.config.js", "lint": "sass-lint -c .sasslintrc src --verbose --no-exit && eslint . --ignore-path .gitignore package.js", "ava": "nyc ava", "precommit": "run-p test",