Add chromatic

This commit is contained in:
Zoe Roux
2023-01-21 21:55:43 +09:00
parent c616556772
commit f65677fc43
4 changed files with 644 additions and 29 deletions
+6 -2
View File
@@ -12,7 +12,8 @@
"test:cov": "jest -i --coverage",
"test:watch": "jest -i --watch",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook",
"chromatic": "chromatic --exit-zero-on-changes"
},
"dependencies": {
"@expo/vector-icons": "^13.0.0",
@@ -68,6 +69,7 @@
"@types/react-navigation": "^3.4.0",
"babel-loader": "^8.3.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"chromatic": "^6.14.0",
"react-test-renderer": "17.0.2",
"typescript": "~4.3.5"
},
@@ -77,5 +79,7 @@
"transformIgnorePatterns": [
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg)"
]
}
},
"readme": "ERROR: No README data found!",
"_id": "chromacase@1.0.0"
}