We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abbf6d3 commit 38f64f6Copy full SHA for 38f64f6
package.json
@@ -3,10 +3,12 @@
3
"version": "2.0.0-alpha.2",
4
"description": "React Components as Coroutines",
5
"main": "lib/Coroutine.js",
6
- "jsnext:main": "modules/Coroutine.js",
+ "module": "lib/Coroutine.module.js",
7
"scripts": {
8
"test": "jest",
9
- "prepublish": "rollup --format cjs --config rollup.config.js modules/Coroutine.js > lib/Coroutine.js"
+ "buildcjs": "rollup --format cjs --config rollup.config.js modules/Coroutine.js > lib/Coroutine.js",
10
+ "buildesm": "rollup --format es --config rollup.config.js modules/Coroutine.js > lib/Coroutine.module.js",
11
+ "prepublish": "npm run buildcjs && npm run buildesm"
12
},
13
"homepage": "https://react-coroutine.js.org/",
14
"repository": "alexeyraspopov/react-coroutine",
0 commit comments