-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
61 lines (61 loc) · 2.19 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
{
"name": "openhex",
"homepage": "http://alcalyn.github.io/openhex",
"version": "0.1.0",
"private": true,
"dependencies": {
"acorn": "^6.4.0",
"i18next": "^19.0.2",
"i18next-browser-languagedetector": "^4.0.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-hexgrid": "^1.0.1",
"react-i18next": "^11.2.6",
"react-router-dom": "^5.1.2",
"react-scripts": "^3.3.0",
"react-svg-pan-zoom": "git+https://github.com/alcalyn/react-svg-pan-zoom.git#release/bugfix/onclick-on-mobile-v3",
"react-virtualized": "^9.18.5",
"seedrandom": "^3.0.5",
"undo-manager": "^1.0.5"
},
"scripts": {
"start": "react-scripts start",
"start-prod": "npm run build-local && anywhere -d build/ -s",
"build": "react-scripts build",
"build-local": "PUBLIC_URL=. react-scripts build",
"test": "mocha --recursive --require babel-core/register && CI=false react-scripts test --env=jsdom",
"test-unit": "mocha --recursive --require babel-core/register",
"coverage": "nyc --reporter=text --reporter=html mocha --recursive --require babel-core/register && echo '\n > Check HTML result at ./coverage/index.html\n'",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"translations-scan": "npm-run-all translations-scan-*",
"translations-scan-engine": "i18next-scanner --config i18next-scanner.config.engine.js src/engine/*.js",
"translations-scan-ui": "i18next-scanner --config i18next-scanner.config.ui.js src/components/*.js",
"translations-scan-game-rules": "i18next-scanner --config i18next-scanner.config.game-rules.js src/components/GameRules/GameRules.js",
"eject": "react-scripts eject"
},
"devDependencies": {
"anywhere": "^1.5.0",
"babel-core": "^6.26.3",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"chai": "^4.1.2",
"gh-pages": "^2.1.1",
"i18next-scanner": "^2.4.6",
"mocha": "^6.2.2",
"npm-run-all": "^4.1.2",
"nyc": "^14.1.1"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}