fix: compile types when building the library (#516)
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@
|
||||
"start": "react-scripts start",
|
||||
"desktop": "node ./desktop.mjs",
|
||||
"build": "react-scripts build",
|
||||
"build:component": "rimraf ./lib && webpack --mode=production",
|
||||
"build:component": "rimraf ./lib && webpack --mode=production && npm run compile:types",
|
||||
"compile:types": "tsc --project tsconfig.lib.json --emitDeclarationOnly --declaration",
|
||||
"test": "react-scripts test",
|
||||
"test:ui": "node ui-test/index.js",
|
||||
|
||||
Reference in New Issue
Block a user