-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.93 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.93 KB
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
{
"name": "yumgram",
"version": "0.1.0",
"private": true,
"dependencies": {
"antd": "^3.22.0",
"core-js": "^3.2.1",
"fbemitter": "^2.1.1",
"i18next": "^17.0.11",
"i18next-browser-languagedetector": "^3.0.3",
"i18next-xhr-backend": "^3.1.2",
"immutable": "^4.0.0-rc.12",
"jsbn": "^1.1.0",
"leemon": "^6.2.0",
"markdown-to-jsx": "^6.10.3",
"ogv": "^1.6.1",
"prop-types": "^15.7.2",
"react": "^16.9.0",
"react-custom-scrollbars": "^4.2.1",
"react-dom": "^16.9.0",
"react-i18next": "^10.12.2",
"react-router-dom": "^5.0.1",
"react-virtualized": "^9.21.1",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"react-window-infinite-loader": "^1.0.3",
"resize-observer-polyfill": "^1.5.1",
"rusha": "^0.8.13",
"zlibjs": "^0.3.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"precommit": "lint-staged",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-app-rewired eject",
"storybook": "start-storybook -s ./public"
},
"jest": {
"setupFilesAfterEnv": [
"./src/setupTests.js"
],
"moduleNameMapper": {
"^@": "<rootDir>/src/",
"^@components": "<rootDir>/src/components/index/public.js",
"^@components-shared": "<rootDir>/src/components/index/internal/shared.js",
"^@login": "<rootDir>/src/components/login/index/internal/public.js",
"^@login-shared": "<rootDir>/src/components/login/index/internal/shared.js",
"^@login-components": "<rootDir>/src/components/login/index/internal/components.js",
"^@login-widgets": "<rootDir>/src/components/login/index/internal/widgets.js",
"^@im": "<rootDir>/src/components/im/index/internal/public.js",
"^@im-shared": "<rootDir>/src/components/im/index/internal/shared.js",
"^@im-components": "<rootDir>/src/components/im/index/internal/components.js",
"^@im-widgets": "<rootDir>/src/components/im/index/internal/widgets.js",
"^@yumjs": "<rootDir>/src/scripts/yumjs/index.js",
"^@appjs": "<rootDir>/src/scripts/appjs/index.js",
"^@locale": "<rootDir>/src/locales/i18n.js"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --config .prettierrc --write",
"git add"
],
"src/**/*.{json,css,scss,less,md}": [
"prettier --config ./.prettierrc --write",
"git add"
]
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.001%",
"not dead",
"not op_mini all",
"ie >= 9"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@storybook/addon-actions": "^5.1.11",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-knobs": "^5.1.11",
"@storybook/addon-notes": "^5.1.11",
"@storybook/addons": "^5.1.11",
"@storybook/react": "^5.1.11",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.12.0",
"customize-cra": "^0.5.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.2.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-flowtype": "^4.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"flow-bin": "^0.105.2",
"husky": "^3.0.4",
"less": "^3.10.2",
"less-loader": "^5.0.0",
"lint-staged": "^9.2.3",
"prettier": "^1.18.2",
"react-app-rewired": "^2.1.3",
"react-scripts": "3.1.1",
"stylelint": "^10.1.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-prettier": "^1.1.1",
"worker-loader": "^2.0.0"
}
}