-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Timur Khazamov
committed
Mar 7, 2018
1 parent
ab675dc
commit 7bde636
Showing
1 changed file
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,26 @@ | ||
{ | ||
"name": "retail-ui", | ||
"version": "0.15.1", | ||
"version": "0.16.0", | ||
"description": "UI Components", | ||
"main": "dist/index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:skbkontur/retail-ui.git" | ||
}, | ||
"lint-staged": { | ||
"*.js": ["prettier --single-quote --write", "eslint", "git add"], | ||
"*.{css,less}": ["prettier --write", "git add"], | ||
"*.ts": ["prettier --single-quote --write", "git add"] | ||
"*.js": [ | ||
"prettier --single-quote --write", | ||
"eslint", | ||
"git add" | ||
], | ||
"*.{css,less}": [ | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.ts": [ | ||
"prettier --single-quote --write", | ||
"git add" | ||
] | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/skbkontur/retail-ui/issues" | ||
|
@@ -20,19 +30,16 @@ | |
"build-storybook": "build-storybook", | ||
"deploy": "gh-pages -d styleguide -r [email protected]:skbkontur/react-ui.git", | ||
"gemini:update": "gemini update", | ||
"gemini": | ||
"wait-on http-get://localhost:6060/ && gemini test --reporter vflat", | ||
"gemini": "wait-on http-get://localhost:6060/ && gemini test --reporter vflat", | ||
"lint": "eslint . --ignore-pattern 'flow-typed/**/*.js'", | ||
"precommit": "flow && lint-staged", | ||
"predeploy": "npm run styleguide:build", | ||
"prepush": "npm run unit-test", | ||
"storybook": "start-storybook -p 6060", | ||
"styleguide": "styleguidist server", | ||
"styleguide:build": "styleguidist build", | ||
"test": | ||
"cross-env NODE_ENV=test jest --no-cache && npm run test:screenshot", | ||
"test:screenshot": | ||
"concurrently 'npm run storybook' 'npm run gemini' -k -s first", | ||
"test": "cross-env NODE_ENV=test jest --no-cache && npm run test:screenshot", | ||
"test:screenshot": "concurrently 'npm run storybook' 'npm run gemini' -k -s first", | ||
"typecheck": "flow", | ||
"unit-test": "jest", | ||
"unit-test:watch": "jest --watch" | ||
|
@@ -111,8 +118,7 @@ | |
"react-addons-css-transition-group": "^15.6.2", | ||
"react-docgen-typescript": "^1.2.3", | ||
"react-dom": "^16.2.0", | ||
"react-styleguidist": | ||
"git+https://github.com/nanot1m/react-styleguidist.git#better-flow-props", | ||
"react-styleguidist": "git+https://github.com/nanot1m/react-styleguidist.git#better-flow-props", | ||
"react-test-renderer": "16.2.0", | ||
"style-loader": "^0.20.2", | ||
"stylelint": "^8.4.0", | ||
|
@@ -130,8 +136,7 @@ | |
}, | ||
"jest": { | ||
"moduleNameMapper": { | ||
"\\.(jpg|jpeg|png|gif|eot|otf||svg|ttf|woff|woff2)$": | ||
"<rootDir>/testing/__mocks__/fileMock.js", | ||
"\\.(jpg|jpeg|png|gif|eot|otf||svg|ttf|woff|woff2)$": "<rootDir>/testing/__mocks__/fileMock.js", | ||
"\\.(css|less)$": "identity-obj-proxy" | ||
}, | ||
"transform": { | ||
|
@@ -144,6 +149,8 @@ | |
"<rootDir>/scripts", | ||
"<rootDir>/testing" | ||
], | ||
"setupFiles": ["<rootDir>/test-setup.js"] | ||
"setupFiles": [ | ||
"<rootDir>/test-setup.js" | ||
] | ||
} | ||
} |