Skip to content

Commit 40b1d96

Browse files
Update build process to include type declarations (#66)
* Update build process to include type declarations
1 parent e8c2bde commit 40b1d96

4 files changed

Lines changed: 168 additions & 55 deletions

File tree

package-lock.json

Lines changed: 141 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frames-react",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"main": "dist/cjs/index.js",
55
"scripts": {
66
"build": "rollup -c",
@@ -14,6 +14,7 @@
1414
"classnames": "^2.5.1",
1515
"react": "^17.0.0 || ^18.0.0",
1616
"react-dom": "^17.0.0 || ^18.0.0",
17+
"rollup-plugin-typescript2": "^0.36.0",
1718
"tslib": "^2.8.1"
1819
},
1920
"devDependencies": {
@@ -39,7 +40,7 @@
3940
"react-dom": "^17.0.0 || ^18.0.0"
4041
},
4142
"module": "dist/esm/index.js",
42-
"types": "dist/index.d.ts",
43+
"types": "dist/types/index.d.ts",
4344
"files": [
4445
"dist"
4546
]

0 commit comments

Comments
 (0)