mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-09 03:22:49 +00:00
cleanup
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
|
||||||
"minify-icons": "ts-node-esm tools/minify-icon-font.ts",
|
"minify-icons": "ts-node-esm src/tools/minify-icon-font.ts",
|
||||||
"lint": "prettier --plugin-search-dir . --check .",
|
"lint": "prettier --plugin-search-dir . --check .",
|
||||||
"format": "prettier --plugin-search-dir . --write ."
|
"format": "prettier --plugin-search-dir . --write ."
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
// @ts-expect-error missing types
|
// @ts-expect-error missing types
|
||||||
import {openSync} from "fontkit"
|
import {openSync} from "fontkit"
|
||||||
import {exec} from "child_process"
|
import {exec} from "child_process"
|
||||||
import config from "../../icons.config"
|
import config from "../../icons.config.js"
|
||||||
import {statSync, existsSync} from "fs"
|
import {statSync, existsSync} from "fs"
|
||||||
|
|
||||||
async function run(command: string[] | string): Promise<string> {
|
async function run(command: string[] | string): Promise<string> {
|
||||||
|
|||||||
Reference in New Issue
Block a user