@bigbinary/neeto-slack-frontend 0.1.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/README.md +452 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +133 -0
- package/types.d.ts +30 -0
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bigbinary/neeto-slack-frontend",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Slack integration step UI",
|
|
5
|
+
"author": "Bonnie Simon",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": "",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"typings": "types.d.ts",
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=18.12"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"types.d.ts"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"prepare": "husky install",
|
|
19
|
+
"start": "NODE_ENV=development rm -rf dist && webpack-dev-server --mode development",
|
|
20
|
+
"build": "NODE_ENV=production rollup -c rollup.config.js",
|
|
21
|
+
"build-preview": "NODE_ENV=production webpack"
|
|
22
|
+
},
|
|
23
|
+
"lint-staged": {
|
|
24
|
+
"{src,example}/**/*.{js,jsx,json}": [
|
|
25
|
+
"prettier --write",
|
|
26
|
+
"eslint --fix"
|
|
27
|
+
],
|
|
28
|
+
"{package.json,.eslintrc.js,.prettierrc.js}": [
|
|
29
|
+
"prettier --write",
|
|
30
|
+
"eslint --fix"
|
|
31
|
+
],
|
|
32
|
+
".eslint-rules/**/*": [
|
|
33
|
+
"prettier --write",
|
|
34
|
+
"eslint --fix"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@babel/core": "7.19.3",
|
|
39
|
+
"@babel/eslint-parser": "7.19.1",
|
|
40
|
+
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
41
|
+
"@babel/plugin-transform-runtime": "7.19.1",
|
|
42
|
+
"@babel/preset-env": "7.19.3",
|
|
43
|
+
"@babel/preset-react": "7.18.6",
|
|
44
|
+
"@bigbinary/eslint-plugin-neeto": "1.0.16",
|
|
45
|
+
"@bigbinary/neeto-commons-frontend": "2.0.35",
|
|
46
|
+
"@bigbinary/neeto-icons": "1.9.12",
|
|
47
|
+
"@bigbinary/neetoui": "4.3.1",
|
|
48
|
+
"@emotion/is-prop-valid": "1.2.0",
|
|
49
|
+
"@rollup/plugin-alias": "3.1.9",
|
|
50
|
+
"@rollup/plugin-babel": "5.3.1",
|
|
51
|
+
"@rollup/plugin-commonjs": "22.0.2",
|
|
52
|
+
"@rollup/plugin-html": "0.2.4",
|
|
53
|
+
"@rollup/plugin-json": "4.1.0",
|
|
54
|
+
"@rollup/plugin-node-resolve": "14.1.0",
|
|
55
|
+
"@rollup/plugin-replace": "4.0.0",
|
|
56
|
+
"@svgr/rollup": "^6.5.1",
|
|
57
|
+
"@svgr/webpack": "^6.5.1",
|
|
58
|
+
"antd": "4.18.7",
|
|
59
|
+
"axios": "0.27.2",
|
|
60
|
+
"babel-loader": "8.2.5",
|
|
61
|
+
"babel-plugin-macros": "3.1.0",
|
|
62
|
+
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
|
|
63
|
+
"classnames": "2.3.2",
|
|
64
|
+
"css-loader": "6.7.1",
|
|
65
|
+
"dayjs": "1.11.5",
|
|
66
|
+
"eslint": "8.24.0",
|
|
67
|
+
"eslint-config-prettier": "8.5.0",
|
|
68
|
+
"eslint-plugin-cypress": "2.12.1",
|
|
69
|
+
"eslint-plugin-import": "2.26.0",
|
|
70
|
+
"eslint-plugin-jam3": "0.2.3",
|
|
71
|
+
"eslint-plugin-json": "3.1.0",
|
|
72
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
73
|
+
"eslint-plugin-promise": "6.0.1",
|
|
74
|
+
"eslint-plugin-react": "7.31.8",
|
|
75
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
76
|
+
"eslint-plugin-unused-imports": "2.0.0",
|
|
77
|
+
"file-loader": "^6.2.0",
|
|
78
|
+
"formik": "2.2.9",
|
|
79
|
+
"html-loader": "4.2.0",
|
|
80
|
+
"html-webpack-plugin": "5.5.0",
|
|
81
|
+
"husky": "^8.0.0",
|
|
82
|
+
"i18next": "21.9.2",
|
|
83
|
+
"lint-staged": "13.0.3",
|
|
84
|
+
"postcss-loader": "7.0.1",
|
|
85
|
+
"prettier": "2.7.1",
|
|
86
|
+
"prop-types": "15.8.1",
|
|
87
|
+
"ramda": "0.28.0",
|
|
88
|
+
"react": "17.0.2",
|
|
89
|
+
"react-dom": "17.0.2",
|
|
90
|
+
"react-i18next": "11.18.6",
|
|
91
|
+
"react-query": "3.39.2",
|
|
92
|
+
"react-router-dom": "5.3.0",
|
|
93
|
+
"react-router-nav-prompt": "0.4.1",
|
|
94
|
+
"react-toastify": "9.0.8",
|
|
95
|
+
"react-transition-group": "4.4.5",
|
|
96
|
+
"rollup": "2.79.1",
|
|
97
|
+
"rollup-plugin-analyzer": "4.0.0",
|
|
98
|
+
"rollup-plugin-bundle-html": "0.2.2",
|
|
99
|
+
"rollup-plugin-cleaner": "1.0.0",
|
|
100
|
+
"rollup-plugin-generate-html-template": "1.7.0",
|
|
101
|
+
"rollup-plugin-livereload": "2.0.5",
|
|
102
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
103
|
+
"rollup-plugin-polyfill-node": "0.10.2",
|
|
104
|
+
"rollup-plugin-serve": "2.0.1",
|
|
105
|
+
"rollup-plugin-styles": "4.0.0",
|
|
106
|
+
"rollup-plugin-terser": "7.0.2",
|
|
107
|
+
"sass": "1.55.0",
|
|
108
|
+
"sass-loader": "13.0.2",
|
|
109
|
+
"style-loader": "3.3.1",
|
|
110
|
+
"webpack": "5.74.0",
|
|
111
|
+
"webpack-cli": "4.10.0",
|
|
112
|
+
"webpack-dev-server": "4.11.1",
|
|
113
|
+
"yup": "0.32.11"
|
|
114
|
+
},
|
|
115
|
+
"peerDependencies": {
|
|
116
|
+
"@bigbinary/neeto-commons-frontend": "latest",
|
|
117
|
+
"@bigbinary/neeto-icons": "latest",
|
|
118
|
+
"@bigbinary/neetoui": "latest",
|
|
119
|
+
"antd": "4.18.7",
|
|
120
|
+
"axios": "0.27.2",
|
|
121
|
+
"classnames": "2.3.1",
|
|
122
|
+
"dayjs": "1.11.0",
|
|
123
|
+
"formik": "2.2.9",
|
|
124
|
+
"ramda": "0.28.0",
|
|
125
|
+
"react": "17.0.2",
|
|
126
|
+
"react-dom": "17.0.2",
|
|
127
|
+
"react-query": "3.39.2",
|
|
128
|
+
"react-router-dom": "5.3.0",
|
|
129
|
+
"react-router-nav-prompt": "0.4.1",
|
|
130
|
+
"react-toastify": "9.0.1",
|
|
131
|
+
"yup": "0.32.11"
|
|
132
|
+
}
|
|
133
|
+
}
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Fn } from "ramda";
|
|
3
|
+
|
|
4
|
+
declare global {
|
|
5
|
+
declare module "assets/*"
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export function Connect(props: {handleRedirectToSlack: Fn}): JSX.Element;
|
|
9
|
+
|
|
10
|
+
export function Configure(props: {
|
|
11
|
+
children?: Fn | React.ReactNode;
|
|
12
|
+
teamName: string;
|
|
13
|
+
initialFormValues: object;
|
|
14
|
+
handleSubmit: Fn;
|
|
15
|
+
isSubmitting: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
validationSchema?: object;
|
|
18
|
+
}): JSX.Element;
|
|
19
|
+
|
|
20
|
+
export function Finish(props: {
|
|
21
|
+
children?: React.ReactNode;
|
|
22
|
+
onClose: Fn;
|
|
23
|
+
onBack: Fn;
|
|
24
|
+
teamName: string;
|
|
25
|
+
selectedChannel: string;
|
|
26
|
+
otherFields?: {
|
|
27
|
+
name: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}[];
|
|
30
|
+
}): JSX.Element;
|