chore: move some dependencies from workspace root to @storybook/addon-storyshots

This commit is contained in:
Gaëtan Maisse 2020-10-03 08:59:03 +02:00
parent e37db1beb3
commit 13c1db9b87
No known key found for this signature in database
GPG Key ID: D934C0EF3714A8A8
3 changed files with 15 additions and 5 deletions

View File

@ -58,7 +58,21 @@
"babel-loader": "^8.0.6",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.4.1",
"jest-emotion": "^10.0.17"
"jest-emotion": "^10.0.17",
"jest-preset-angular": "^8.2.0",
"jest-vue-preprocessor": "^1.5.0"
},
"peerDependencies": {
"jest-preset-angular": "*",
"jest-vue-preprocessor": "*"
},
"peerDependenciesMeta": {
"jest-preset-angular": {
"optional": true
},
"jest-vue-preprocessor": {
"optional": true
}
},
"publishConfig": {
"access": "public"

View File

@ -1,6 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import AngularSnapshotSerializer from 'jest-preset-angular/build/AngularSnapshotSerializer';
// eslint-disable-next-line import/no-extraneous-dependencies
import HTMLCommentSerializer from 'jest-preset-angular/build/HTMLCommentSerializer';
// eslint-disable-next-line import/no-extraneous-dependencies
import { TestBed } from '@angular/core/testing';

View File

@ -176,11 +176,9 @@
"jest-image-snapshot": "^4.0.2",
"jest-jasmine2": "^26.0.0",
"jest-matcher-utils": "^26.0.0",
"jest-preset-angular": "^8.2.0",
"jest-raw-loader": "^1.0.1",
"jest-serializer-html": "^7.0.0",
"jest-teamcity": "^1.7.0",
"jest-vue-preprocessor": "^1.5.0",
"jest-watch-typeahead": "^0.5.0",
"js-yaml": "^3.13.1",
"lerna": "^3.19.0",