diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-08-02 00:51:34 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-08-02 00:51:34 +0300 |
commit | 44efc9035ab693aab9d8e0bf389a8973c36bab2d (patch) | |
tree | b25ff4fc0798ac2f0e8de9ff2a35d8bfae3f10fb | |
parent | a08fd54e8be0ec30c0e095d318d59001c8e272e0 (diff) |
Fix package
-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 +} |