@decafhub/decaf-react-webapp 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/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ ## 0.0.1 (2022-11-24)
4
+
5
+
6
+ ### Features
7
+
8
+ * implement DecafWebapp component ([376e553](https://github.com/teloscube/decaf-react-webapp/commit/376e5534f440ea1079fa6fa761efce417d9494d1))
9
+
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * release 0.0.1 ([6ada44d](https://github.com/teloscube/decaf-react-webapp/commit/6ada44d54f1a647ed0e5f818f28bbef63ba1727b))
package/LICENSE ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2021, Teloscube Pte Ltd
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @decafhub/decaf-react-webapp
2
+
3
+ [![NPM](https://img.shields.io/npm/v/@decafhub/decaf-react-webapp.svg)](https://www.npmjs.com/package/@decafhub/decaf-react-webapp)
4
+ [![npm](https://img.shields.io/npm/dm/@decafhub/decaf-react-webapp.svg)](https://www.npmjs.com/package/@decafhub/decaf-react-webapp)
5
+ ![GitHub](https://img.shields.io/github/license/teloscube/decaf-react-webapp)
6
+
7
+ ## Install
8
+
9
+ Install @decafhub/decaf-react-webapp along with its peer dependencies:
10
+
11
+ ```bash:
12
+ npm install --save @decafhub/decaf-react-webapp @decafhub/decaf-react@^0.1 @decafhub/decaf-client@^0.3 antd@^5 react@^18 react-dom@^18
13
+ ```
14
+
15
+ Or with yarn:
16
+
17
+ ```bash
18
+ yarn add @decafhub/decaf-react-webapp @decafhub/decaf-react@^0.1 @decafhub/decaf-client@^0.3 antd@^5 react@^18 react-dom@^18
19
+ ```
20
+
21
+ ## Development
22
+
23
+ 1. Clone the repository.
24
+ 2. Install dependencies with `yarn`.
25
+ 3. Run `yarn start` to start the development server.
26
+ 4. cd into `example` and run `yarn install` and `yarn start` to start the example application.
27
+ 5. cd into `example` and run `yarn caddy` to start Caddy server.
28
+ 6. Open http://localhost:2999/webapps/react-webapp-example/development/ in your browser.
@@ -0,0 +1,11 @@
1
+ import { DecafAppController, DecafAppConfig } from '@decafhub/decaf-react';
2
+ import { ThemeConfig } from 'antd/es/config-provider/context';
3
+ import React from 'react';
4
+ export interface DecafWebappProps {
5
+ config?: DecafAppConfig;
6
+ controller?: DecafAppController;
7
+ theme?: ThemeConfig;
8
+ children: React.ReactNode;
9
+ }
10
+ export default function DecafWebapp(props: DecafWebappProps): JSX.Element;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAY,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,eAM1D"}
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ var e=require("@decafhub/decaf-react"),r=require("antd");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=/*#__PURE__*/o(require("react")),c={hashed:!0,token:{colorPrimary:"#344961",colorBgBase:"#10161d",colorBgLayout:"#10161d",borderRadius:0,colorError:"#b03a38",colorSuccess:"#48734d",colorWarning:"#ffc107",colorInfo:"#4694ab",green:"#48734d",red:"#b03a38",blue:"#0d6efd",yellow:"#ffc107",colorWhite:"#fff"},algorithm:[r.theme.darkAlgorithm]};module.exports=function(o){var l;return t.default.createElement(e.DecafApp,{config:o.config,controller:o.controller},t.default.createElement(r.ConfigProvider,{theme:null!=(l=o.theme)?l:c},o.children))};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../src/theme.ts","../src/index.tsx"],"sourcesContent":["import { theme } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\n\nexport const decafTheme: ThemeConfig = {\n hashed: true,\n token: {\n colorPrimary: '#344961',\n colorBgBase: '#10161d',\n colorBgLayout: '#10161d',\n borderRadius: 0,\n colorError: '#b03a38',\n colorSuccess: '#48734d',\n colorWarning: '#ffc107',\n colorInfo: '#4694ab',\n green: '#48734d',\n red: '#b03a38',\n blue: '#0d6efd',\n yellow: '#ffc107',\n colorWhite: '#fff',\n },\n\n algorithm: [theme.darkAlgorithm],\n};\n","import { DecafAppController, DecafApp, DecafAppConfig } from '@decafhub/decaf-react';\nimport { ConfigProvider } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\nimport React from 'react';\nimport { decafTheme } from 'theme';\n\nexport interface DecafWebappProps {\n config?: DecafAppConfig;\n controller?: DecafAppController;\n theme?: ThemeConfig;\n children: React.ReactNode;\n}\n\nexport default function DecafWebapp(props: DecafWebappProps) {\n return (\n <DecafApp config={props.config} controller={props.controller}>\n <ConfigProvider theme={props.theme ?? decafTheme}>{props.children}</ConfigProvider>\n </DecafApp>\n );\n}\n"],"names":["decafTheme","hashed","token","colorPrimary","colorBgBase","colorBgLayout","borderRadius","colorError","colorSuccess","colorWarning","colorInfo","green","red","blue","yellow","colorWhite","algorithm","theme","darkAlgorithm","props","_props$theme","React","createElement","DecafApp","config","controller","ConfigProvider","children"],"mappings":"wKAGuBA,EAAgB,CACrCC,QAAQ,EACRC,MAAO,CACLC,aAAc,UACdC,YAAa,UACbC,cAAe,UACfC,aAAc,EACdC,WAAY,UACZC,aAAc,UACdC,aAAc,UACdC,UAAW,UACXC,MAAO,UACPC,IAAK,UACLC,KAAM,UACNC,OAAQ,UACRC,WAAY,QAGdC,UAAW,CAACC,EAAAA,MAAMC,+BCRI,SAAYC,GAAuB,IAAAC,EACzD,OACEC,EAAA,QAAAC,cAACC,WAAQ,CAACC,OAAQL,EAAMK,OAAQC,WAAYN,EAAMM,YAChDJ,EAAA,QAAAC,cAACI,EAAcA,eAAC,CAAAT,MAAkB,OAAXE,EAAAA,EAAMF,OAAKG,EAAIpB,GAAamB,EAAMQ,UAG/D"}
@@ -0,0 +1,2 @@
1
+ import{DecafApp as r}from"@decafhub/decaf-react";import{theme as o,ConfigProvider as e}from"antd";import c from"react";const t={hashed:!0,token:{colorPrimary:"#344961",colorBgBase:"#10161d",colorBgLayout:"#10161d",borderRadius:0,colorError:"#b03a38",colorSuccess:"#48734d",colorWarning:"#ffc107",colorInfo:"#4694ab",green:"#48734d",red:"#b03a38",blue:"#0d6efd",yellow:"#ffc107",colorWhite:"#fff"},algorithm:[o.darkAlgorithm]};function l(o){var l;return c.createElement(r,{config:o.config,controller:o.controller},c.createElement(e,{theme:null!=(l=o.theme)?l:t},o.children))}export{l as default};
2
+ //# sourceMappingURL=index.modern.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.modern.mjs","sources":["../src/theme.ts","../src/index.tsx"],"sourcesContent":["import { theme } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\n\nexport const decafTheme: ThemeConfig = {\n hashed: true,\n token: {\n colorPrimary: '#344961',\n colorBgBase: '#10161d',\n colorBgLayout: '#10161d',\n borderRadius: 0,\n colorError: '#b03a38',\n colorSuccess: '#48734d',\n colorWarning: '#ffc107',\n colorInfo: '#4694ab',\n green: '#48734d',\n red: '#b03a38',\n blue: '#0d6efd',\n yellow: '#ffc107',\n colorWhite: '#fff',\n },\n\n algorithm: [theme.darkAlgorithm],\n};\n","import { DecafAppController, DecafApp, DecafAppConfig } from '@decafhub/decaf-react';\nimport { ConfigProvider } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\nimport React from 'react';\nimport { decafTheme } from 'theme';\n\nexport interface DecafWebappProps {\n config?: DecafAppConfig;\n controller?: DecafAppController;\n theme?: ThemeConfig;\n children: React.ReactNode;\n}\n\nexport default function DecafWebapp(props: DecafWebappProps) {\n return (\n <DecafApp config={props.config} controller={props.controller}>\n <ConfigProvider theme={props.theme ?? decafTheme}>{props.children}</ConfigProvider>\n </DecafApp>\n );\n}\n"],"names":["decafTheme","hashed","token","colorPrimary","colorBgBase","colorBgLayout","borderRadius","colorError","colorSuccess","colorWarning","colorInfo","green","red","blue","yellow","colorWhite","algorithm","theme","darkAlgorithm","props","_props$theme","React","createElement","DecafApp","config","controller","ConfigProvider","children"],"mappings":"6HAGuBA,EAAgB,CACrCC,QAAQ,EACRC,MAAO,CACLC,aAAc,UACdC,YAAa,UACbC,cAAe,UACfC,aAAc,EACdC,WAAY,UACZC,aAAc,UACdC,aAAc,UACdC,UAAW,UACXC,MAAO,UACPC,IAAK,UACLC,KAAM,UACNC,OAAQ,UACRC,WAAY,QAGdC,UAAW,CAACC,EAAMC,gBCRI,WAAYC,GAAuB,IAAAC,EACzD,OACEC,EAAAC,cAACC,EAAQ,CAACC,OAAQL,EAAMK,OAAQC,WAAYN,EAAMM,YAChDJ,EAAAC,cAACI,EAAe,CAAAT,MAAkB,OAAXE,EAAAA,EAAMF,OAAKG,EAAIpB,GAAamB,EAAMQ,UAG/D"}
@@ -0,0 +1,2 @@
1
+ import{DecafApp as r}from"@decafhub/decaf-react";import{theme as o,ConfigProvider as e}from"antd";import c from"react";var l={hashed:!0,token:{colorPrimary:"#344961",colorBgBase:"#10161d",colorBgLayout:"#10161d",borderRadius:0,colorError:"#b03a38",colorSuccess:"#48734d",colorWarning:"#ffc107",colorInfo:"#4694ab",green:"#48734d",red:"#b03a38",blue:"#0d6efd",yellow:"#ffc107",colorWhite:"#fff"},algorithm:[o.darkAlgorithm]};function t(o){var t;return c.createElement(r,{config:o.config,controller:o.controller},c.createElement(e,{theme:null!=(t=o.theme)?t:l},o.children))}export{t as default};
2
+ //# sourceMappingURL=index.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.js","sources":["../src/theme.ts","../src/index.tsx"],"sourcesContent":["import { theme } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\n\nexport const decafTheme: ThemeConfig = {\n hashed: true,\n token: {\n colorPrimary: '#344961',\n colorBgBase: '#10161d',\n colorBgLayout: '#10161d',\n borderRadius: 0,\n colorError: '#b03a38',\n colorSuccess: '#48734d',\n colorWarning: '#ffc107',\n colorInfo: '#4694ab',\n green: '#48734d',\n red: '#b03a38',\n blue: '#0d6efd',\n yellow: '#ffc107',\n colorWhite: '#fff',\n },\n\n algorithm: [theme.darkAlgorithm],\n};\n","import { DecafAppController, DecafApp, DecafAppConfig } from '@decafhub/decaf-react';\nimport { ConfigProvider } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\nimport React from 'react';\nimport { decafTheme } from 'theme';\n\nexport interface DecafWebappProps {\n config?: DecafAppConfig;\n controller?: DecafAppController;\n theme?: ThemeConfig;\n children: React.ReactNode;\n}\n\nexport default function DecafWebapp(props: DecafWebappProps) {\n return (\n <DecafApp config={props.config} controller={props.controller}>\n <ConfigProvider theme={props.theme ?? decafTheme}>{props.children}</ConfigProvider>\n </DecafApp>\n );\n}\n"],"names":["decafTheme","hashed","token","colorPrimary","colorBgBase","colorBgLayout","borderRadius","colorError","colorSuccess","colorWarning","colorInfo","green","red","blue","yellow","colorWhite","algorithm","theme","darkAlgorithm","props","_props$theme","React","createElement","DecafApp","config","controller","ConfigProvider","children"],"mappings":"2HAGuBA,EAAgB,CACrCC,QAAQ,EACRC,MAAO,CACLC,aAAc,UACdC,YAAa,UACbC,cAAe,UACfC,aAAc,EACdC,WAAY,UACZC,aAAc,UACdC,aAAc,UACdC,UAAW,UACXC,MAAO,UACPC,IAAK,UACLC,KAAM,UACNC,OAAQ,UACRC,WAAY,QAGdC,UAAW,CAACC,EAAMC,gBCRI,WAAYC,GAAuB,IAAAC,EACzD,OACEC,EAAAC,cAACC,EAAQ,CAACC,OAAQL,EAAMK,OAAQC,WAAYN,EAAMM,YAChDJ,EAAAC,cAACI,EAAe,CAAAT,MAAkB,OAAXE,EAAAA,EAAMF,OAAKG,EAAIpB,GAAamB,EAAMQ,UAG/D"}
@@ -0,0 +1,2 @@
1
+ !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r(require("@decafhub/decaf-react"),require("antd"),require("react")):"function"==typeof define&&define.amd?define(["@decafhub/decaf-react","antd","react"],r):(e||self).decafReactWebapp=r(e.decafReact,e.antd,e.react)}(this,function(e,r,o){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=/*#__PURE__*/t(o),c={hashed:!0,token:{colorPrimary:"#344961",colorBgBase:"#10161d",colorBgLayout:"#10161d",borderRadius:0,colorError:"#b03a38",colorSuccess:"#48734d",colorWarning:"#ffc107",colorInfo:"#4694ab",green:"#48734d",red:"#b03a38",blue:"#0d6efd",yellow:"#ffc107",colorWhite:"#fff"},algorithm:[r.theme.darkAlgorithm]};return function(o){var t;return a.default.createElement(e.DecafApp,{config:o.config,controller:o.controller},a.default.createElement(r.ConfigProvider,{theme:null!=(t=o.theme)?t:c},o.children))}});
2
+ //# sourceMappingURL=index.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.umd.js","sources":["../src/theme.ts","../src/index.tsx"],"sourcesContent":["import { theme } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\n\nexport const decafTheme: ThemeConfig = {\n hashed: true,\n token: {\n colorPrimary: '#344961',\n colorBgBase: '#10161d',\n colorBgLayout: '#10161d',\n borderRadius: 0,\n colorError: '#b03a38',\n colorSuccess: '#48734d',\n colorWarning: '#ffc107',\n colorInfo: '#4694ab',\n green: '#48734d',\n red: '#b03a38',\n blue: '#0d6efd',\n yellow: '#ffc107',\n colorWhite: '#fff',\n },\n\n algorithm: [theme.darkAlgorithm],\n};\n","import { DecafAppController, DecafApp, DecafAppConfig } from '@decafhub/decaf-react';\nimport { ConfigProvider } from 'antd';\nimport { ThemeConfig } from 'antd/es/config-provider/context';\nimport React from 'react';\nimport { decafTheme } from 'theme';\n\nexport interface DecafWebappProps {\n config?: DecafAppConfig;\n controller?: DecafAppController;\n theme?: ThemeConfig;\n children: React.ReactNode;\n}\n\nexport default function DecafWebapp(props: DecafWebappProps) {\n return (\n <DecafApp config={props.config} controller={props.controller}>\n <ConfigProvider theme={props.theme ?? decafTheme}>{props.children}</ConfigProvider>\n </DecafApp>\n );\n}\n"],"names":["decafTheme","hashed","token","colorPrimary","colorBgBase","colorBgLayout","borderRadius","colorError","colorSuccess","colorWarning","colorInfo","green","red","blue","yellow","colorWhite","algorithm","theme","darkAlgorithm","props","_props$theme","React","createElement","DecafApp","config","controller","ConfigProvider","children"],"mappings":"6cAGuBA,EAAgB,CACrCC,QAAQ,EACRC,MAAO,CACLC,aAAc,UACdC,YAAa,UACbC,cAAe,UACfC,aAAc,EACdC,WAAY,UACZC,aAAc,UACdC,aAAc,UACdC,UAAW,UACXC,MAAO,UACPC,IAAK,UACLC,KAAM,UACNC,OAAQ,UACRC,WAAY,QAGdC,UAAW,CAACC,EAAAA,MAAMC,uBCRI,SAAYC,GAAuB,IAAAC,EACzD,OACEC,EAAA,QAAAC,cAACC,WAAQ,CAACC,OAAQL,EAAMK,OAAQC,WAAYN,EAAMM,YAChDJ,EAAA,QAAAC,cAACI,EAAcA,eAAC,CAAAT,MAAkB,OAAXE,EAAAA,EAAMF,OAAKG,EAAIpB,GAAamB,EAAMQ,UAG/D"}
@@ -0,0 +1,3 @@
1
+ import { ThemeConfig } from 'antd/es/config-provider/context';
2
+ export declare const decafTheme: ThemeConfig;
3
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,eAAO,MAAM,UAAU,EAAE,WAmBxB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@decafhub/decaf-react-webapp",
3
+ "version": "0.0.1",
4
+ "keywords": [
5
+ "decafhub",
6
+ "react"
7
+ ],
8
+ "description": "Collection of UI Components and themes for Decaf Apps",
9
+ "source": "src/index.tsx",
10
+ "main": "./dist/index.js",
11
+ "module": "./dist/index.module.js",
12
+ "unpkg": "./dist/index.umd.js",
13
+ "types": "dist/index.d.ts",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "author": "alioguzhan <aoguzhanyildiz@gmail.com>",
18
+ "repository": {
19
+ "url": "https://github.com/teloscube/decaf-react-webapp",
20
+ "type": "git"
21
+ },
22
+ "homepage": "https://github.com/teloscube/decaf-react-webapp",
23
+ "license": "BSD-3-Clause",
24
+ "private": false,
25
+ "scripts": {
26
+ "start": "microbundle --jsx React.createElement --jsxFragment React.Fragment --watch",
27
+ "build": "rm -rf dist && microbundle --jsx React.createElement --jsxFragment React.Fragment",
28
+ "test": "jest --coverage",
29
+ "make:docs": "typedoc",
30
+ "prepare": "yarn build && husky install"
31
+ },
32
+ "engines": {
33
+ "node": ">=16"
34
+ },
35
+ "peerDependencies": {
36
+ "@decafhub/decaf-client": "^0.3",
37
+ "@decafhub/decaf-react": "^0.1",
38
+ "antd": "^5.0.0",
39
+ "react": "^17.0.0 || ^18.0.0",
40
+ "react-dom": "^17.0.0 || ^18.0.0"
41
+ },
42
+ "dependencies": {},
43
+ "devDependencies": {
44
+ "@commitlint/cli": "^17.3.0",
45
+ "@commitlint/config-conventional": "^17.3.0",
46
+ "@decafhub/decaf-client": "^0.3.1",
47
+ "@decafhub/decaf-react": "^0.1.8",
48
+ "@testing-library/jest-dom": "^5.16.5",
49
+ "@testing-library/react": "^13.4.0",
50
+ "@types/jest": "^29.2.3",
51
+ "@types/js-cookie": "^3.0.2",
52
+ "@types/node": "^18.11.9",
53
+ "@types/react": "^18.0.25",
54
+ "@types/react-dom": "^18.0.9",
55
+ "@typescript-eslint/eslint-plugin": "^5.44.0",
56
+ "@typescript-eslint/parser": "^5.44.0",
57
+ "antd": "^5.0.1",
58
+ "cross-env": "^7.0.3",
59
+ "eslint": "^8.28.0",
60
+ "eslint-config-prettier": "^8.5.0",
61
+ "eslint-config-standard": "^17.0.0",
62
+ "eslint-plugin-import": "^2.26.0",
63
+ "eslint-plugin-n": "^15.5.1",
64
+ "eslint-plugin-prettier": "^4.2.1",
65
+ "eslint-plugin-promise": "^6.1.1",
66
+ "eslint-plugin-react": "^7.31.11",
67
+ "eslint-plugin-react-hooks": "^4.6.0",
68
+ "eslint-plugin-standard": "^5.0.0",
69
+ "gh-pages": "^4.0.0",
70
+ "husky": "^8.0.2",
71
+ "identity-obj-proxy": "^3.0.0",
72
+ "jest": "^29.3.1",
73
+ "jest-environment-jsdom": "^29.3.1",
74
+ "lint-staged": "^13.0.3",
75
+ "microbundle": "^0.15.1",
76
+ "postcss": "^8.4.19",
77
+ "prettier": "^2.8.0",
78
+ "react": "^18.2.0",
79
+ "react-dom": "^18.2.0",
80
+ "ts-jest": "^29.0.3",
81
+ "typedoc": "^0.23.21",
82
+ "typescript": "^4.9.3"
83
+ },
84
+ "lint-staged": {
85
+ "src/**/*.{ts,tsx}": [
86
+ "./node_modules/.bin/prettier --write",
87
+ "./node_modules/.bin/eslint"
88
+ ]
89
+ },
90
+ "prettier": {
91
+ "tabWidth": 2,
92
+ "printWidth": 120,
93
+ "useTabs": false,
94
+ "semi": true,
95
+ "singleQuote": true,
96
+ "trailingComma": "es5"
97
+ },
98
+ "commitlint": {
99
+ "extends": [
100
+ "@commitlint/config-conventional"
101
+ ]
102
+ }
103
+ }