-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.37 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.37 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
{
"name": "react-calculator",
"version": "0.2.0",
"private": true,
"dependencies": {
"big-js": "^3.1.3",
"prop-types": "^15.7.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-scripts": "5.0.1"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.7.0",
"@spotify/prettier-config": "^14.x",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"babel-jest": "29.3.1",
"codecov": "^3.6.1",
"eslint": "8.30.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "4.6.0",
"hint": "^7.1.3",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-extended": "^3.1.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-sh": "^0.12.8",
"react-test-renderer": "18.2.0",
"stylelint": "^14.14.0",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-recommended": "^9.0.0",
"stylelint-csstree-validator": "^2.0.0",
"stylelint-prettier": "^2.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "jest",
"eject": "react-scripts eject",
"codecov": "npx codecov",
"format": "prettier --write \"**/*.{html,json,md,yaml,yml,sh,gitignore}\" --ignore-path .gitignore",
"format:check": "prettier --check \"**/*.{html,json,md,yaml,yml,sh,gitignore}\" --ignore-path .gitignore",
"eslint": "npx eslint \"**/*.{js,jsx}\" --fix",
"eslint:check": "npx eslint \"**/*.{js,jsx}\"",
"stylelint": "npx stylelint \"**/*.css\" --fix",
"stylelint:check": "npx stylelint \"**/*.css\"",
"lint": "npx eslint \"**/*.{js,jsx}\" --fix && npx stylelint \"**/*.css\" --fix",
"lint:check": "npx eslint \"**/*.{js,jsx}\" && npx stylelint \"**/*.css\"",
"prepare": "husky install",
"lint-staged": "lint-staged",
"hint": "npx hint ."
},
"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"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/bolah2009/react-calculator.git"
},
"author": "Bola Ahmed Buari",
"license": "MIT",
"keywords": [
"React",
"JavaScript",
"DOM",
"Webpack",
"ES6",
"Test",
"Jest"
],
"bugs": {
"url": "https://github.com/bolah2009/react-calculator/issues"
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less)$": "identity-obj-proxy"
},
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"verbose": true,
"testEnvironment": "jsdom"
},
"prettier": "@spotify/prettier-config",
"lint-staged": {
"**/*.{js,jsx}": [
"eslint --fix"
],
"**/*.css": [
"stylelint --write"
],
"**/*.{html,json,md,yaml,yml,sh,gitignore}": [
"prettier --write"
]
}
}