Skip to content

Commit 111bd7a

Browse files
committed
feat(suir): added ts config
1 parent 0cf8600 commit 111bd7a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/suir-component-mapper/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@
44
"description": "Component mapper for Semantic ui react for data-driven-forms.",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
7+
"typings": "dist/cjs/index.d.ts",
78
"files": [
89
"dist/"
910
],
1011
"license": "Apache-2.0",
1112
"scripts": {
1213
"start": "webpack-dev-server --env dev --config ./config/webpack.config.js --open --hot",
13-
"build": "yarn build:cjs && yarn build:esm && yarn build:umd",
14+
"build": "yarn build:cjs && yarn build:esm && yarn build:umd && yarn build:typings",
1415
"build:cjs": "BABEL_ENV=cjs rollup -c ./rollup.config.js --format=cjs --environment FORMAT:cjs",
1516
"build:esm": "BABEL_ENV=esm rollup -c ./rollup.config.js --format=esm --environment FORMAT:esm",
1617
"build:umd": "rollup -c ./rollup.config.js --format=umd --environment FORMAT:umd",
18+
"build:typings": "node ../../scripts/copy-files.js",
1719
"release": "semantic-release"
1820
},
1921
"repository": "[email protected]:data-driven-forms/react-forms.git",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../common/tsconfig.json

0 commit comments

Comments
 (0)