-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
107 lines (107 loc) · 4.59 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
{
"name": "check-mark",
"version": "2.5.13",
"private": true,
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/node": "^7.13.13",
"@babel/preset-env": "^7.14.1",
"@babel/preset-react": "^7.13.13",
"@formatjs/cli": "^4.2.6",
"babel-loader": "^8.3.0",
"babel-plugin-formatjs": "^10.2.11",
"babel-plugin-relay": "^11.0.2",
"copy-webpack-plugin": "^8.1.1",
"css-loader": "^5.2.6",
"eslint": "^7.23.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-formatjs": "^2.14.6",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-require-path-exists": "^1.1.9",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"react-dev-utils": "^12.0.1",
"react-test-renderer": "^17.0.2",
"relay-compiler": "^11.0.2",
"style-loader": "^2.0.0",
"webpack": "^5.76.0",
"yalc": "^1.0.0-pre.53"
},
"dependencies": {
"@date-io/dayjs": "^1.3.13",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.56",
"@material-ui/pickers": "^3.3.10",
"@meedan/check-ui": "0.1.16",
"async-to-generator": "^1.1.0",
"autoprefixer": "10.4.13",
"chalk": "1.1.3",
"dayjs": "^1.10.5",
"dotenv": "4.0.0",
"filesize-parser": "^1.4.2",
"fs-extra": "3.0.1",
"getit": "^1.1.0",
"graphql": "^15.5.0",
"leaflet": "^1.7.1",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "5.0.2",
"pretty-bytes": "^4.0.2",
"promise": "7.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-overlay": "^6.0.11",
"react-intl": "^5.20.2",
"react-linkify": "0.2.2",
"react-relay": "^11.0.2",
"react-select-plus": "^1.0.0-rc.5",
"regenerator-runtime": "^0.13.7",
"superagent": "^3.5.2",
"util": "^0.10.3",
"whatwg-fetch": "2.0.3"
},
"scripts": {
"clean-localization": "rm -rf src/localization/messages",
"build": "npm i && npm run relay && cp config.js src/ && babel-node scripts/brand.js brand && babel-node scripts/build.js && npm run clean-localization && babel-node scripts/brand.js unbrand && rm -f src/config.js",
"build:check-ui": "npm i && yalc link @meedan/check-ui && npm run relay && cp config.js src/ && babel-node scripts/brand.js brand && babel-node scripts/build.js && npm run clean-localization && babel-node scripts/brand.js unbrand && rm -f src/config.js",
"test:lint": "cd test/spec && bundle install && bundle exec rubocop && cd ..",
"test:eslint": "eslint src",
"test": "npm run release:test && cd test && bundle install && bundle exec rspec && cd ..",
"relay": "babel-node scripts/relay.js && relay-compiler --src ./src --schema ./src/relay/relay.json",
"relay:watch": "babel-node scripts/relay.js && relay-compiler --src ./src --schema ./src/relay/relay.json --watch -- ls -l",
"transifex:extract": "formatjs extract src/**/*.js --format transifex --out-file src/localization/en.json",
"transifex:upload": "npm run transifex:extract && tx push -s",
"transifex:download": "tx pull -a -f",
"generate-extension": "npm run build; find build -name \"*.map\" -exec rm -f {} \";\"; echo 'Code generate at directory called build'",
"release:qa": "mv config.js config.js.bkp; cp config.js.qa config.js; npm run build; rm -rf releases/qa; cp -r build releases/qa; find releases/qa -name \"*.map\" -exec rm -f {} \";\"; mv config.js.bkp config.js && cd releases/qa && zip -r qa.zip * && cd -",
"release:live": "mv config.js config.js.bkp; cp config.js.live config.js; npm run build; rm -rf releases/live; cp -r build releases/live; find releases/live -name \"*.map\" -exec rm -f {} \";\"; mv config.js.bkp config.js && cd releases/live && zip -r live.zip * && cd -",
"release:test": "mv config.js config.js.bkp; cp config.js.test config.js; npm run build; rm -rf releases/test; cp -r build releases/test; find releases/test -name \"*.map\" -exec rm -f {} \";\"; mv config.js.bkp config.js"
},
"jest": {
"preset": "jest-expo",
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx"
]
}
}