qureal-editor 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ require("react"),exports.QButton=function(){return h("button",null,"Qureal Button")};
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../src/index.js"],"sourcesContent":["import React from \"react\"\n\n\nfunction QButton() {\n return (\n <button>Qureal Button</button>\n )\n}\n\nexport { QButton }"],"names":["h"],"mappings":"iCAGA,WACI,OACIA,EAAA,SAAA,KAAQ,gBAEhB"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import"react";function t(){return h("button",null,"Qureal Button")}export{t as QButton};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/index.js"],"sourcesContent":["import React from \"react\"\n\n\nfunction QButton() {\n return (\n <button>Qureal Button</button>\n )\n}\n\nexport { QButton }"],"names":["QButton","h"],"mappings":"cAGA,SAASA,IACL,OACIC,EAAA,SAAA,KAAQ,gBAEhB"}
@@ -0,0 +1,2 @@
1
+ import"react";function t(){return h("button",null,"Qureal Button")}export{t as QButton};
2
+ //# sourceMappingURL=index.modern.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.modern.js","sources":["../src/index.js"],"sourcesContent":["import React from \"react\"\n\n\nfunction QButton() {\n return (\n <button>Qureal Button</button>\n )\n}\n\nexport { QButton }"],"names":["QButton","h"],"mappings":"cAGA,SAASA,IACL,OACIC,EAAA,SAAA,KAAQ,gBAEhB"}
@@ -0,0 +1,2 @@
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e||self).qurealEditor={})}(this,function(e){e.QButton=function(){return h("button",null,"Qureal Button")}});
2
+ //# sourceMappingURL=index.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.umd.js","sources":["../src/index.js"],"sourcesContent":["import React from \"react\"\n\n\nfunction QButton() {\n return (\n <button>Qureal Button</button>\n )\n}\n\nexport { QButton }"],"names":["h"],"mappings":"yQAGA,WACI,OACIA,EAAA,SAAA,KAAQ,gBAEhB"}
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "qureal-editor",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
7
+ "module": "dist/index.js",
7
8
  "scripts": {
8
- "build": "microbundle -o dist/bundle.js --no-pkg-main -f umd",
9
+ "build": "microbundle",
9
10
  "dev": "microbundle watch"
10
11
  },
11
12
  "devDependencies": {
package/src/index.js CHANGED
@@ -7,4 +7,4 @@ function QButton() {
7
7
  )
8
8
  }
9
9
 
10
- export default QButton
10
+ export { QButton }
package/dist/bundle.js DELETED
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):(e||self).qurealEditor=t()}(this,function(){return function(){return h("button",null,"Qureal Button")}});
2
- //# sourceMappingURL=bundle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle.js","sources":["../src/index.js"],"sourcesContent":["import React from \"react\"\n\n\nfunction QButton() {\n return (\n <button>Qureal Button</button>\n )\n}\n\nexport default QButton"],"names":["h"],"mappings":"gQAGA,WACI,OACIA,EAAQ,SAAA,KAAA,gBAEhB"}