-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
69 lines (69 loc) · 2.39 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
{
"name": "landpage-with-react",
"private": true,
"dependencies": {
"@babel/register": "^7.4.4",
"@material-ui/core": "^4.0.1",
"@material-ui/icons": "^4.0.1",
"@material-ui/styles": "^4.0.1",
"babel-plugin-transform-assets": "^1.0.2",
"clsx": "^1.0.4",
"full-icu": "^1.3.0",
"prop-types": "^15.7.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-helmet": "^5.2.1",
"react-intl": "^2.9.0",
"react-loadable": "^5.5.0",
"react-router-dom": "^5.0.0",
"react-scripts": "3.0.1",
"serialize-javascript": "^1.7.0"
},
"scripts": {
"postinstall": "node makeReactScriptGenerateBundleStatsAgain.js",
"i18n:update": "npm run i18n:update-pot && npm run i18n:update-po",
"i18n:update-pot": "npm run extract:messages && npm run extract:pot",
"i18n:update-po": "find './i18n/' -name *.po -execdir sh -c 'msgmerge -vU \"$0\" \"$PWD/messages.pot\"' '{}' \\;",
"extract:messages": "rm -rf i18n/src && MESSAGE_DIR='./i18n' react-scripts build",
"extract:pot": "react-intl-po json2pot 'i18n/src/**/*.json' -c 'id' -o 'i18n/messages.pot'",
"extract:po": "react-intl-po po2json 'i18n/**/*.po' -c 'id' -m 'i18n/src/**/*.json' -o 'i18n'",
"start-express-ssr": "NODE_ICU_DATA=node_modules/full-icu nodemon --watch server --watch src --exec 'npm run build && node $NODE_DEBUG_OPTION server/bootstrap.js'",
"start-express-ssr-without-build-client": "NODE_ICU_DATA=node_modules/full-icu nodemon --watch server --watch src server/bootstrap.js",
"start-express-ssr-without-build-client-no-nodemon": "NODE_ICU_DATA=node_modules/full-icu node server/bootstrap.js",
"size": "size-limit",
"start": "react-scripts start",
"build": "react-scripts build",
"postbuild": "npm run size",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"husky": "^2.3.0",
"nodemon": "^1.19.1",
"prettier": "^1.17.1",
"pretty-quick": "^1.11.0",
"react-intl-po": "^2.2.2",
"react-intl.macro": "^0.3.6",
"size-limit": "^1.3.5"
}
}