/
package.json
157 lines (157 loc) 路 4.86 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
{
"name": "captain-fact-frontend",
"version": "1.2.1",
"private": true,
"engines": {
"npm": ">=8.19.2"
},
"scripts": {
"build": "webpack-cli --config webpack.production.config.js",
"prod:build": "webpack-cli --config webpack.production.config.js",
"cypress": "cypress run",
"cypress:open": "LANG=\"en_EN.UTF-8\" cypress open .",
"dev": "webpack serve",
"dev:build": "webpack-cli",
"start": "npm run dev",
"watch": "jest --watch",
"test": "jest",
"test:update": "jest -u",
"wtest": "jest --watch",
"coverage": "jest --coverage '--collectCoverageFrom=app/+(API|components|lib|state)/**/!(record).{js,jsx}'",
"lint": "eslint --ext .js,.jsx app cypress",
"lint:fix": "npm run lint -- --fix && npm run prettier",
"prettier": "prettier --loglevel warn --write 'app/**/*.{js,jsx}' && prettier --write 'cypress/**/*.js'",
"prettier:check": "prettier --loglevel warn --check 'app/**/*.{js,jsx}' && prettier --check 'cypress/**/*.js'"
},
"jest": {
"setupFiles": [
"./dev/tests_setup.js",
"jest-localstorage-mock"
],
"moduleNameMapper": {
"^.+\\.(css|scss)$": "identity-obj-proxy",
"\\.(jpg|jpeg|png)$": "<rootDir>/src/__mocks__/fileMock.js"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/__fixtures__/",
".history",
"cypress"
]
},
"browserslist": {
"production": [
"> 2%",
"not ie <=10",
"not ie_mob <=11",
"not bb <=10",
"not op_mob <= 37",
"not samsung <= 7"
]
},
"dependencies": {
"@apollo/client": "^3.9.4",
"@rebass/grid": "~6.0.0-5",
"@styled-icons/feather": "^10.47.0",
"algoliasearch": "4.22.1",
"animate.scss": "0.0.6",
"bulma": "0.7.2",
"classnames": "~2.3.1",
"date-fns": "^2.16.1",
"debounce-promise": "~3.1.2",
"diff": "~5.2.0",
"dotenv-webpack": "~8.0.1",
"faker": "~5.5.3",
"formik": "^2.2.9",
"graphql": "^16.8.1",
"graphql-tag": "2.12.6",
"i18next": "~19.0.2",
"immutable": "~4.3.4",
"is-promise": "~4.0.0",
"isomorphic-fetch": "~3.0.0",
"lodash": "^4.17.21",
"phoenix": "~1.7.10",
"polished": "^4.3.1",
"prop-types": "~15.8.1",
"re-reselect": "~4.0.0",
"re-resizable": "^6.9.0",
"react": "~17.0.2",
"react-dom": "~17.0.2",
"react-flip-move": "3.0.5",
"react-helmet": "6.1.0",
"react-i18next": "~9.0.1",
"react-instantsearch-dom": "6.40.4",
"react-markdown": "~8.0.7",
"react-player": "~2.14.1",
"react-redux": "~7.2.9",
"react-resize-detector": "~9.1.1",
"react-router": "5.3.4",
"react-router-dom": "5.3.4",
"react-select": "^5.8.0",
"react-toggled": "^1.2.7",
"reactjs-popup": "~2.0.6",
"redux": "~4.2.0",
"redux-actions": "~2.6.5",
"redux-form": "8.3.9",
"redux-promise": "~0.6.0",
"redux-thunk": "~2.3.0",
"remark-gfm": "3.0.1",
"reselect": "~4.0.0",
"smoothscroll-polyfill": "~0.4.4",
"styled-components": "~5.3.9",
"styled-icons": "~10.47.0",
"styled-system": "~3.2.0",
"tinycon": "~0.6.8",
"uuid": "~9.0.1",
"validator": "13.7.0",
"wikidata-sdk": "^8.1.1"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@babel/plugin-proposal-object-rest-spread": "^7.14.4",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.13.13",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.3",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-styled-components": "2.1.4",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-wildcard": "^7.0.0",
"browserslist": "^4.22.3",
"clean-webpack-plugin": "^4.0.0",
"compression-webpack-plugin": "^11.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^5.2.7",
"css-minimizer-webpack-plugin": "^4.2.2",
"cypress": "^13.6.2",
"eslint": "^8.56.0",
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-cypress": "^2.8.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-simple-import-sort": "^12.0.0",
"fetch-mock": "^7.3.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-localstorage-mock": "^2.4.3",
"mini-css-extract-plugin": "^2.7.2",
"node-sass": "8.0.0",
"prettier": "3.2.5",
"react-test-renderer": "^17.0.2",
"sass-loader": "^13.2.0",
"style-loader": "^1.1.3",
"terser-webpack-plugin": "^5.3.10",
"url-loader": "^4.1.1",
"webpack": "^5.90.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "^4.15.1"
}
}