forked from meedan/check-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 5.96 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
175
176
177
{
"name": "Check",
"version": "0.0.1",
"description": "Verify breaking news online",
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/meedan/check-web.git"
},
"nyc": {
"include": [
"src/**/*.js"
],
"instrument": false,
"sourceMap": false
},
"scripts": {
"build": "rm -rf build/web && npm run build:gulp",
"build:gulp": "NODE_ENV=production gulp build:web",
"build:dev": "NODE_ENV=development gulp build:web:dev",
"serve:dev": "NODE_ENV=development gulp serve:dev",
"transifex:download": "gulp transifex:download && gulp transifex:translations",
"transifex:upload": "gulp transifex:prepare && gulp transifex:upload",
"publish": "node scripts/server.js",
"test": "npm run test:unit && npm run test:integration && npm run test:quick",
"test:unit": "jest",
"test:integration": "cd test && rspec spec/integration_spec.rb && cd ..",
"test:bin1": "cd test && rspec spec/integration_spec.rb --tag bin1 && cd ..",
"test:bin2": "cd test && rspec spec/integration_spec.rb --tag bin2 && cd ..",
"test:bin3": "cd test && rspec spec/integration_spec.rb --tag bin3 && cd ..",
"test:bin4": "cd test && rspec spec/integration_spec.rb --tag bin4 && cd ..",
"test:bin5": "cd test && rspec spec/integration_spec.rb --tag bin5 && cd ..",
"test:bin6": "cd test && rspec spec/integration_spec.rb --tag bin6 && cd ..",
"test:browsers": "cd test && rspec spec/browser_spec.rb --tag quick && cd ..",
"test:quick": "cd test && rspec spec/integration_spec.rb --tag quick && cd ..",
"test:browsers:parallel": "cd test && PARALLEL_SPLIT_TEST_PROCESSES=2 parallel_split_test spec/browser_spec.rb && cd ..",
"test:ff": "cd test && bundle exec rspec --fail-fast && cd ..",
"test:bins": "grep -rI 'bin[0-9]' test/spec | grep -v '#' | sed 's/.*\\(bin[0-9]\\).*/\\1/g' | sort | uniq -c",
"test:lint": "eslint src/app"
},
"authors": [
"Meedan"
],
"license": "MIT",
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.{js,jsx}"
],
"coverageDirectory": "<rootDir>/coverage/",
"coverageReporters": [
"lcov"
],
"moduleNameMapper": {
"\\.(css)$": "<rootDir>/test/unit/__mocks__/fileMock.js",
"^config$": "<rootDir>/test/unit/__mocks__/config.json"
},
"roots": [
"<rootDir>/src/",
"<rootDir>/test/unit/"
],
"setupFilesAfterEnv": [
"<rootDir>/test/unit/setupJest.js"
]
},
"devDependencies": {
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"jest": "^25.4.0"
},
"dependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"@babel/runtime": "^7.9.2",
"@date-io/moment": "^1.3.13",
"@material-ui/core": "^4.9.10",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.52",
"@material-ui/pickers": "^3.2.10",
"@meedan/check-ui": "0.0.78",
"@meedan/react-jsonschema-form-material-ui-v1": "^99.0.0",
"@react-google-maps/api": "1.8.7",
"babel-eslint": "^7.1.1",
"babel-loader": "^8.1.0",
"babel-plugin-react-intl": "^3.5.1",
"babel-plugin-relay": "^1.7.0",
"babel-plugin-styled-components": "^1.10.7",
"compression-webpack-plugin": "^0.3.2",
"coordinate-parser": "^1.0.3",
"core-js": "^3.6.4",
"crossmessaging": "0.2.2",
"deep-equal": "^1.0.1",
"email-validator": "^2.0.4",
"escape-html": "^1.0.3",
"eslint": "4.13.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-require-path-exists": "1.1.7",
"express": "^4.14.0",
"graphql": "^14.6.0",
"gulp": "^4.0.2",
"gulp-json-editor": "^2.2.1",
"gulp-merge-json": "^2.1.1",
"gulp-transifex": "^0.1.17",
"gulp-util": "^3.0.6",
"ifvisible.js": "^1.0.6",
"intl": "^1.2.5",
"intl-locales-supported": "^1.0.0",
"json-loader": "^0.5.4",
"jss": "^10.2.0",
"jss-rtl": "^0.3.0",
"leaflet": "^1.6.0",
"lodash.capitalize": "^4.2.1",
"lodash.difference": "^4.5.0",
"lodash.findkey": "^4.6.0",
"lodash.intersection": "^4.4.0",
"lodash.isempty": "^4.4.0",
"lodash.isequal": "^4.5.0",
"lodash.merge": "^4.6.0",
"lodash.mergewith": "^4.6.0",
"lodash.sortby": "^4.7.0",
"lodash.truncate": "^4.4.2",
"lodash.xor": "^4.5.0",
"material-ui-popup-state": "1.5.4",
"memoize-one": "^5.1.1",
"moment": "^2.24.0",
"node-fetch": "^2.6.1",
"polished": "^1.2.1",
"prop-types": "^15.6.2",
"raw-loader": "^0.5.1",
"rc-tooltip": "^3.5.0",
"react": "^16.13.1",
"react-color": "^2.17.0",
"react-copy-to-clipboard": "^5.0.0",
"react-document-title": "^2.0.2",
"react-dom": "^16.13.1",
"react-dropzone": "^3.5.3",
"react-emoji-render": "^0.4.5",
"react-favicon": "0.0.8",
"react-ga": "^2.1.2",
"react-helmet": "^6.0.0",
"react-icons": "^3.10.0",
"react-image-lightbox": "^5.0.0",
"react-infinite-scroller": "^1.0.1",
"react-intercom": "^1.0.15",
"react-intl": "^2.2.3",
"react-leaflet": "^2.7.0",
"react-linkify": "^0.2.2",
"react-redux": "^5.0.1",
"react-relay": "^1.7.0",
"react-router": "^3.2.6",
"react-select": "^1.3.0",
"react-string-replace": "^0.4.4",
"redux": "^3.0.0",
"redux-notify": "^0.2.0",
"redux-thunk": "^2.1.0",
"relay-compiler": "^1.7.0",
"rtl-detect": "^1.0.0",
"serve-static": "^1.10.2",
"style-loader": "^0.13.1",
"styled-components": "^5.0.1",
"superagent": "^3.3.0",
"sync-request": "^4.0.3",
"url-regex": "^3.2.0",
"webpack": "^4.42.1",
"whatwg-fetch": "^2.0.1",
"xregexp": "^3.1.1"
}
}