From ef811c54bbb50ac3366fd10f19374dc2b7262d5f Mon Sep 17 00:00:00 2001 From: "Lu[ke] Wilson" Date: Mon, 30 Dec 2024 10:54:26 +0000 Subject: [PATCH] add "npm run check" --- package.json | 3 ++- packages/web/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0ee2f2be..1f7f2861 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "url": "git+https://github.com/munshkr/flok.git" }, "scripts": { - "build": "lerna run build" + "build": "lerna run build", + "check": "lerna run check" }, "keywords": [ "codemirror", diff --git a/packages/web/package.json b/packages/web/package.json index d26dc092..d4411ff0 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -18,7 +18,8 @@ "dev": "cross-env NODE_ENV=development node ./bin/flok-web.js", "prebuild": "node script/prebuild.js", "build": "npm run prebuild && tsc && vite build", - "start": "node ./bin/flok-web.js" + "start": "node ./bin/flok-web.js", + "check": "tsc --noEmit" }, "dependencies": { "@flok-editor/server-middleware": "^1.0.1",