Skip to content

Commit f33fa94

Browse files
committed
feat(mui): Added typings to the build.
1 parent d898843 commit f33fa94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/mui-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 Material ui component mapper form 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
"vendor": "webpack --env vendor --config ./config/webpack.config.js",
1820
"release": "semantic-release"
1921
},

0 commit comments

Comments
 (0)