-
Notifications
You must be signed in to change notification settings - Fork 199
/
package.json
139 lines (139 loc) · 4.71 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@welldone-software/why-did-you-render",
"description": "Monkey patches React to notify you about avoidable re-renders.",
"version": "8.0.3",
"repository": "git+https://github.com/welldone-software/why-did-you-render.git",
"license": "MIT",
"authors": [
"Vitali Zaidman <[email protected]> (https://github.com/vzaidman)"
],
"types": "types.d.ts",
"main": "dist/whyDidYouRender.js",
"files": [
"dist",
"types.d.ts",
"jsx-runtime.js",
"jsx-runtime.d.ts",
"jsx-dev-runtime.js",
"jsx-dev-runtime.d.ts"
],
"keywords": [
"react",
"component",
"pure",
"performance",
"render",
"update",
"tool"
],
"scripts": {
"start": "cross-env PORT=3003 NODE_ENV=development node demo/serve",
"start:classic": "cross-env USE_CLASSIC_JSX=true yarn start",
"build": "cross-env NODE_ENV=production rollup --config --bundleConfigAsCjs",
"test": "yarn test:automatic && yarn test:classic",
"test:automatic": "cross-env yarn _test",
"test:classic": "cross-env USE_CLASSIC_JSX=true yarn _test",
"_test": "jest --config=jest.config.js",
"test:watch": "yarn test:automatic --watch",
"test:ci": "yarn test --coverage",
"lint": "eslint . --ext=js --max-warnings 0 --cache --cache-location .cache/eslint-cache",
"clear": "rimraf .cache dist demo/dist",
"watch": "concurrently --names \"Serve,Test\" \"npm:start\" \"npm:test:watch\"",
"checkHealth": "yarn lint && yarn test",
"version": "yarn checkHealth && yarn build",
"postversion": "git push && git push --tags",
"cypress:open": "cypress open",
"cypress:run": "cypress run --browser chrome",
"_cypress:run:ci": "yarn cypress:run --record --group main",
"_cypress:run:ci:classic": "yarn cypress:run --record --group classic",
"cypress:ci": "start-server-and-test start http://localhost:3003 _cypress:run:ci",
"cypress:ci:classic": "start-server-and-test start:classic http://localhost:3003 _cypress:run:ci:classic"
},
"comments": {
"how to": {
"bump version": "npm version major/minor/patch"
},
"resolutions": {
"eslint@^8": [
"react eslint plugins doesn't play nicely with eslint 9 so we force using eslint 8 for now"
],
"source-map@^0.7.4": [
"fixes https://github.com/mozilla/source-map/issues/432 or we get:",
"forces nollup to use source-map 0.8.0-beta.0 or higher.",
"will be resolved when nollup is updated to use it"
],
"string-width": [
"fixes require() of ES Module issue"
]
}
},
"dependencies": {
"lodash": "^4"
},
"peerDependencies": {
"react": "^18"
},
"resolutions": {
"source-map-fast": "npm:source-map@^0.8.0-beta.0",
"source-map": "^0.8.0-beta.0",
"string-width": "4.2.3"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-redux": "^7.1.33",
"@welldone-software/jest-console-handler": "^2.0.1",
"acorn-walk": "^8.3.2",
"astring": "^1.8.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^29.7.0",
"concurrently": "^8.2.2",
"create-react-class": "^15.7.0",
"cross-env": "^7.0.3",
"cypress": "^13.11.0",
"eslint": "^8.57.0",
"eslint-plugin-cypress": "^3.3.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-react": "^7.34.2",
"express": "^4.19.2",
"express-history-api-fallback": "^2.2.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nollup": "^0.21.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-loader": "^4.13.1",
"react-is": "^18.3.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.23.1",
"react-router-dom-5": "npm:react-router-dom@^5.3.4",
"redux": "^5.0.1",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-commonjs-alternate": "^0.8.0",
"rollup-plugin-license": "^3.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"source-map": "npm:source-map@^0.8.0-beta.0",
"start-server-and-test": "^2.0.4",
"styled-components": "^6.1.11",
"typescript": "^5.4.5"
}
}