-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 2.82 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
99
100
101
102
103
104
105
106
107
108
109
{
"name": "react-switch-casu",
"license": "MIT",
"version": "1.0.0",
"types": "dist/index.d.ts",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"description": "Conditional rendering in React works the same way conditions work in JavaScript. Stop using JavaScript operators like if or ternary conditional operators to create elements that represent the current state and let `react-switch-casu` take care of updating the UI to match them.",
"author": {
"name": "Dominyel Rivera - Yoydev",
"email": "[email protected]",
"url": "https://yoydev.com/"
},
"files": [
"LICENSE",
"README.md",
"dist"
],
"keywords": [
"react",
"expression",
"switch-case",
"react-switch-casu",
"Conditional Rendering",
"conditional-rendering"
],
"scripts": {
"rollup": "rollup -c",
"test": "react-scripts test",
"build": "react-scripts build",
"eject": "react-scripts eject",
"start": "react-scripts start",
"prepublish": "yarn build",
"postbuild": "yarn size",
"size": "bundlewatch"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"@babel/preset-typescript": "^7.16.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-typescript": "^8.3.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@types/jest": "^28.1.6",
"@types/react": "^18.0.15",
"@types/react-test-renderer": "^18.0.3",
"babel-loader": "^8.2.3",
"bundlewatch": "^0.3.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.2.0",
"rollup": "^2.60.0",
"rollup-plugin-dts": "^4.0.1",
"typescript": "^4.7.4"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
},
"resolutions": {
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0"
},
"bundlewatch": {
"files": [
{
"path": "./dist/react-switch-casu.min.js",
"maxSize": "3.5kB"
}
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/lac617a/react-switch-casu"
},
"bugs": {
"url": "https://github.com/lac617a/react-switch-casu/issues"
},
"homepage": "https://react-switch-casu.netlify.com",
"engines": {
"node": ">= 14"
},
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"semi": true,
"trailingComma": "es5",
"singleQuote": false,
"tabWidth": 2,
"printWidth": 80,
"editorconfig": true
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}