diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-03-27 10:11:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 16:11:45 +0200 |
commit | ddb769f0b84d4bcff22472f236a4ec74c631d0a6 (patch) | |
tree | 77abfafbf2e47ac966682c16ab2ec4f59ce6994a | |
parent | c0e87ad8edae84d9363ff5bf67b0fd34ebff3eeb (diff) |
Move marky to devDependency (#24258)
-rw-r--r-- | app/javascript/mastodon/performance.js | 1 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/performance.js b/app/javascript/mastodon/performance.js index 450a90626..2b7e1bda8 100644 --- a/app/javascript/mastodon/performance.js +++ b/app/javascript/mastodon/performance.js @@ -12,6 +12,7 @@ if (process.env.NODE_ENV === 'development') { // See: https://bugzilla.mozilla.org/show_bug.cgi?id=1331135 performance.setResourceTimingBufferSize(Infinity); } + // eslint-disable-next-line import/no-extraneous-dependencies marky = require('marky'); // allows us to easily do e.g. ReactPerf.printWasted() while debugging //window.ReactPerf = require('react-addons-perf'); diff --git a/package.json b/package.json index 0851c838d..cd0ea8335 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,6 @@ "jsdom": "^21.1.1", "lodash": "^4.17.21", "mark-loader": "^0.1.6", - "marky": "^1.2.5", "mini-css-extract-plugin": "^1.6.2", "mkdirp": "^2.1.5", "npmlog": "^7.0.1", @@ -153,6 +152,7 @@ "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "lint-staged": "^13.1.2", + "marky": "^1.2.5", "postcss-scss": "^4.0.6", "prettier": "^2.8.5", "raf": "^3.4.1", |