-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
98 lines (98 loc) · 2.73 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
{
"name": "trivia-game",
"version": "0.1.0",
"private": true,
"scripts": {
"build": "react-scripts build",
"commit": "git-cz",
"cy:open": "cypress open",
"cy:run": "cypress run",
"format": "yarn prettier --write",
"prettier": "prettier \"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)\"",
"preserve": "yarn build",
"serve": "serve -s build -l 3000",
"setup": "yarn && yarn validate",
"start": "react-scripts start",
"test": "is-ci \"test:ci\" \"test:watch\"",
"test:ci": "react-scripts test --ci --coverage --runInBand --reporters=default --reporters=jest-junit",
"test:coverage": "react-scripts test --coverage",
"test:e2e": "is-ci \"test:e2e:run\" \"test:e2e:dev\"",
"test:e2e:dev": "start-server-and-test start http://localhost:3000 cy:open",
"test:e2e:run": "start-server-and-test serve http://localhost:3000 cy:run",
"test:watch": "react-scripts test",
"validate": "lint-staged"
},
"dependencies": {
"@xstate/react": "5.0.2",
"lean-he": "2.1.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-scripts": "5.0.1",
"styled-components": "6.1.14",
"tailwind.macro": "1.0.0-alpha.10",
"typescript": "5.7.3",
"xstate": "5.19.2"
},
"devDependencies": {
"@testing-library/cypress": "10.0.3",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "15.0.7",
"@types/jest": "29.5.14",
"@types/node": "22.13.1",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"@types/styled-components": "5.1.34",
"@xstate/graph": "3.0.2",
"@xstate/test": "0.5.1",
"commitizen": "4.3.1",
"cypress": "14.0.1",
"cz-conventional-changelog": "3.3.0",
"husky": "9.1.7",
"is-ci-cli": "2.2.0",
"jest-axe": "9.0.0",
"jest-junit": "16.0.0",
"jest-styled-components": "beta",
"lint-staged": "15.4.3",
"mocha": "11.1.0",
"mocha-junit-reporter": "2.2.1",
"mocha-multi-reporters": "1.5.1",
"prettier": "3.4.2",
"serve": "14.2.4",
"start-server-and-test": "2.0.10"
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn validate"
}
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "https://github.com/DevanB/xstate-examples/trivia-game"
},
"lint-staged": {
"**/*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx)": [
"prettier --write",
"git add"
]
}
}