Skip to content

Commit 8fa91a8

Browse files
author
Artem
committed
Stop packages from being duplicated + add flow check
1 parent f52a388 commit 8fa91a8

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@foxcomm/storefront-react",
3-
"version": "1.2.3",
3+
"version": "1.3.0",
44
"description": "FoxCommerce Storefront React UI Library",
55
"main": "lib/index.js",
66
"scripts": {
@@ -9,7 +9,7 @@
99
"build": "npm run build-css && npm run build-js",
1010
"prepublish": "npm run build",
1111
"styleguidist": "NODE_PATH=./src styleguidist server --config styleguide.config.js",
12-
"test": "echo \"Error: no test specified\" && exit 1"
12+
"flow": "flow check"
1313
},
1414
"publishConfig": {
1515
"registry": "https://npm.foxcommerce.com:4873"
@@ -65,6 +65,10 @@
6565
"style-loader": "^0.17.0",
6666
"webpack": "^2.5.1"
6767
},
68+
"peerDependencies": {
69+
"react": "^15.5.4",
70+
"react-dom": "^15.5.4"
71+
},
6872
"dependencies": {
6973
"@foxcomm/api-js": "^1.2.0",
7074
"@foxcomm/wings": "^1.9.12",
@@ -79,8 +83,6 @@
7983
"postcss-css-variables": "^0.7.0",
8084
"postcss-import": "^10.0.0",
8185
"postcss-nested": "^2.0.2",
82-
"react": "^15.5.4",
83-
"react-dom": "^15.5.4",
8486
"react-image-gallery": "^0.8.0",
8587
"react-redux": "^5.0.5",
8688
"react-router": "2",

0 commit comments

Comments
 (0)