-
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
Apr 10, 2018
1 parent
69adf08
commit 5db39cc
Showing
1 changed file
with
27 additions
and
10 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.17.5", | ||
"version": "0.17.6", | ||
"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,tsx}": ["prettier --single-quote --write", "git add"] | ||
"*.js": [ | ||
"prettier --single-quote --write", | ||
"eslint", | ||
"git add" | ||
], | ||
"*.{css,less}": [ | ||
"prettier --write", | ||
"git add" | ||
], | ||
"*.{ts,tsx}": [ | ||
"prettier --single-quote --write", | ||
"git add" | ||
] | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/skbkontur/retail-ui/issues" | ||
|
@@ -20,8 +30,7 @@ | |
"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", | ||
|
@@ -137,16 +146,24 @@ | |
}, | ||
"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": { | ||
"\\.js": "<rootDir>/preprocessor.js", | ||
"^.+\\.tsx?$": "ts-jest" | ||
}, | ||
"testRegex": "(/__tests__/.*(test|spec))\\.(jsx?|tsx?)$", | ||
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"], | ||
"setupFiles": ["<rootDir>/test-setup.js"] | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json", | ||
"node" | ||
], | ||
"setupFiles": [ | ||
"<rootDir>/test-setup.js" | ||
] | ||
} | ||
} |