@comet/brevo-admin 1.0.0

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,24 @@
1
+ BSD 2-Clause License
2
+
3
+ Copyright (c) 2023, Vivid Planet Software GmbH
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const BrevoContactsPage: () => JSX.Element;
3
+ //# sourceMappingURL=BrevoContactsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrevoContactsPage.d.ts","sourceRoot":"","sources":["../../src/brevoContacts/BrevoContactsPage.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,iBAAiB,QAAO,WAOpC,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.BrevoContactsPage = void 0;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
10
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
11
+ var BrevoContactsPage = exports.BrevoContactsPage = function BrevoContactsPage() {
12
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h1", null, "Brevo Contacts"));
13
+ };
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { BrevoContactsPage } from "./brevoContacts/BrevoContactsPage";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC"}
package/lib/index.js ADDED
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "BrevoContactsPage", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _BrevoContactsPage.BrevoContactsPage;
10
+ }
11
+ });
12
+ var _BrevoContactsPage = require("./brevoContacts/BrevoContactsPage");
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@comet/brevo-admin",
3
+ "version": "1.0.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/vivid-planet/comet-brevo-module/",
7
+ "directory": "packages/api/"
8
+ },
9
+ "license": "BSD-2-Clause",
10
+ "main": "lib/index.js",
11
+ "types": "lib/index.d.ts",
12
+ "files": [
13
+ "lib"
14
+ ],
15
+ "peerDependencies": {
16
+ "react": "^17.0",
17
+ "react-dom": "^17.0",
18
+ "react-intl": "^5.24.6"
19
+ },
20
+ "dependencies": {},
21
+ "devDependencies": {
22
+ "@babel/cli": "^7.17.6",
23
+ "@babel/core": "^7.20.12",
24
+ "@comet/admin-babel-preset": "^5.3.0",
25
+ "@comet/eslint-config": "^5.3.0",
26
+ "@types/react": "^17.0",
27
+ "@types/react-dom": "^17.0.0",
28
+ "eslint": "^8.0.0",
29
+ "prettier": "^2.0.0",
30
+ "react": "^17.0",
31
+ "react-dom": "^17.0",
32
+ "react-intl": "^5.24.6",
33
+ "rimraf": "^3.0.2",
34
+ "typescript": "^4.0.0"
35
+ },
36
+ "publishConfig": {
37
+ "access": "public",
38
+ "registry": "https://registry.npmjs.org"
39
+ },
40
+ "scripts": {
41
+ "build": "$npm_execpath run clean && run-p build:babel build:types",
42
+ "build:babel": "npx babel ./src -x \".ts,.tsx\" -d lib",
43
+ "build:types": "tsc --project ./tsconfig.json --emitDeclarationOnly",
44
+ "clean": "rimraf lib",
45
+ "lint": "run-p lint:eslint lint:tsc",
46
+ "lint:eslint": "eslint --max-warnings 0 src/ package.json",
47
+ "lint:tsc": "tsc --noEmit",
48
+ "start": "run-p start:babel start:types",
49
+ "start:babel": "npx babel ./src -x \".ts,.tsx\" -d lib -w",
50
+ "start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
51
+ }
52
+ }