Update BackstopJS file name to backstop.config.js

This commit is contained in:
CJ Patoilo 2019-07-17 23:25:03 -03:00
parent 9128854d6d
commit dac16c5b4c
4 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,6 @@
'use strict' 'use strict'
const config = {
module.exports = {
viewports: [{ viewports: [{
name: 'phone', name: 'phone',
width: 320, width: 320,
@ -126,5 +127,3 @@ const config = {
debug: false, debug: false,
port: 3002 port: 3002
} }
module.exports = config

View File

@ -35,7 +35,7 @@
".gitignore", ".gitignore",
".sasslintrc", ".sasslintrc",
".travis.yml", ".travis.yml",
"backstop.conf.js", "backstop.config.js",
"bower.json", "bower.json",
"changelog.md", "changelog.md",
"composer.json", "composer.json",

View File

@ -35,7 +35,7 @@
".gitignore", ".gitignore",
".sasslintrc", ".sasslintrc",
".travis.yml", ".travis.yml",
"backstop.conf.js", "backstop.config.js",
"bower.json", "bower.json",
"changelog.md", "changelog.md",
"composer.json", "composer.json",

View File

@ -35,7 +35,7 @@
".gitignore", ".gitignore",
".sasslintrc", ".sasslintrc",
".travis.yml", ".travis.yml",
"backstop.conf.js", "backstop.config.js",
"bower.json", "bower.json",
"changelog.md", "changelog.md",
"composer.json", "composer.json",
@ -77,8 +77,8 @@
"watch": "onchange src -- run-p build", "watch": "onchange src -- run-p build",
"serve": "browser-sync start --no-notify -s test --ss dist -f dist", "serve": "browser-sync start --no-notify -s test --ss dist -f dist",
"backstop": "run-s build && run-s serve compare", "backstop": "run-s build && run-s serve compare",
"reference": "backstop reference --configPath=backstop.conf.js", "reference": "backstop reference --config backstop.config.js",
"compare": "backstop test --configPath=backstop.conf.js", "compare": "backstop test --config backstop.config.js",
"lint": "sass-lint -c .sasslintrc src --verbose --no-exit && eslint . --ignore-path .gitignore package.js", "lint": "sass-lint -c .sasslintrc src --verbose --no-exit && eslint . --ignore-path .gitignore package.js",
"ava": "nyc ava", "ava": "nyc ava",
"precommit": "run-p test", "precommit": "run-p test",