Skip to content

Commit c8a84ba

Browse files
moves web-vitals lib to template dependency
1 parent de2187d commit c8a84ba

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"strip-ansi": "^6.0.0",
4242
"svg-term-cli": "^2.1.1",
4343
"tempy": "^0.2.1",
44-
"wait-for-localhost": "^3.1.0"
44+
"wait-for-localhost": "^3.1.0",
45+
"web-vitals": "^0.2.2"
4546
},
4647
"husky": {
4748
"hooks": {

packages/cra-template-typescript/template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"@types/react": "^16.9.0",
99
"@types/react-dom": "^16.9.0",
1010
"@types/jest": "^25.0.0",
11-
"typescript": "^3.8.0"
11+
"typescript": "^3.8.0",
12+
"web-vitals": "^0.2.2"
1213
}
1314
}
1415
}

packages/cra-template/template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"dependencies": {
44
"@testing-library/jest-dom": "^5.5.0",
55
"@testing-library/react": "^10.0.4",
6-
"@testing-library/user-event": "^10.1.0"
6+
"@testing-library/user-event": "^10.1.0",
7+
"web-vitals": "^0.2.2"
78
}
89
}
910
}

packages/react-scripts/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
"terser-webpack-plugin": "3.0.2",
8080
"ts-pnp": "1.2.0",
8181
"url-loader": "4.1.0",
82-
"web-vitals": "^0.2.2",
8382
"webpack": "4.43.0",
8483
"webpack-dev-server": "3.11.0",
8584
"webpack-manifest-plugin": "2.2.0",

0 commit comments

Comments
 (0)