Skip to content

Commit 63f951a

Browse files
authored
Add types generation to utils build (#44)
1 parent caba5d3 commit 63f951a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/utils/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"build-dev": "cross-env NODE_ENV=development run-s clean build-steps",
2020
"build-steps": "run-p build:*",
2121
"babel": "babel ./src --out-dir ./dist --extensions \".ts,.tsx,.js,.jsx\" --source-maps --root-mode upward",
22+
"types": "tsc",
2223
"build:babel": "npm run babel",
24+
"build:types": "npm run types -- --incremental",
2325
"watch": "run-p watch:*",
2426
"watch:babel": "npm run babel -- -w --skip-initial-build",
27+
"watch:types": "npm run types -- -w --incremental --preserveWatchOutput",
2528
"clean": "rimraf ./dist tsconfig.tsbuildinfo",
2629
"prestart": "npm run build-dev",
2730
"start": "cross-env NODE_ENV=development npm run watch",
@@ -41,7 +44,8 @@
4144
"jest": "26.6.0",
4245
"npm-run-all": "^4.1.5",
4346
"rimraf": "^3.0.2",
44-
"ts-jest": "^26.5.3"
47+
"ts-jest": "^26.5.3",
48+
"typescript": "^4.2.3"
4549
},
4650
"files": [
4751
"dist"

0 commit comments

Comments
 (0)