Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 9e5986b

Browse files
author
Joel Poloney
committed
Try copying types into root folder during prepare script
1 parent 02b0d89 commit 9e5986b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "react-image-annotation React component",
55
"author": "Arian Allenson Valdez <[email protected]> (http://arianv.com/)",
66
"main": "lib/index.js",
7-
"types": "src/types/index.d.ts",
87
"module": "es/index.js",
98
"files": [
109
"css",
@@ -13,7 +12,7 @@
1312
"umd"
1413
],
1514
"scripts": {
16-
"prepare": "nwb build-react-component",
15+
"prepare": "nwb build-react-component && cp src/types/index.d.ts index.d.ts",
1716
"build": "nwb build-react-component",
1817
"deploy": "gh-pages -d demo/dist",
1918
"clean": "nwb clean-module && nwb clean-demo",

0 commit comments

Comments
 (0)