/
package.json
92 lines (92 loc) · 2.67 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
{
"name": "kanji-guesser",
"description": "Guess the kanji!",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --coverage",
"testdev": "react-scripts test --coverage --watchAll --updateSnapshot",
"eject": "react-scripts eject",
"codecov": "./node_modules/.bin/codecov -t 2f2c5d5b-318e-4970-ac74-e625bfb192f1",
"": "",
"prettier": "prettier --list-different 'src/**/*.ts' || (echo '\nPlease fix code formatting by running:\nnpm run prettier:fix\n'; exit 1)",
"prettier:fix": "prettier --write 'src/**/*.ts'",
"lint": "tslint -p ./",
"tsc": "tsc -p ./ --noEmit",
"tsc:watch": "tsc -p ./ --noEmit -w",
"jest": "jest --config jest.config.json",
"jest:watch": "jest --config jest.config.json --watch",
"jest:update": "jest --config jest.config.json -u",
"ci-check": "yarn prettier && yarn lint && yarn tsc && yarn jest"
},
"dependencies": {
"@capacitor/core": "1.4.0",
"@ionic/react": "^4.11.8",
"@ionic/react-router": "^4.11.8",
"@stencil/core": "^1.8.6",
"@testing-library/jest-dom": "^5.1.0",
"@testing-library/react": "^9.4.0",
"@testing-library/user-event": "^8.0.3",
"@types/classnames": "^2.2.9",
"@types/jest": "^24.0.25",
"@types/lodash.shuffle": "^4.2.6",
"@types/node": "^12.12.24",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"@types/react-router": "^5.1.4",
"@types/react-router-dom": "^5.1.3",
"@types/react-test-renderer": "^16.9.2",
"@types/styled-components": "^4.4.2",
"classnames": "^2.2.6",
"ionicons": "^4.6.3",
"lodash.shuffle": "^4.2.0",
"node-sass": "^4.13.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-scripts": "3.3.0",
"styled-components": "^5.0.0",
"typescript": "3.7.4"
},
"devDependencies": {
"@capacitor/cli": "1.4.0",
"codecov": "^3.6.4",
"jest-environment-happy-dom": "^0.0.41",
"jest-serializer-html": "^7.0.0",
"react-test-renderer": "^16.12.0",
"ts-jest": "^25.1.0"
},
"eslintConfig": {
"extends": "react-app"
},
"jest": {
"snapshotSerializers": [
"jest-serializer-html"
],
"collectCoverageFrom": [
"src/**/*.{ts,tsx,js,jsx}"
],
"coverageReporters": [
"json",
"lcov",
"text",
"clover",
"html"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}