layerpro 0.2.9 → 0.3.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.
Binary file
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "layerpro",
3
3
  "displayName": "layerpro",
4
- "version": "0.2.9",
4
+ "version": "0.3.1",
5
5
  "description": "Manage your popups and customize them",
6
6
  "copyright": "Dario Passariello",
7
7
  "deprecated": false,
8
8
  "license": "MIT",
9
9
  "homepage": "https://github.com/passariello/layerpro",
10
10
  "targets": "web",
11
- "main": "index.tsx",
11
+ "main": "./index.tsx",
12
+ "preferGlobal": true,
12
13
  "author": {
13
14
  "name": "Dario Passariello",
14
15
  "url": "https://github.com/passariello/",
@@ -80,6 +81,7 @@
80
81
  "android"
81
82
  ]
82
83
  },
84
+ "typings": "./typings/*",
83
85
  "globals": {
84
86
  "jQuery": {},
85
87
  "$": {},
@@ -142,7 +144,7 @@
142
144
  "watch": "npm run dist && webpack --watch --mode development --config webpack.ts ",
143
145
  "optimizeSVG": "cd mcp/node && node optimizeSVG.js",
144
146
  ">-": "--------------",
145
- "git": "cd mcp/node && node gitDeploy",
147
+ "git": "git add . && git commit -m \"update\" && git pull && git push --all",
146
148
  ">--": "---------------",
147
149
  "goLive": "cd mcp/node && node goLive",
148
150
  ">---": "----------------",
@@ -152,37 +154,32 @@
152
154
  ">": "----------------",
153
155
  "update": "cd mcp/node && node npmUpdate",
154
156
  "backup": "cd mcp/backup && run.bat",
155
- "lint": "eslint {/src/**/*,*}.{js,ts,jsx,tsx} --fix"
157
+ "eslint": "eslint {/src/**/*,*}.{js,ts,jsx,tsx} --fix"
156
158
  },
157
159
  "devDependencies": {
158
160
  "@babel/core": "7.23.9",
159
161
  "@babel/eslint-parser": "^7.23.10",
160
- "@babel/plugin-transform-class-properties": "7.23.3",
161
162
  "@babel/plugin-transform-runtime": "7.23.9",
162
163
  "@babel/preset-env": "7.23.9",
163
164
  "@babel/preset-react": "7.23.3",
164
165
  "@babel/preset-typescript": "7.23.3",
165
- "@testing-library/user-event": "^14.5.2",
166
166
  "@types/jquery": "3.5.29",
167
- "@types/node": "^20.11.17",
168
- "@types/react": "18.2.55",
167
+ "@types/node": "^20.11.19",
168
+ "@types/react": "18.2.56",
169
169
  "@types/react-dom": "18.2.19",
170
170
  "@types/webpack": "5.28.5",
171
171
  "@typescript-eslint/eslint-plugin": "7.0.1",
172
172
  "@typescript-eslint/parser": "7.0.1",
173
173
  "babel-loader": "9.1.3",
174
- "babel-plugin-macros": "3.1.0",
175
174
  "classnames": "2.5.1",
176
175
  "cli-confirm": "1.0.1",
177
176
  "compression-webpack-plugin": "11.0.0",
178
177
  "concurrently": "8.2.2",
179
178
  "copy-webpack-plugin": "12.0.2",
180
- "crypto-browserify": "3.12.0",
181
179
  "css": "3.0.0",
182
180
  "css-loader": "6.10.0",
183
- "dotenv": "16.4.3",
181
+ "dotenv": "16.4.4",
184
182
  "eslint": "^8.56.0",
185
- "eslint-plugin-cypress": "2.15.1",
186
183
  "eslint-plugin-import": "2.29.1",
187
184
  "eslint-plugin-node": "11.1.0",
188
185
  "eslint-plugin-promise": "6.1.1",
@@ -190,31 +187,25 @@
190
187
  "eslint-plugin-unicorn": "51.0.1",
191
188
  "file-loader": "6.2.0",
192
189
  "fs": "0.0.1-security",
193
- "html-webpack-harddisk-plugin": "2.0.0",
194
190
  "html-webpack-plugin": "5.6.0",
195
- "https-browserify": "1.0.0",
196
191
  "jquery": "3.7.1",
197
192
  "jsdom-worker": "0.3.0",
198
193
  "jshint": "^2.13.6",
199
194
  "less": "4.2.0",
200
195
  "less-loader": "12.2.0",
201
196
  "moment": "2.30.1",
202
- "os-browserify": "0.3.0",
203
197
  "path": "0.12.7",
204
198
  "progress-bar-webpack-plugin": "2.1.0",
205
199
  "react": "18.2.0",
206
200
  "react-dom": "18.2.0",
207
- "sass": "1.70.0",
201
+ "sass": "1.71.0",
208
202
  "sass-loader": "14.1.0",
209
- "semantic-release": "23.0.2",
210
- "stream-browserify": "3.0.0",
211
- "stream-http": "3.2.0",
212
203
  "style-loader": "3.3.4",
213
204
  "terser-webpack-plugin": "5.3.10",
214
205
  "ts-node": "10.9.2",
215
206
  "typescript": "5.3.3",
216
- "webpack": "5.90.1",
207
+ "webpack": "5.90.2",
217
208
  "webpack-cli": "5.1.4",
218
- "webpack-dev-server": "5.0.0"
209
+ "webpack-dev-server": "5.0.2"
219
210
  }
220
211
  }
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module '*.mp3'
7
+ declare module '*.ogg'
8
+ declare module '*.mp3'
@@ -0,0 +1,21 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module '*.htm'
7
+ declare module '*.html'
8
+
9
+ ////////////////////////////////////////////////////////////////
10
+
11
+ declare module '*.js' {
12
+ const value: any
13
+ export default value
14
+ }
15
+
16
+ ////////////////////////////////////////////////////////////////
17
+
18
+ declare module "*.svg" {
19
+ const value: any
20
+ export default value
21
+ }
@@ -0,0 +1,22 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module 'icon'
7
+ declare var icon: any
8
+
9
+ ////////////////////////////////////////////////////////////////
10
+
11
+ declare global {
12
+ interface window {
13
+ icon: any
14
+ }
15
+ }
16
+
17
+ window.icon = window.icon || {}
18
+
19
+
20
+
21
+
22
+
@@ -0,0 +1,9 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module "*.svg" {
7
+ const value: any
8
+ export default value
9
+ }
@@ -0,0 +1,21 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare var $: any
7
+ declare var JQuery: any
8
+ declare module 'jquery'
9
+
10
+ // ////////////////////////////////////////////////////////////////
11
+
12
+ declare global {
13
+ interface window {
14
+ $: any
15
+ JQuery: any
16
+ }
17
+ }
18
+
19
+ window.$ = window.$ || {}
20
+ window.JQuery = window.JQuery || {}
21
+
@@ -0,0 +1,22 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module 'layerpro'
7
+ declare var layerpro: any
8
+
9
+ // Remove popup errors about number of paramentes or existence
10
+ declare function confirm(f1?, func1?, func2?)
11
+ declare function prompt(f1?, string?)
12
+ declare function message(f1?)
13
+
14
+ ////////////////////////////////////////////////////////////////
15
+
16
+ declare global {
17
+ interface window {
18
+ layerpro: any
19
+ }
20
+ }
21
+
22
+ window.layerpro = window.layerpro || {}
@@ -0,0 +1,18 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+
6
+ declare module 'menupro'
7
+ declare var menupro: any
8
+
9
+ ////////////////////////////////////////////////////////////////
10
+
11
+ declare global {
12
+ interface window {
13
+ menupro: any
14
+ }
15
+ }
16
+
17
+ window.menupro = window.menupro || {}
18
+
@@ -0,0 +1,22 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: CC BY-NC-ND 4.0
4
+ */
5
+ declare module '*.less' {
6
+ const resource: { [key: string]: any }
7
+ export = resource
8
+ }
9
+
10
+ ////////////////////////////////////////////////////////////////
11
+
12
+ declare module '*.scss' {
13
+ const resource: { [key: string]: any }
14
+ export = resource
15
+ }
16
+
17
+ ////////////////////////////////////////////////////////////////
18
+ declare module '*.sass' {
19
+ const resource: { [key: string]: any }
20
+ export = resource
21
+ }
22
+
Binary file