forked from opencollective/opencollective-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
230 lines (230 loc) · 7.69 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
{
"name": "opencollective-frontend",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "https://github.com/opencollective/opencollective-frontend.git"
},
"private": true,
"engines": {
"node": "10.x"
},
"dependencies": {
"@babel/runtime": "7.6.2",
"@formatjs/intl-relativetimeformat": "4.1.1",
"@material-ui/core": "4.4.3",
"@opencollective/taxes": "2.3.0",
"@rebass/grid": "6.1.0",
"@sentry/browser": "5.6.3",
"@styled-system/prop-types": "5.1.2",
"@styled-system/theme-get": "5.1.2",
"@zeit/next-css": "0.2.1-canary.4",
"@zeit/next-source-maps": "0.0.3",
"accepts": "1.3.7",
"apollo-cache-inmemory": "1.6.3",
"apollo-client": "2.6.4",
"apollo-link": "1.2.13",
"apollo-link-context": "1.0.19",
"apollo-link-error": "1.1.12",
"apollo-link-http": "1.5.16",
"bluebird": "3.5.5",
"bootstrap": "3.4.1",
"classnames": "2.2.6",
"cloudflare-ip": "0.0.7",
"cookie-parser": "1.4.4",
"copy-to-clipboard": "3.2.0",
"cross-fetch": "3.0.4",
"currency-symbol-map": "4.0.4",
"debug": "4.1.1",
"dotenv": "8.1.0",
"downshift": "3.3.2",
"draft-js": "0.10.5",
"express": "4.17.1",
"express-http-proxy": "1.6.0",
"express-session": "1.16.2",
"express-winston": "3.3.0",
"fetch-jsonp": "1.1.3",
"file-saver": "2.0.2",
"glob": "7.1.4",
"graphql": "14.5.8",
"graphql-tag": "2.10.1",
"html-pdf": "2.2.0",
"i18n-iso-countries": "4.3.1",
"intl": "1.2.5",
"intl-pluralrules": "1.0.3",
"jsonwebtoken": "8.5.1",
"load-script": "1.0.0",
"lodash": "4.17.15",
"lru-cache": "5.1.1",
"markdown-loader": "5.1.0",
"memoize-one": "5.1.1",
"moment": "2.24.0",
"moment-timezone": "0.5.26",
"next": "9.0.6",
"next-routes": "1.4.2",
"node-fetch": "2.6.0",
"nodemailer": "6.3.0",
"nprogress": "0.2.0",
"nuka-carousel": "4.5.12",
"payment": "2.3.0",
"polished": "3.4.1",
"prop-types": "15.7.2",
"qrcode.react": "0.9.3",
"react": "16.9.0",
"react-add-to-calendar": "0.1.5",
"react-apollo": "3.1.1",
"react-bootstrap": "0.32.4",
"react-datetime": "2.16.3",
"react-dnd": "5.0.0",
"react-dnd-html5-backend": "3.0.2",
"react-dom": "16.9.0",
"react-dropzone": "5.1.1",
"react-easy-crop": "^1.16.1",
"react-geosuggest": "2.12.0",
"react-gmaps": "1.9.0",
"react-intl": "3.3.1",
"react-markdown": "4.2.2",
"react-mde": "6.0.0",
"react-quill": "1.3.3",
"react-scrollchor": "6.0.0",
"react-select": "3.0.5",
"react-stickynode": "2.1.1",
"react-stripe-elements": "5.0.1",
"react-tag-input": "6.4.1",
"react-tooltip": "3.11.1",
"react-window": "1.8.5",
"regenerator-runtime": "0.13.3",
"rehype-react": "4.0.1",
"rehype-sanitize": "3.0.0",
"remark-parse": "7.0.1",
"remark-rehype": "5.0.0",
"sanitize-html": "1.20.1",
"showdown": "1.9.0",
"slugify": "1.3.5",
"styled-components": "5.0.0-beta.8",
"styled-icons": "8.3.0",
"styled-jsx": "3.2.2",
"styled-system": "5.1.2",
"title-case": "2.1.1",
"unified": "8.4.0",
"universal-url": "^2.0.0",
"uuid": "3.3.3",
"validator": "11.1.0",
"winston": "3.2.1"
},
"scripts": {
"start": "node dist/server",
"dev": "babel-node server",
"build": "npm-run-all build:updates build:clean build:next build:server",
"build:clean": "shx rm -rf dist .next",
"build:langs": "npm run langs:update",
"build:updates": "npm --prefix node_modules/cloudflare-ip run update-list",
"build:next": "cross-env scripts/build_next.sh",
"build:server": "cross-env scripts/build_server.sh",
"test": "npm run test:jest",
"test:jest": "cross-env TZ=UTC jest components lib pages",
"test:e2e": "npm run cypress:run",
"test:e2e:0": "CYPRESS_TEST_FILES=0*.js npm run cypress:run",
"test:e2e:1": "CYPRESS_TEST_FILES=1*.js npm run cypress:run",
"test:e2e:2": "CYPRESS_TEST_FILES=2*.js npm run cypress:run",
"test:e2e:3": "CYPRESS_TEST_FILES=3*.js npm run cypress:run",
"test:update": "npm run test:jest -- --updateSnapshot",
"deploy:production": "cross-env ./scripts/pre-deploy.sh production && git push production master",
"deploy:staging": "cross-env ./scripts/pre-deploy.sh staging && git push -f staging master",
"git:clean": "cross-env ./scripts/git_clean.sh",
"lint": "eslint \"*.js\" \"@(components|lib|pages|scripts|server|test)/**/*.js\"",
"lint:fix": "npm run lint -- --fix",
"lint:quiet": "npm run lint -- --quiet",
"langs:update": "npm-run-all build:clean langs:build langs:translate",
"langs:build": "babel . --only \"components/*,lib/*,pages/*\" --out-dir dist --delete-dir-on-start",
"langs:translate": "babel-node scripts/translate.js",
"commit": "git-cz",
"semantic-release": "semantic-release",
"cypress:run": "cross-env TZ=UTC cypress run",
"cypress:open": "cross-env TZ=UTC cypress open",
"prettier": "prettier \"*.@(js|json|md)\" \"@(components|lib|pages|scripts|server|test)/**/*.@(js|json|md)\"",
"optimize-png": "npm install --no-save imagemin imagemin-optipng && babel-node ./scripts/optimize-png",
"prettier:write": "npm run prettier -- --write",
"prettier:check": "npm run prettier -- --list-different",
"graphql:get-schema": "npm run graphql:update",
"graphql:update": "npx graphql-cli get-schema -p opencollective -e dev && prettier lib/graphql/schema.graphql --write",
"styleguide:dev": "styleguidist server",
"styleguide:build": "styleguidist build",
"styleguide:deploy": "npm run styleguide:build && npx now styleguide && npx now alias -A styleguide/now.json"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/node": "7.4.5",
"babel-eslint": "^10.0.3",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-react-intl": "^4.1.19",
"babel-plugin-react-remove-properties": "0.3.0",
"babel-plugin-styled-components": "1.10.6",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"commitizen": "^4.0.3",
"cross-env": "^6.0.0",
"cypress": "^3.4.1",
"cz-conventional-changelog": "^3.0.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^6.4.0",
"eslint-config-opencollective": "^2.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-cypress": "^2.7.0",
"eslint-plugin-graphql": "^3.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.0.1",
"file-loader": "^4.2.0",
"html-loader": "^0.5.5",
"husky": "^3.0.5",
"jest": "^24.9.0",
"jest-styled-components": "^7.0.0-beta.1",
"jsdom": "^15.1.1",
"lint-staged": "^9.4.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"prettier": "1.18.2",
"raf": "^3.4.1",
"raw-loader": "^3.1.0",
"react-styleguidist": "9.0.4",
"react-test-renderer": "^16.9.0",
"shx": "^0.3.2",
"sinon": "^7.5.0",
"style-loader": "^1.0.0",
"url-loader": "^2.1.0",
"webpack-bundle-analyzer": "^3.5.2"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/mocks/fileMock.js",
"\\.(css|less)$": "<rootDir>/test/mocks/styleMock.js"
},
"setupFiles": [
"<rootDir>/test/setup.js"
],
"testPathIgnorePatterns": [
"/.next/",
"/dist/",
"/node_modules/"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,md,graphql}": [
"prettier --write",
"git add"
]
}
}