diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | package.json | 13 |
2 files changed, 12 insertions, 4 deletions
@@ -1 +1,2 @@ -node_modules
\ No newline at end of file +node_modules +dist
\ No newline at end of file diff --git a/package.json b/package.json index 1d81b1e..8262b34 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,15 @@ "name": "unstated-next-compose", "version": "0.0.1", "description": "Simple compose provider for unstated-next", - "main": "compose.js", - "module": "compose.js", + "main": "dist/compose.js", + "umd:main": "dist/compose.umd.js", + "module": "dist/compose.mjs", + "unpkg": "dist/compose.umd.js", + "source": "compose.js", + "scripts": { + "build": "microbundle", + "dev": "microbundle watch" + }, "repository": { "type": "git", "url": "git+https://github.com/neonxp/unstated-next-compose.git" @@ -26,4 +33,4 @@ "peerDependencies": { "react": "^16.8.6" } -}
\ No newline at end of file +} |