Move marky to devDependency (#24258)

main
Nick Schonning 2023-03-27 10:11:45 -04:00 committed by GitHub
parent c0e87ad8ed
commit ddb769f0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ if (process.env.NODE_ENV === 'development') {
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1331135 // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1331135
performance.setResourceTimingBufferSize(Infinity); performance.setResourceTimingBufferSize(Infinity);
} }
// eslint-disable-next-line import/no-extraneous-dependencies
marky = require('marky'); marky = require('marky');
// allows us to easily do e.g. ReactPerf.printWasted() while debugging // allows us to easily do e.g. ReactPerf.printWasted() while debugging
//window.ReactPerf = require('react-addons-perf'); //window.ReactPerf = require('react-addons-perf');

View File

@ -73,7 +73,6 @@
"jsdom": "^21.1.1", "jsdom": "^21.1.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"mark-loader": "^0.1.6", "mark-loader": "^0.1.6",
"marky": "^1.2.5",
"mini-css-extract-plugin": "^1.6.2", "mini-css-extract-plugin": "^1.6.2",
"mkdirp": "^2.1.5", "mkdirp": "^2.1.5",
"npmlog": "^7.0.1", "npmlog": "^7.0.1",
@ -153,6 +152,7 @@
"jest": "^29.5.0", "jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0", "jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.1.2", "lint-staged": "^13.1.2",
"marky": "^1.2.5",
"postcss-scss": "^4.0.6", "postcss-scss": "^4.0.6",
"prettier": "^2.8.5", "prettier": "^2.8.5",
"raf": "^3.4.1", "raf": "^3.4.1",