-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.42 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.42 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "anpan-webpage",
"main": "./src",
"scripts": {
"build": "NODE_ENV=production webpack",
"dev": "NODE_ENV=development webpack serve --open",
"test": "jest",
"deploy": "gh-pages -d dist"
},
"dependencies": {
"@babel/preset-env": "^7.23.9",
"@babel/runtime": "^7.23.9",
"@callstack/eslint-config": "^14.1.0",
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.58",
"@types/react-native": "^0.73.0",
"@types/react-test-renderer": "^18.0.7",
"babel": "^6.23.0",
"babel-loader": "^9.1.3",
"chalk": "^5.3.0",
"commitizen": "^4.3.0",
"css-loader": "^6.10.0",
"cz-conventional-changelog": "^3.3.0",
"eslint-plugin-css-modules": "^2.12.0",
"gh-pages": "^6.1.1",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.0.11",
"jest-diff": "^29.7.0",
"jest-dom": "^4.0.0",
"jest-matcher-utils": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"nodemon": "^3.0.3",
"path": "^0.12.7",
"pretty-format": "^29.7.0",
"pretty-quick": "^4.0.0",
"react": "^18.2.0",
"react-code-blocks": "^0.1.6",
"react-dom": "^18.1.0",
"react-icons": "^5.0.1",
"react-native": "^0.73.4",
"react-router-dom": "^6.3.0",
"react-test-renderer": "^18.2.0",
"redent": "^4.0.0",
"semantic-release": "^23.0.2"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/runtime": "^7.23.9",
"@callstack/eslint-config": "^14.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react": "^14.2.1",
"@types/bun": "latest",
"babel-loader": "^9.1.3",
"cross-env": "^7.0.3",
"eslint": "^8.15.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"favicons": "^6.2.2",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"sass": "^1.51.0",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"svg-inline-loader": "^0.8.2",
"url-loader": "^4.1.1",
"webpack": "^5.90.3",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.15.1"
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"jest/globals": true
},
"extends": [
"plugin:react/recommended",
"plugin:jest/recommended",
"airbnb",
"prettier"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"jest"
],
"rules": {
"no-underscore-dangle": 0,
"import/extensions": [
"error",
"ignorePackages",
{
"js": "always",
"jsx": "always"
}
]
}
},
"jest": {
"testEnvironment": "jsdom",
"verbose": true,
"transform": {
"^.+\\.(ts|tsx|js|jsx)$": "babel-jest"
},
"moduleNameMapper": {
"^.+\\.(jpg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm)$": "<rootDir>/__mock__/fileMock.js",
"^.+\\.(scss)$": "<rootDir>/__mock__/styleMock.js"
}
}
}