-
Notifications
You must be signed in to change notification settings - Fork 126
/
package.json
174 lines (174 loc) · 6.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "@skbkontur/react-ui",
"version": "2.16.2",
"description": "UI Components",
"main": "cjs/index.js",
"module": "index.js",
"sideEffects": false,
"homepage": "https://tech.skbkontur.ru/react-ui",
"repository": {
"type": "git",
"url": "git@github.com:skbkontur/retail-ui.git"
},
"bugs": {
"url": "https://github.com/skbkontur/retail-ui/issues"
},
"scripts": {
"prebuild": "run-s clean build:types",
"build:types": "tsc -p ./prod.tsconfig.json --emitDeclarationOnly --diagnostics --outDir build",
"build:cjs": "cross-env BABEL_ENV=cjs node scripts/build",
"build:esm": "node scripts/build",
"build": "run-p build:esm build:cjs && node scripts/build/postbuild",
"clean": "git clean -fdxqe node_modules",
"prerelease": "node scripts/publish/prepublish && yarn build",
"release": "npm publish ./build",
"postrelease": "yarn deploy",
"predeploy": "rimraf .styleguide/deploy && yarn run styleguide:build",
"deploy": "gh-pages -a -d .styleguide/deploy -r git@github.com:skbkontur/react-ui.git",
"storybook": "start-storybook -p 6060",
"storybook:8px": "cross-env STORYBOOK_8PX=true start-storybook -p 6060",
"storybook:flat": "cross-env STORYBOOK_FLAT_UI=true start-storybook -p 6060",
"storybook:flat8px": "cross-env STORYBOOK_FLAT_8PX=true start-storybook -p 6060",
"storybook:build": "run-s storybook:build:*",
"storybook:build:default": "cross-env NODE_ENV=test build-storybook -o .storybook/build/default",
"storybook:build:default8px": "cross-env NODE_ENV=test STORYBOOK_8PX=true build-storybook -o .storybook/build/default8px",
"storybook:build:flat": "cross-env NODE_ENV=test STORYBOOK_FLAT_UI=true build-storybook -o .storybook/build/flat",
"storybook:build:flat8px": "cross-env NODE_ENV=test STORYBOOK_FLAT_8PX=true build-storybook -o .storybook/build/flat8px",
"storybook:test": "run-p storybook:test:*",
"storybook:test:default": "cross-env NODE_ENV=test start-storybook --ci -p 6060",
"storybook:test:flat": "cross-env NODE_ENV=test STORYBOOK_FLAT_UI=true start-storybook --ci -p 6062",
"storybook:test:default8px": "cross-env NODE_ENV=test STORYBOOK_8PX=true start-storybook --ci -p 6061",
"storybook:test:flat8px": "cross-env NODE_ENV=test STORYBOOK_FLAT_8PX=true start-storybook --ci -p 6063",
"storybook:serve": "run-p storybook:serve:*",
"storybook:serve:default": "serve -l 6060 .storybook/build/default",
"storybook:serve:default8px": "serve -l 6061 .storybook/build/default8px",
"storybook:serve:flat": "serve -l 6062 .storybook/build/flat",
"storybook:serve:flat8px": "serve -l 6063 .storybook/build/flat8px",
"styleguide": "styleguidist server --config .styleguide/config/dev.config.js",
"styleguide:build": "node .styleguide/build",
"lint": "run-p -c lint:*",
"lint:eslint": "cross-env TIMING=1 yarn eslint --ext .js,.jsx,.ts,.tsx ./",
"lint:tsc": "tsc --noEmit --diagnostics",
"fix:eslint": "yarn lint:eslint --fix",
"test": "cross-env BABEL_ENV=cjs jest",
"test:watch": "yarn test --watch",
"creevey": "wait-on -t 300000 http-get://localhost:6060/ http-get://localhost:6062/ http-get://localhost:6061/ http-get://localhost:6063/ && cross-env BABEL_ENV=cjs creevey -c .creevey/config.js",
"creevey:ui": "yarn creevey --ui",
"report:eslint": "yarn eslint -f eslint-html-reporter/reporter.js -o reports/eslint/index.html"
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "7.12.5",
"classnames": "^2.2.6",
"create-emotion": "^10.0.14",
"csstype": "2.6.7",
"eventemitter3": "^4.0.0",
"invariant": "2.2.4",
"lodash.debounce": "^4.0.8",
"lodash.isequal": "^4.5.0",
"lodash.throttle": "^4.1.1",
"normalize-wheel": "^1.0.1",
"prop-types": "^15.7.2",
"raf": "^3.4.1",
"react-focus-lock": "^2.2.1",
"react-input-mask": "2.0.4",
"react-transition-group": "^4.3.0",
"shallowequal": "^1.1.0",
"stylis-plugin-extra-scope": "^0.1.1",
"tabbable": "^4.0.0",
"warning": "^4.0.3"
},
"devDependencies": {
"@babel/core": "^7.12.8",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "7.12.7",
"@babel/register": "^7.12.1",
"@skbkontur/react-icons": "3.2.1",
"@skbkontur/react-props2attrs": "0.1.1",
"@skbkontur/react-sorge": "0.1.0",
"@storybook/addon-actions": "5.3.14",
"@storybook/addon-links": "^5.3.14",
"@storybook/addons": "5.3.14",
"@storybook/react": "5.3.14",
"@types/classnames": "^2.2.9",
"@types/enzyme": "^3.10.4",
"@types/invariant": "^2.2.30",
"@types/jest": "^24.0.23",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.throttle": "^4.1.6",
"@types/mockdate": "^2.0.0",
"@types/prop-types": "15.7.3",
"@types/raf": "^3.4.0",
"@types/react": "16.9.16",
"@types/react-dom": "16.9.4",
"@types/react-input-mask": "2.0.5",
"@types/react-transition-group": "^4.2.3",
"@types/selenium-webdriver": "^4.0.5",
"@types/shallowequal": "^1.1.1",
"@types/tabbable": "^3.1.0",
"@types/warning": "^3.0.0",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"chalk": "3.0.0",
"copyfiles": "^2.2.0",
"core-js": "^3.4.8",
"creevey": "0.6.2",
"cross-env": "^6.0.3",
"css-loader": "3.4.0",
"dts-css-modules-loader": "1.0.1",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"file-loader": "^5.0.2",
"fork-ts-checker-webpack-plugin": "^3.1.1",
"fs-extra": "^8.0.1",
"fs-readdir-recursive": "^1.1.0",
"gh-pages": "^2.1.1",
"identity-obj-proxy": "^3.0.0",
"jest": "24.9.0",
"jest-teamcity-reporter": "^0.9.0",
"mockdate": "^2.0.5",
"npm-run-all": "^4.1.5",
"output-file-sync": "^2.0.1",
"prettier": "^1.14.2",
"react": "^16.12.0",
"react-docgen-typescript": "^1.16.1",
"react-dom": "^16.12.0",
"react-styleguidist": "^10.4.1",
"rimraf": "^3.0.0",
"selenium-webdriver": "^4.0.0-alpha.5",
"semver": "^6.3.0",
"serve": "^11.2.0",
"style-loader": "^1.0.1",
"stylelint": "^12.0.0",
"stylelint-config-css-modules": "^2.1.0",
"stylelint-config-standard": "^19.0.0",
"typescript": "^3.7.3",
"upath": "^1.2.0",
"url-loader": "^3.0.0",
"wait-on": "^3.3.0",
"webpack": "^4.41.2"
},
"peerDependencies": {
"react": ">=16.9",
"react-dom": ">=16.9"
},
"jest": {
"testResultsProcessor": "jest-teamcity-reporter",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf||svg|ttf|woff|woff2)$": "<rootDir>/components/__mocks__/fileMock.ts",
"\\.(css)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.(j|t)sx?$": "babel-jest"
},
"testRegex": "__tests__(\\\\|/).*(\\.|-)test\\.(j|t)sx?$",
"setupFilesAfterEnv": [
"<rootDir>/test-setup.js"
]
}
}