Skip to content

Commit 8601f89

Browse files
committed
feat: Add type-check script to package.json for shared and main packages
1 parent a6ca126 commit 8601f89

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"build": "lerna run build --stream",
1212
"test": "npm run build && lerna run test --stream",
1313
"lint": "lerna run lint --stream",
14-
"compile": "tsc --build tsconfig.base.json"
14+
"compile": "tsc --build tsconfig.base.json",
15+
"type-check": "lerna run type-check --stream"
1516
},
1617
"devDependencies": {
1718
"@jest/types": "^30.0.0",

packages/shared/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"scripts": {
99
"build": "tsup src/index.ts --dts --format esm,cjs --out-dir dist",
1010
"test": "jest",
11-
"lint": "eslint src --ext .ts --config ../../eslint.config.js"
11+
"lint": "eslint src --ext .ts --config ../../eslint.config.js",
12+
"type-check": "tsc --noEmit -p tsconfig.json"
1213
},
1314
"license": "SEE LICENSE IN LICENSE",
1415
"repository": "https://github.com/mixcore/javascript-sdk",

0 commit comments

Comments
 (0)