@plasmicpkgs/plasmic-mailchimp 0.0.1

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Latipov Abdukhamid
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ Plasmic components and registration calls for Mailchimp
@@ -0,0 +1,7 @@
1
+ import registerComponent from "@plasmicapp/host/registerComponent";
2
+ import registerGlobalContext from "@plasmicapp/host/registerGlobalContext";
3
+ export declare function registerAll(loader?: {
4
+ registerComponent: typeof registerComponent;
5
+ registerGlobalContext: typeof registerGlobalContext;
6
+ }): void;
7
+ export * from "./mailchimp";
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+ 'use strict'
3
+
4
+ if (process.env.NODE_ENV === 'production') {
5
+ module.exports = require('./plasmic-mailchimp.cjs.production.min.js')
6
+ } else {
7
+ module.exports = require('./plasmic-mailchimp.cjs.development.js')
8
+ }
@@ -0,0 +1,10 @@
1
+ import { ComponentMeta } from "@plasmicapp/host";
2
+ import React from "react";
3
+ export declare function ensure<T>(x: T | null | undefined): T;
4
+ interface MailchimpSignupFormProps {
5
+ className?: string;
6
+ url?: string;
7
+ }
8
+ export declare const MailchimpSignupFormMeta: ComponentMeta<MailchimpSignupFormProps>;
9
+ export declare function MailchimpSignupForm({ className, url, }: MailchimpSignupFormProps): React.JSX.Element;
10
+ export {};
@@ -0,0 +1,71 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
6
+
7
+ var registerComponent = _interopDefault(require('@plasmicapp/host/registerComponent'));
8
+ var React = _interopDefault(require('react'));
9
+
10
+ function ensure(x) {
11
+ if (x === null || x === undefined) {
12
+ debugger;
13
+ throw new Error("Value must not be undefined or null");
14
+ } else {
15
+ return x;
16
+ }
17
+ }
18
+ var modulePath = "@plasmicpkgs/plasmic-mailchimp";
19
+ var MailchimpSignupFormMeta = {
20
+ name: "MailchimpSignupForm",
21
+ displayName: "Mailchimp Signup Form",
22
+ importName: "MailchimpSignupForm",
23
+ importPath: modulePath,
24
+ providesData: true,
25
+ description: "Shows a sign up form to users for subscribe to your newsletter",
26
+ props: {
27
+ url: {
28
+ type: "string",
29
+ displayName: "URL",
30
+ description: "Learn how to get your form url (\"https://mailchimp.com/help/host-your-own-signup-forms/\")",
31
+ defaultValue: "http://eepurl.com/ic43yL",
32
+ helpText: 'You can learn how.(https://mailchimp.com/help/share-your-signup-form/)'
33
+ }
34
+ }
35
+ };
36
+ function MailchimpSignupForm(_ref) {
37
+ var className = _ref.className,
38
+ url = _ref.url;
39
+ if (!url) {
40
+ return React.createElement("div", null, "Please specify URL");
41
+ }
42
+ return React.createElement("iframe", {
43
+ src: url,
44
+ width: "100%",
45
+ frameBorder: "0",
46
+ marginHeight: 0,
47
+ scrolling: "no",
48
+ marginWidth: 0,
49
+ height: "600px",
50
+ className: className
51
+ });
52
+ }
53
+
54
+ function registerAll(loader) {
55
+ var _registerComponent = function _registerComponent(Component, defaultMeta) {
56
+ if (loader) {
57
+ loader.registerComponent(Component, defaultMeta);
58
+ } else {
59
+ registerComponent(Component, defaultMeta);
60
+ }
61
+ };
62
+ if (loader) {
63
+ _registerComponent(MailchimpSignupForm, MailchimpSignupFormMeta);
64
+ }
65
+ }
66
+
67
+ exports.MailchimpSignupForm = MailchimpSignupForm;
68
+ exports.MailchimpSignupFormMeta = MailchimpSignupFormMeta;
69
+ exports.ensure = ensure;
70
+ exports.registerAll = registerAll;
71
+ //# sourceMappingURL=plasmic-mailchimp.cjs.development.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plasmic-mailchimp.cjs.development.js","sources":["../src/mailchimp.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-mailchimp\";\n\ninterface MailchimpSignupFormProps {\n className?: string;\n url?: string;\n}\n\nexport const MailchimpSignupFormMeta: ComponentMeta<MailchimpSignupFormProps> =\n{\n name: \"MailchimpSignupForm\",\n displayName: \"Mailchimp Signup Form\",\n importName: \"MailchimpSignupForm\",\n importPath: modulePath,\n providesData: true,\n description:\n \"Shows a sign up form to users for subscribe to your newsletter\",\n props: {\n url: {\n type: \"string\",\n displayName: \"URL\",\n description: `Learn how to get your form url (\"https://mailchimp.com/help/host-your-own-signup-forms/\")`,\n defaultValue: \"http://eepurl.com/ic43yL\",\n helpText:'You can learn how.(https://mailchimp.com/help/share-your-signup-form/)'\n \n },\n },\n};\n\nexport function MailchimpSignupForm({\n className,\n url,\n}: MailchimpSignupFormProps) {\n if (!url) {\n return <div>Please specify URL</div>;\n }\n\n return (\n <iframe\n src={url}\n width=\"100%\"\n frameBorder=\"0\"\n marginHeight={0}\n scrolling=\"no\"\n marginWidth={0}\n height=\"600px\"\n className={className}\n />\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n\n MailchimpSignupForm,\n MailchimpSignupFormMeta,\n} from \"./mailchimp\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(MailchimpSignupForm, MailchimpSignupFormMeta);\n }\n}\nexport * from \"./mailchimp\";"],"names":["ensure","x","undefined","Error","modulePath","MailchimpSignupFormMeta","name","displayName","importName","importPath","providesData","description","props","url","type","defaultValue","helpText","MailchimpSignupForm","className","React","src","width","frameBorder","marginHeight","scrolling","marginWidth","height","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;;;;;;;SAIgBA,MAAM,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,uCAAuC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,gCAAgC;IAOtCC,uBAAuB,GACpC;EACEC,IAAI,EAAE,qBAAqB;EAC3BC,WAAW,EAAE,uBAAuB;EACpCC,UAAU,EAAE,qBAAqB;EACjCC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,WAAW,EACT,gEAAgE;EAClEC,KAAK,EAAE;IACLC,GAAG,EAAE;MACHC,IAAI,EAAE,QAAQ;MACdP,WAAW,EAAE,KAAK;MAClBI,WAAW,+FAA6F;MACxGI,YAAY,EAAE,0BAA0B;MACxCC,QAAQ,EAAC;;;;SAMCC,mBAAmB;MACjCC,SAAS,QAATA,SAAS;IACTL,GAAG,QAAHA,GAAG;EAEH,IAAI,CAACA,GAAG,EAAE;IACR,OAAOM,sDAA6B;;EAGtC,OACEA;IACEC,GAAG,EAAEP,GAAG;IACRQ,KAAK,EAAC,MAAM;IACZC,WAAW,EAAC,GAAG;IACfC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAC,IAAI;IACdC,WAAW,EAAE,CAAC;IACdC,MAAM,EAAC,OAAO;IACdR,SAAS,EAAEA;IACX;AAEN;;SClDgBS,WAAW,CAACC,MAG3B;EACC,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB,CACtBC,SAAY,EACZC,WAAmD;IAEnD,IAAIH,MAAM,EAAE;MACVA,MAAM,CAACI,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;KACjD,MAAM;MACLC,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;;GAE5C;EAED,IAAIH,MAAM,EAAE;IACVC,kBAAkB,CAACZ,mBAAmB,EAAEZ,uBAAuB,CAAC;;AAEpE;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("@plasmicapp/host/registerComponent")),i=e(require("react")),t={name:"MailchimpSignupForm",displayName:"Mailchimp Signup Form",importName:"MailchimpSignupForm",importPath:"@plasmicpkgs/plasmic-mailchimp",providesData:!0,description:"Shows a sign up form to users for subscribe to your newsletter",props:{url:{type:"string",displayName:"URL",description:'Learn how to get your form url ("https://mailchimp.com/help/host-your-own-signup-forms/")',defaultValue:"http://eepurl.com/ic43yL",helpText:"You can learn how.(https://mailchimp.com/help/share-your-signup-form/)"}}};function o(e){var r=e.url;return r?i.createElement("iframe",{src:r,width:"100%",frameBorder:"0",marginHeight:0,scrolling:"no",marginWidth:0,height:"600px",className:e.className}):i.createElement("div",null,"Please specify URL")}exports.MailchimpSignupForm=o,exports.MailchimpSignupFormMeta=t,exports.ensure=function(e){if(null==e)throw new Error("Value must not be undefined or null");return e},exports.registerAll=function(e){var i,p;e&&(i=o,p=t,e?e.registerComponent(i,p):r(i,p))};
2
+ //# sourceMappingURL=plasmic-mailchimp.cjs.production.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plasmic-mailchimp.cjs.production.min.js","sources":["../src/mailchimp.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-mailchimp\";\n\ninterface MailchimpSignupFormProps {\n className?: string;\n url?: string;\n}\n\nexport const MailchimpSignupFormMeta: ComponentMeta<MailchimpSignupFormProps> =\n{\n name: \"MailchimpSignupForm\",\n displayName: \"Mailchimp Signup Form\",\n importName: \"MailchimpSignupForm\",\n importPath: modulePath,\n providesData: true,\n description:\n \"Shows a sign up form to users for subscribe to your newsletter\",\n props: {\n url: {\n type: \"string\",\n displayName: \"URL\",\n description: `Learn how to get your form url (\"https://mailchimp.com/help/host-your-own-signup-forms/\")`,\n defaultValue: \"http://eepurl.com/ic43yL\",\n helpText:'You can learn how.(https://mailchimp.com/help/share-your-signup-form/)'\n \n },\n },\n};\n\nexport function MailchimpSignupForm({\n className,\n url,\n}: MailchimpSignupFormProps) {\n if (!url) {\n return <div>Please specify URL</div>;\n }\n\n return (\n <iframe\n src={url}\n width=\"100%\"\n frameBorder=\"0\"\n marginHeight={0}\n scrolling=\"no\"\n marginWidth={0}\n height=\"600px\"\n className={className}\n />\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n\n MailchimpSignupForm,\n MailchimpSignupFormMeta,\n} from \"./mailchimp\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(MailchimpSignupForm, MailchimpSignupFormMeta);\n }\n}\nexport * from \"./mailchimp\";"],"names":["MailchimpSignupFormMeta","name","displayName","importName","importPath","providesData","description","props","url","type","defaultValue","helpText","MailchimpSignupForm","React","src","width","frameBorder","marginHeight","scrolling","marginWidth","height","className","x","Error","loader","Component","defaultMeta","registerComponent"],"mappings":"uNAoBaA,EACb,CACEC,KAAM,sBACNC,YAAa,wBACbC,WAAY,sBACZC,WAZiB,iCAajBC,cAAc,EACdC,YACE,iEACFC,MAAO,CACLC,IAAK,CACHC,KAAM,SACNP,YAAa,MACbI,wGACAI,aAAc,2BACdC,SAAS,qFAMCC,SAEdJ,IAAAA,IAEA,OAAKA,EAKHK,0BACEC,IAAKN,EACLO,MAAM,OACNC,YAAY,IACZC,aAAc,EACdC,UAAU,KACVC,YAAa,EACbC,OAAO,QACPC,YAhBJA,YAISR,yIA1CeS,GACxB,GAAIA,MAAAA,EAEF,MAAM,IAAIC,6CAEV,OAAOD,gCCEiBE,GAI1B,IACEC,EACAC,EASEF,IAVFC,EAWmBb,EAVnBc,EAUwC1B,EARpCwB,EACFA,EAAOG,kBAAkBF,EAAWC,GAEpCC,EAAkBF,EAAWC"}
@@ -0,0 +1,62 @@
1
+ import registerComponent from '@plasmicapp/host/registerComponent';
2
+ import React from 'react';
3
+
4
+ function ensure(x) {
5
+ if (x === null || x === undefined) {
6
+ debugger;
7
+ throw new Error("Value must not be undefined or null");
8
+ } else {
9
+ return x;
10
+ }
11
+ }
12
+ var modulePath = "@plasmicpkgs/plasmic-mailchimp";
13
+ var MailchimpSignupFormMeta = {
14
+ name: "MailchimpSignupForm",
15
+ displayName: "Mailchimp Signup Form",
16
+ importName: "MailchimpSignupForm",
17
+ importPath: modulePath,
18
+ providesData: true,
19
+ description: "Shows a sign up form to users for subscribe to your newsletter",
20
+ props: {
21
+ url: {
22
+ type: "string",
23
+ displayName: "URL",
24
+ description: "Learn how to get your form url (\"https://mailchimp.com/help/host-your-own-signup-forms/\")",
25
+ defaultValue: "http://eepurl.com/ic43yL",
26
+ helpText: 'You can learn how.(https://mailchimp.com/help/share-your-signup-form/)'
27
+ }
28
+ }
29
+ };
30
+ function MailchimpSignupForm(_ref) {
31
+ var className = _ref.className,
32
+ url = _ref.url;
33
+ if (!url) {
34
+ return React.createElement("div", null, "Please specify URL");
35
+ }
36
+ return React.createElement("iframe", {
37
+ src: url,
38
+ width: "100%",
39
+ frameBorder: "0",
40
+ marginHeight: 0,
41
+ scrolling: "no",
42
+ marginWidth: 0,
43
+ height: "600px",
44
+ className: className
45
+ });
46
+ }
47
+
48
+ function registerAll(loader) {
49
+ var _registerComponent = function _registerComponent(Component, defaultMeta) {
50
+ if (loader) {
51
+ loader.registerComponent(Component, defaultMeta);
52
+ } else {
53
+ registerComponent(Component, defaultMeta);
54
+ }
55
+ };
56
+ if (loader) {
57
+ _registerComponent(MailchimpSignupForm, MailchimpSignupFormMeta);
58
+ }
59
+ }
60
+
61
+ export { MailchimpSignupForm, MailchimpSignupFormMeta, ensure, registerAll };
62
+ //# sourceMappingURL=plasmic-mailchimp.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plasmic-mailchimp.esm.js","sources":["../src/mailchimp.tsx","../src/index.tsx"],"sourcesContent":["import { ComponentMeta } from \"@plasmicapp/host\";\n\nimport React from \"react\";\n\nexport function ensure<T>(x: T | null | undefined): T {\n if (x === null || x === undefined) {\n debugger;\n throw new Error(`Value must not be undefined or null`);\n } else {\n return x;\n }\n}\n\nconst modulePath = \"@plasmicpkgs/plasmic-mailchimp\";\n\ninterface MailchimpSignupFormProps {\n className?: string;\n url?: string;\n}\n\nexport const MailchimpSignupFormMeta: ComponentMeta<MailchimpSignupFormProps> =\n{\n name: \"MailchimpSignupForm\",\n displayName: \"Mailchimp Signup Form\",\n importName: \"MailchimpSignupForm\",\n importPath: modulePath,\n providesData: true,\n description:\n \"Shows a sign up form to users for subscribe to your newsletter\",\n props: {\n url: {\n type: \"string\",\n displayName: \"URL\",\n description: `Learn how to get your form url (\"https://mailchimp.com/help/host-your-own-signup-forms/\")`,\n defaultValue: \"http://eepurl.com/ic43yL\",\n helpText:'You can learn how.(https://mailchimp.com/help/share-your-signup-form/)'\n \n },\n },\n};\n\nexport function MailchimpSignupForm({\n className,\n url,\n}: MailchimpSignupFormProps) {\n if (!url) {\n return <div>Please specify URL</div>;\n }\n\n return (\n <iframe\n src={url}\n width=\"100%\"\n frameBorder=\"0\"\n marginHeight={0}\n scrolling=\"no\"\n marginWidth={0}\n height=\"600px\"\n className={className}\n />\n );\n}\n","import registerComponent, {\n ComponentMeta,\n} from \"@plasmicapp/host/registerComponent\";\nimport registerGlobalContext from \"@plasmicapp/host/registerGlobalContext\";\nimport {\n\n MailchimpSignupForm,\n MailchimpSignupFormMeta,\n} from \"./mailchimp\";\n\n\nexport function registerAll(loader?: {\n registerComponent: typeof registerComponent;\n registerGlobalContext: typeof registerGlobalContext;\n}) {\n const _registerComponent = <T extends React.ComponentType<any>>(\n Component: T,\n defaultMeta: ComponentMeta<React.ComponentProps<T>>\n ) => {\n if (loader) {\n loader.registerComponent(Component, defaultMeta);\n } else {\n registerComponent(Component, defaultMeta);\n }\n };\n\n if (loader) {\n _registerComponent(MailchimpSignupForm, MailchimpSignupFormMeta);\n }\n}\nexport * from \"./mailchimp\";"],"names":["ensure","x","undefined","Error","modulePath","MailchimpSignupFormMeta","name","displayName","importName","importPath","providesData","description","props","url","type","defaultValue","helpText","MailchimpSignupForm","className","React","src","width","frameBorder","marginHeight","scrolling","marginWidth","height","registerAll","loader","_registerComponent","Component","defaultMeta","registerComponent"],"mappings":";;;SAIgBA,MAAM,CAAIC,CAAuB;EAC/C,IAAIA,CAAC,KAAK,IAAI,IAAIA,CAAC,KAAKC,SAAS,EAAE;IACjC;IACA,MAAM,IAAIC,KAAK,uCAAuC;GACvD,MAAM;IACL,OAAOF,CAAC;;AAEZ;AAEA,IAAMG,UAAU,GAAG,gCAAgC;IAOtCC,uBAAuB,GACpC;EACEC,IAAI,EAAE,qBAAqB;EAC3BC,WAAW,EAAE,uBAAuB;EACpCC,UAAU,EAAE,qBAAqB;EACjCC,UAAU,EAAEL,UAAU;EACtBM,YAAY,EAAE,IAAI;EAClBC,WAAW,EACT,gEAAgE;EAClEC,KAAK,EAAE;IACLC,GAAG,EAAE;MACHC,IAAI,EAAE,QAAQ;MACdP,WAAW,EAAE,KAAK;MAClBI,WAAW,+FAA6F;MACxGI,YAAY,EAAE,0BAA0B;MACxCC,QAAQ,EAAC;;;;SAMCC,mBAAmB;MACjCC,SAAS,QAATA,SAAS;IACTL,GAAG,QAAHA,GAAG;EAEH,IAAI,CAACA,GAAG,EAAE;IACR,OAAOM,sDAA6B;;EAGtC,OACEA;IACEC,GAAG,EAAEP,GAAG;IACRQ,KAAK,EAAC,MAAM;IACZC,WAAW,EAAC,GAAG;IACfC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAC,IAAI;IACdC,WAAW,EAAE,CAAC;IACdC,MAAM,EAAC,OAAO;IACdR,SAAS,EAAEA;IACX;AAEN;;SClDgBS,WAAW,CAACC,MAG3B;EACC,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB,CACtBC,SAAY,EACZC,WAAmD;IAEnD,IAAIH,MAAM,EAAE;MACVA,MAAM,CAACI,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;KACjD,MAAM;MACLC,iBAAiB,CAACF,SAAS,EAAEC,WAAW,CAAC;;GAE5C;EAED,IAAIH,MAAM,EAAE;IACVC,kBAAkB,CAACZ,mBAAmB,EAAEZ,uBAAuB,CAAC;;AAEpE;;;;"}
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@plasmicpkgs/plasmic-mailchimp",
3
+ "version": "0.0.1",
4
+ "description": "Plasmic Mailchimp components.",
5
+ "main": "dist/index.js",
6
+ "typings": "dist/index.d.ts",
7
+ "module": "dist/plasmic-mailchimp.esm.js",
8
+ "publishConfig": {
9
+ "access": "public"
10
+ },
11
+ "files": [
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "start": "tsdx watch",
16
+ "build": "tsdx build",
17
+ "test": "yarn --cwd=../.. test --passWithNoTests",
18
+ "lint": "tsdx lint",
19
+ "prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
20
+ "size": "size-limit",
21
+ "analyze": "size-limit --why"
22
+ },
23
+ "peerDependencies": {
24
+ "react": ">=16"
25
+ },
26
+ "size-limit": [
27
+ {
28
+ "path": "dist/plasmic-mailchimp.cjs.production.min.js",
29
+ "limit": "10 KB"
30
+ },
31
+ {
32
+ "path": "dist/plasmic-mailchimp.esm.js",
33
+ "limit": "10 KB"
34
+ }
35
+ ],
36
+ "devDependencies": {
37
+ "@plasmicapp/host": "^1.0.117",
38
+ "@plasmicapp/query": "^0.1.61",
39
+ "@size-limit/preset-small-lib": "^7.0.8",
40
+ "@types/react": "^17.0.43",
41
+ "@types/react-dom": "^17.0.14",
42
+ "husky": "^7.0.4",
43
+ "react": "^18.0.0",
44
+ "react-dom": "^18.0.0",
45
+ "size-limit": "^7.0.8",
46
+ "tsdx": "^0.14.1",
47
+ "tslib": "^2.3.1"
48
+ },
49
+ "gitHead": "6a7364c3fd0b59099a5869f3e99f13b51a391d0a"
50
+ }