-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 2 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
{
"name": "iotum-samples",
"version": "0.1.1",
"homepage": "https://iotum.github.io/iotum-samples",
"private": true,
"type": "module",
"dependencies": {
"@iotum/callbridge-js": "github:iotum/callbridge-js#v1.0.15",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.3",
"react-router-dom": "^6.17.0",
"redux": "^4.2.1",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "vite",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"build": "vite build",
"preview": "vite preview",
"test": "jest ./src",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0"
},
"jest": {
"roots": [
"<rootDir>/src"
],
"testEnvironment": "jest-environment-jsdom",
"moduleFileExtensions": [
"tsx",
"ts",
"jsx",
"js"
],
"unmockedModulePathPatterns": [
"./node_modules/react"
],
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/src/__mocks__/styleMock.js",
"\\.(gif|ttf|eot|svg)$": "<rootDir>/src/__mocks__/fileMock.js"
},
"resetMocks": true
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/preset-env": "^7.23.8",
"@babel/preset-react": "^7.23.3",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.11",
"@vitejs/plugin-basic-ssl": "^1.0.2",
"@vitejs/plugin-react": "^4.2.1",
"babel-jest": "^29.7.0",
"eslint": "^8.55.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"gh-pages": "^5.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react-test-renderer": "^18.2.0",
"vite": "^5.4.6"
}
}