From 05c53aa55ac3c00903ce76b128b6369ff10aebdc Mon Sep 17 00:00:00 2001 From: "Ron B. Yeh" Date: Mon, 15 Nov 2021 20:43:32 -0800 Subject: [PATCH] Move @types/offscreencanvas to regular dependencies. Fixes https://github.com/0xfe/vexflow/issues/1234 --- package-lock.json | 10 +++++----- package.json | 10 ++++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6ef6fb818d..7a1936c23f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,10 @@ "name": "vexflow", "version": "4.0.0", "license": "MIT", + "dependencies": { + "@types/offscreencanvas": "^2019.6.4" + }, "devDependencies": { - "@types/offscreencanvas": "^2019.6.4", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "canvas": "^2.8.0", @@ -220,8 +222,7 @@ "node_modules/@types/offscreencanvas": { "version": "2019.6.4", "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz", - "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==", - "dev": true + "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==" }, "node_modules/@types/raf": { "version": "3.4.0", @@ -9598,8 +9599,7 @@ "@types/offscreencanvas": { "version": "2019.6.4", "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.6.4.tgz", - "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==", - "dev": true + "integrity": "sha512-u8SAgdZ8ROtkTF+mfZGOscl0or6BSj9A4g37e6nvxDc+YB/oDut0wHkK2PBBiC2bNR8TS0CPV+1gAk4fNisr1Q==" }, "@types/raf": { "version": "3.4.0", diff --git a/package.json b/package.json index 3bf34f2925..0e6779e60d 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,10 @@ "bugs": { "url": "https://github.com/0xfe/vexflow/issues" }, + "dependencies": { + "@types/offscreencanvas": "^2019.6.4" + }, "devDependencies": { - "@types/offscreencanvas": "^2019.6.4", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "canvas": "^2.8.0", @@ -77,17 +79,17 @@ "grunt-typedoc": "^0.2.4", "grunt-webpack": "^4.0.3", "jsdom": "^18.0.0", + "jspdf": "^2.4.0", "npm": "^8.1.1", "opentype.js": "^1.3.4", "prettier": "^2.4.1", "qunit": "^2.17.2", "string-replace-loader": "^3.0.3", + "svg2pdf.js": "^2.2.0", "ts-loader": "^9.2.6", "typedoc": "^0.22.6", "typescript": "^4.5.1-rc", - "webpack": "^5.59.1", - "jspdf": "^2.4.0", - "svg2pdf.js": "^2.2.0" + "webpack": "^5.59.1" }, "scripts": { "start": "grunt stage",