-
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 29, 2018
1 parent
38b0de2
commit 34db799
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.16.5", | ||
"version": "0.17.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,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", | ||
|
@@ -135,16 +144,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" | ||
] | ||
} | ||
} |