chore: update mocks, move configs to jest dir

This commit is contained in:
alxshelepenok
2019-05-09 00:11:44 +03:00
parent 42d6377fde
commit 32351b33c2
7 changed files with 45 additions and 15 deletions

View File

@@ -12,9 +12,9 @@
"lint:js": "eslint --cache --ext .js,.jsx --ignore-pattern public .",
"lint:scss": "stylelint \"src/**/*.scss\"",
"lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"",
"test": "jest --config ./tests/jest-config.js",
"test:coverage": "jest --coverage --config ./tests/jest-config.js",
"test:watch": "jest --watch --config ./tests/jest-config.js",
"test": "jest --config ./jest/jest-config.js",
"test:coverage": "jest --coverage --config ./jest/jest-config.js",
"test:watch": "jest --watch --config ./jest/jest-config.js",
"release": "standard-version"
},
"repository": "https://github.com/alxshelepenok/gatsby-starter-lumen",
@@ -87,6 +87,7 @@
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/preset-env": "7.4.4",
"@babel/preset-react": "7.0.0",
"babel-preset-gatsby": "0.1.11",
"autoprefixer": "9.5.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.0.1",