@toppr-engg/ask-tutor 0.3.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.
@@ -0,0 +1,136 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ Copyright (c) 2018 Jed Watson.
9
+ Licensed under the MIT License (MIT), see
10
+ http://jedwatson.github.io/classnames
11
+ */
12
+
13
+ /*!
14
+ * @overview es6-promise - a tiny implementation of Promises/A+.
15
+ * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
16
+ * @license Licensed under MIT license
17
+ * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
18
+ * @version v4.2.8+1e68dce6
19
+ */
20
+
21
+ /*!
22
+ Copyright (c) 2015 Jed Watson.
23
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
24
+ All rights reserved.
25
+ */
26
+
27
+ /*!
28
+ Copyright (c) 2018 Jed Watson.
29
+ Licensed under the MIT License (MIT), see
30
+ http://jedwatson.github.io/classnames
31
+ */
32
+
33
+ /*!
34
+ * Adapted from jQuery UI core
35
+ *
36
+ * http://jqueryui.com
37
+ *
38
+ * Copyright 2014 jQuery Foundation and other contributors
39
+ * Released under the MIT license.
40
+ * http://jquery.org/license
41
+ *
42
+ * http://api.jqueryui.com/category/ui-core/
43
+ */
44
+
45
+ /*! *****************************************************************************
46
+ Copyright (c) Microsoft Corporation. All rights reserved.
47
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
48
+ this file except in compliance with the License. You may obtain a copy of the
49
+ License at http://www.apache.org/licenses/LICENSE-2.0
50
+
51
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
52
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
53
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
54
+ MERCHANTABLITY OR NON-INFRINGEMENT.
55
+
56
+ See the Apache Version 2.0 License for specific language governing permissions
57
+ and limitations under the License.
58
+ ***************************************************************************** */
59
+
60
+ /*! *****************************************************************************
61
+ Copyright (c) Microsoft Corporation.
62
+
63
+ Permission to use, copy, modify, and/or distribute this software for any
64
+ purpose with or without fee is hereby granted.
65
+
66
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
67
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
68
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
69
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
70
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
71
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
72
+ PERFORMANCE OF THIS SOFTWARE.
73
+ ***************************************************************************** */
74
+
75
+ /*! exports provided: default */
76
+
77
+ /*! formdata-polyfill. MIT License. Jimmy W?rting <https://jimmy.warting.se/opensource> */
78
+
79
+ /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
80
+
81
+ /*! https://mths.be/utf8js v2.1.2 by @mathias */
82
+
83
+ /*! no static exports found */
84
+
85
+ /*! react */
86
+
87
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
88
+
89
+ /*!******************************!*\
90
+ !*** ./src/react-webcam.tsx ***!
91
+ \******************************/
92
+
93
+ /*!**************************************************************************************!*\
94
+ !*** external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react"} ***!
95
+ \**************************************************************************************/
96
+
97
+ /*!@license
98
+ * UAParser.js v0.7.28
99
+ * Lightweight JavaScript-based User-Agent string parser
100
+ * https://github.com/faisalman/ua-parser-js
101
+ *
102
+ * Copyright © 2012-2021 Faisal Salman <f@faisalman.com>
103
+ * Licensed under MIT License
104
+ */
105
+
106
+ /**
107
+ * @preserve JavaScript implementation of
108
+ * Algorithm for Automatically Fitting Digitized Curves
109
+ * by Philip J. Schneider
110
+ * "Graphics Gems", Academic Press, 1990
111
+ *
112
+ * The MIT License (MIT)
113
+ *
114
+ * https://github.com/soswow/fit-curves
115
+ */
116
+
117
+ /**
118
+ * @license Complex.js v2.1.1 12/05/2020
119
+ *
120
+ * Copyright (c) 2020, Robert Eisele (robert@xarg.org)
121
+ * Dual licensed under the MIT or GPL Version 2 licenses.
122
+ **/
123
+
124
+ /**
125
+ * @license Fraction.js v4.2.0 05/03/2022
126
+ * https://www.xarg.org/2014/03/rational-numbers-in-javascript/
127
+ *
128
+ * Copyright (c) 2021, Robert Eisele (robert@xarg.org)
129
+ * Dual licensed under the MIT or GPL Version 2 licenses.
130
+ **/
131
+
132
+ //!! Deliberately using an API that's deprecated in node.js because
133
+
134
+ //!! Discussion: github.com/node-browser-compat/atob/pull/9
135
+
136
+ //!! this file is for browsers and we expect them to cope with it.
package/lib/index.html ADDED
@@ -0,0 +1 @@
1
+ <!doctype html><html><head><meta content="initial-scale=1,width=device-width" name="viewport"/><title>Production</title><meta name="viewport" content="width=device-width,initial-scale=1"/><script src="https://cdnjs.cloudflare.com/ajax/libs/redux/4.2.0/redux.min.js"></script><script defer="defer" src="ask-tutor.umd.js"></script></head><body style="margin: 0"><div><div id="app"></div></div></body></html>
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "@toppr-engg/ask-tutor",
3
+ "version": "0.3.0",
4
+ "description": "A React JS implementation of Ask Expert via videos",
5
+ "author": "Toppr Engineers",
6
+ "homepage": "https://github.com/toppr/toppr-web#readme",
7
+ "main": "lib/ask-tutor.umd.js",
8
+ "files": [
9
+ "lib"
10
+ ],
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/toppr/toppr-web.git"
17
+ },
18
+ "scripts": {
19
+ "start": "webpack serve --open --config webpack.dev.config.js",
20
+ "clean": "rimraf dist lib",
21
+ "delfiles": "del lib/**/*.test.js lib/**/*.dev.js",
22
+ "start:staging": "webpack serve --node-env=staging --config webpack.dev.config.js --open",
23
+ "start:preprod": "webpack serve --node-env=preprod --config webpack.dev.config.js --open",
24
+ "start:prod": "webpack serve --node-env=production --config webpack.dev.config.js --open",
25
+ "start:dev": "webpack serve --node-env=dev --config webpack.dev.config.js --open ",
26
+ "build:staging": "webpack --node-env=staging --config webpack.prod.config.js",
27
+ "build:preprod": "webpack --node-env=preprod --config webpack.prod.config.js",
28
+ "build": "webpack --node-env=production --config webpack.prod.config.js",
29
+ "analyze": "webpack --env=analyze=true --config webpack.prod.config.js",
30
+ "prepublishOnly": "yarn run build",
31
+ "start:project": "webpack serve --node-env=dev --config webpack.dev.project.config.js --open",
32
+ "build:project": "webpack --node-env=prod --config webpack.project.config.js"
33
+ },
34
+ "dependencies": {
35
+ "camelcase": "^6.3.0",
36
+ "cogo-toast": "4.2.3",
37
+ "react-image-crop": "8.6.8",
38
+ "react-webcam": "7.0.0"
39
+ },
40
+ "peerDependencies": {
41
+ "react": ">= 17.0.2",
42
+ "react-dom": ">=17.0.2",
43
+ "react-redux": "^7.2.4",
44
+ "redux": "^4.1.0",
45
+ "redux-saga": "1.1.3"
46
+ },
47
+ "devDependencies": {
48
+ "@tailwindcss/line-clamp": "^0.3.0",
49
+ "autoprefixer": "^10.4.0",
50
+ "cssnano": "^5.0.14",
51
+ "postcss": "^8.4.5",
52
+ "redux-devtools-extension": "^2.13.9",
53
+ "tailwindcss": "^3.0.1"
54
+ },
55
+ "bugs": {
56
+ "url": "https://github.com/toppr/toppr-web/issues"
57
+ },
58
+ "gitHead": "518a52b5d1ed5ab306c49227fc14cf277b9fd783"
59
+ }