layerpro 0.4.6 → 0.5.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/package.json CHANGED
@@ -1,197 +1,197 @@
1
1
  {
2
- "name": "layerpro",
3
- "displayName": "layerpro",
4
- "version": "0.4.6",
5
- "description": "Manage your popups and customize them",
6
- "copyright": "Dario Passariello",
7
- "deprecated": false,
8
- "license": "MIT",
9
- "homepage": "https://github.com/passariello/layerpro",
10
- "targets": "web",
11
- "main": "./index.ts",
12
- "preferGlobal": true,
13
- "author": {
14
- "name": "Dario Passariello",
15
- "url": "https://github.com/passariello/",
16
- "email": "dariopassariello@gmail.com"
17
- },
18
- "support": {
19
- "name": "Dario Passariello",
20
- "url": "https://github.com/passariello/",
21
- "email": "dariopassariello@gmail.com"
22
- },
23
- "company": {},
24
- "contributors": [
25
- {
26
- "name": "Valeria Cala Scaglitta",
27
- "email": "valeriacalascaglitta@gmail.com"
28
- }
29
- ],
30
- "workspaces": [
31
- "mcp"
32
- ],
33
- "PROJECTS": {
34
- "LAYERPRO": {
35
- "API": {
36
- "DIR": "/api/",
37
- "LOCAL": "//api.biglogic.ca",
38
- "PROD": "//api.biglogic.ca",
39
- "DEV": "//api.biglogic.ca"
40
- },
41
- "BASE_PATH": "/",
42
- "TITLE": "LayerPro",
43
- "DESCRIPTION": "",
44
- "PORT": 3000,
45
- "THEME": "default",
46
- "LANGUAGE": "en",
47
- "LOGO": ""
48
- }
49
- },
50
- "app": {
51
- "port": 3000,
52
- "code": "layerpro",
53
- "name": "layerpro",
54
- "type": "beta",
55
- "folder": "/",
56
- "appPort": "",
57
- "main": "index.ts",
58
- "target": "web",
59
- "proxy": {},
60
- "api": {
61
- "folder": "api",
62
- "dev": "",
63
- "prod": ""
64
- },
65
- "url": {
66
- "dev": "http://localhost"
67
- },
68
- "info": {
69
- "type": "gold",
70
- "code": "layerpro",
71
- "codeRelease": "layerpro"
72
- },
73
- "socket": {
74
- "test": "",
75
- "dev": ""
76
- },
77
- "cdn": {}
78
- },
79
- "cordova": {
80
- "platforms": [
81
- "android"
82
- ]
83
- },
84
- "typings": "./typings/*",
85
- "globals": {
86
- "jQuery": {},
87
- "$": {},
88
- "layerpro": {}
89
- },
90
- "browserslist": {
91
- "production": [
92
- "last 2 Chrome major versions",
93
- "last 2 Firefox major versions",
94
- "last 2 Safari major versions",
95
- "last 2 Edge major versions",
96
- "last 2 Opera versions",
97
- "last 2 iOS major versions",
98
- "last 1 Explorer major version",
99
- "last 1 ChromeAndroid version",
100
- "last 1 UCAndroid version",
101
- "last 1 Samsung version",
102
- "last 1 OperaMini version",
103
- "Firefox ESR",
104
- ">0.2%",
105
- "not dead",
106
- "not op_mini all"
107
- ],
108
- "development": [
109
- "last 1 chrome version",
110
- "last 1 firefox version",
111
- "last 1 safari version"
112
- ]
113
- },
114
- "engines": {
115
- "node": ">=12.0.0"
116
- },
117
- "keywords": [
118
- "layer",
119
- "popup",
120
- "modal",
121
- "passariello",
122
- "layerpro"
123
- ],
124
- "repository": {
125
- "type": "git",
126
- "url": "git+https://github.com/passariello/layerpro.git",
127
- "help": "git+https://github.com/passariello/layerpro.git#readme"
128
- },
129
- "bugs": {
130
- "url": "https://github.com/passariello/layerpro/issues"
131
- },
132
- "typing": [
133
- "typings/*"
134
- ],
135
- "scripts": {
136
- "make-dist": "webpack --env NAME=LAYERPRO --env MODE=PROD --config webpack.ts && cd dist",
137
- "watch": "npm run dist && webpack --watch --mode development --config webpack.ts ",
138
- "optimizeSVG": "cd mcp/node && node optimizeSVG.js",
139
- "------": "",
140
- "git": "git add . && git commit -m \"update\" && git pull && git push --all",
141
- "-------": "",
142
- "goLive": "cd mcp/node && node goLive",
143
- "--------": "",
144
- "prepublish1": "tsc",
145
- "compile-tests": "tsc -p . --outDir out",
146
- "watch-tests": "tsc -p . -w --outDir out",
147
- "---------": "",
148
- "update": "cd mcp/node && node npmUpdate",
149
- "backup": "cd mcp/backup && run.bat",
150
- "----------": "",
151
- "tsc": "tsc -b",
152
- "oxlint": "oxlint --config=./.eslintrc.json --tsconfig=./tsconfig.json"
153
- },
154
- "devDependencies": {
155
- "@babel/core": "7.24.5",
156
- "@babel/plugin-transform-runtime": "7.24.3",
157
- "@babel/preset-env": "7.24.5",
158
- "@babel/preset-react": "7.24.1",
159
- "@babel/preset-typescript": "7.24.1",
160
- "@types/jquery": "3.5.30",
161
- "@types/node": "^20.12.12",
162
- "@types/react": "18.3.2",
163
- "@types/react-dom": "18.3.0",
164
- "@types/webpack": "5.28.5",
165
- "babel-loader": "9.1.3",
166
- "classnames": "2.5.1",
167
- "cli-confirm": "1.0.1",
168
- "compression-webpack-plugin": "11.1.0",
169
- "concurrently": "8.2.2",
170
- "copy-webpack-plugin": "12.0.2",
171
- "css": "3.0.0",
172
- "css-loader": "7.1.1",
173
- "dotenv": "16.4.5",
174
- "file-loader": "6.2.0",
175
- "fs": "0.0.1-security",
176
- "html-webpack-plugin": "5.6.0",
177
- "jquery": "3.7.1",
178
- "jsdom-worker": "0.3.0",
179
- "less": "4.2.0",
180
- "less-loader": "12.2.0",
181
- "moment": "2.30.1",
182
- "oxlint": "0.3.5",
183
- "path": "0.12.7",
184
- "progress-bar-webpack-plugin": "2.1.0",
185
- "react": "18.3.1",
186
- "react-dom": "18.3.1",
187
- "sass": "1.77.2",
188
- "sass-loader": "14.2.1",
189
- "style-loader": "4.0.0",
190
- "terser-webpack-plugin": "5.3.10",
191
- "ts-node": "10.9.2",
192
- "typescript": "5.4.5",
193
- "webpack": "5.91.0",
194
- "webpack-cli": "5.1.4",
195
- "webpack-dev-server": "5.0.4"
196
- }
2
+ "name": "layerpro",
3
+ "displayName": "layerpro",
4
+ "version": "0.5.1",
5
+ "description": "Manage your popups and customize them",
6
+ "copyright": "Dario Passariello",
7
+ "deprecated": false,
8
+ "license": "MIT",
9
+ "homepage": "https://github.com/passariello/layerpro",
10
+ "targets": "web",
11
+ "main": "./index.ts",
12
+ "preferGlobal": true,
13
+ "author": {
14
+ "name": "Dario Passariello",
15
+ "url": "https://github.com/passariello/",
16
+ "email": "dariopassariello@gmail.com"
17
+ },
18
+ "support": {
19
+ "name": "Dario Passariello",
20
+ "url": "https://github.com/passariello/",
21
+ "email": "dariopassariello@gmail.com"
22
+ },
23
+ "company": {},
24
+ "contributors": [
25
+ {
26
+ "name": "Valeria Cala Scaglitta",
27
+ "email": "valeriacalascaglitta@gmail.com"
28
+ }
29
+ ],
30
+ "workspaces": [
31
+ "mcp"
32
+ ],
33
+ "PROJECTS": {
34
+ "LAYERPRO": {
35
+ "API": {
36
+ "DIR": "/api/",
37
+ "LOCAL": "//api.biglogic.ca",
38
+ "PROD": "//api.biglogic.ca",
39
+ "DEV": "//api.biglogic.ca"
40
+ },
41
+ "BASE_PATH": "/",
42
+ "TITLE": "LayerPro",
43
+ "DESCRIPTION": "",
44
+ "PORT": 3000,
45
+ "THEME": "default",
46
+ "LANGUAGE": "en",
47
+ "LOGO": ""
48
+ }
49
+ },
50
+ "app": {
51
+ "port": 3000,
52
+ "code": "layerpro",
53
+ "name": "layerpro",
54
+ "type": "beta",
55
+ "folder": "/",
56
+ "appPort": "",
57
+ "main": "index.ts",
58
+ "target": "web",
59
+ "proxy": {},
60
+ "api": {
61
+ "folder": "api",
62
+ "dev": "",
63
+ "prod": ""
64
+ },
65
+ "url": {
66
+ "dev": "http://localhost"
67
+ },
68
+ "info": {
69
+ "type": "gold",
70
+ "code": "layerpro",
71
+ "codeRelease": "layerpro"
72
+ },
73
+ "socket": {
74
+ "test": "",
75
+ "dev": ""
76
+ },
77
+ "cdn": {}
78
+ },
79
+ "cordova": {
80
+ "platforms": [
81
+ "android"
82
+ ]
83
+ },
84
+ "typings": "./types/*",
85
+ "globals": {
86
+ "jQuery": {},
87
+ "$": {},
88
+ "layerpro": {}
89
+ },
90
+ "browserslist": {
91
+ "production": [
92
+ "last 2 Chrome major versions",
93
+ "last 2 Firefox major versions",
94
+ "last 2 Safari major versions",
95
+ "last 2 Edge major versions",
96
+ "last 2 Opera versions",
97
+ "last 2 iOS major versions",
98
+ "last 1 Explorer major version",
99
+ "last 1 ChromeAndroid version",
100
+ "last 1 UCAndroid version",
101
+ "last 1 Samsung version",
102
+ "last 1 OperaMini version",
103
+ "Firefox ESR",
104
+ ">0.2%",
105
+ "not dead",
106
+ "not op_mini all"
107
+ ],
108
+ "development": [
109
+ "last 1 chrome version",
110
+ "last 1 firefox version",
111
+ "last 1 safari version"
112
+ ]
113
+ },
114
+ "engines": {
115
+ "node": ">=12.0.0"
116
+ },
117
+ "keywords": [
118
+ "layer",
119
+ "popup",
120
+ "modal",
121
+ "passariello",
122
+ "layerpro"
123
+ ],
124
+ "repository": {
125
+ "type": "git",
126
+ "url": "git+https://github.com/passariello/layerpro.git",
127
+ "help": "git+https://github.com/passariello/layerpro.git#readme"
128
+ },
129
+ "bugs": {
130
+ "url": "https://github.com/passariello/layerpro/issues"
131
+ },
132
+ "typing": [
133
+ "types/*"
134
+ ],
135
+ "scripts": {
136
+ "make-dist": "webpack --env NAME=LAYERPRO --env MODE=PROD --config webpack.ts && cd dist",
137
+ "watch": "npm run dist && webpack --watch --mode development --config webpack.ts ",
138
+ "optimizeSVG": "cd mcp/node && node optimizeSVG.js",
139
+ "------": "",
140
+ "git": "git add . && git commit -m \"update\" && git pull && git push --all",
141
+ "-------": "",
142
+ "goLive": "cd mcp/node && node goLive",
143
+ "--------": "",
144
+ "prepublish1": "tsc",
145
+ "compile-tests": "tsc -p . --outDir out",
146
+ "watch-tests": "tsc -p . -w --outDir out",
147
+ "---------": "",
148
+ "update": "cd mcp/node && node npmUpdate",
149
+ "backup": "cd mcp/backup && run.bat",
150
+ "----------": "",
151
+ "tsc": "tsc -b",
152
+ "oxlint": "oxlint --config=./.eslintrc.json --tsconfig=./tsconfig.json"
153
+ },
154
+ "devDependencies": {
155
+ "@babel/core": "7.24.6",
156
+ "@babel/plugin-transform-runtime": "7.24.6",
157
+ "@babel/preset-env": "7.24.6",
158
+ "@babel/preset-react": "7.24.6",
159
+ "@babel/preset-typescript": "7.24.6",
160
+ "@types/jquery": "3.5.30",
161
+ "@types/node": "^20.12.12",
162
+ "@types/react": "18.3.3",
163
+ "@types/react-dom": "18.3.0",
164
+ "@types/webpack": "5.28.5",
165
+ "babel-loader": "9.1.3",
166
+ "classnames": "2.5.1",
167
+ "cli-confirm": "1.0.1",
168
+ "compression-webpack-plugin": "11.1.0",
169
+ "concurrently": "8.2.2",
170
+ "copy-webpack-plugin": "12.0.2",
171
+ "css": "3.0.0",
172
+ "css-loader": "7.1.2",
173
+ "dotenv": "16.4.5",
174
+ "file-loader": "6.2.0",
175
+ "fs": "0.0.1-security",
176
+ "html-webpack-plugin": "5.6.0",
177
+ "jquery": "3.7.1",
178
+ "jsdom-worker": "0.3.0",
179
+ "less": "4.2.0",
180
+ "less-loader": "12.2.0",
181
+ "moment": "2.30.1",
182
+ "oxlint": "0.4.1",
183
+ "path": "0.12.7",
184
+ "progress-bar-webpack-plugin": "2.1.0",
185
+ "react": "18.3.1",
186
+ "react-dom": "18.3.1",
187
+ "sass": "1.77.2",
188
+ "sass-loader": "14.2.1",
189
+ "style-loader": "4.0.0",
190
+ "terser-webpack-plugin": "5.3.10",
191
+ "ts-node": "10.9.2",
192
+ "typescript": "5.4.5",
193
+ "webpack": "5.91.0",
194
+ "webpack-cli": "5.1.4",
195
+ "webpack-dev-server": "5.0.4"
196
+ }
197
197
  }
@@ -0,0 +1,8 @@
1
+ /*
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module '*.mp3'
7
+ declare module '*.ogg'
8
+ declare module '*.mp3'
@@ -1,6 +1,6 @@
1
1
  /*
2
- Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
- License: CC BY-NC-ND 4.0
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
4
  */
5
5
 
6
6
  declare module '*.htm'
@@ -1,6 +1,6 @@
1
1
  /*
2
- Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
- License: CC BY-NC-ND 4.0
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
4
  */
5
5
 
6
6
  type icon = {}
@@ -0,0 +1,9 @@
1
+ /*
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module "*.svg" {
7
+ const value: any
8
+ export default value
9
+ }
@@ -1,13 +1,13 @@
1
1
  /*
2
- Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
- License: CC BY-NC-ND 4.0
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
4
  */
5
5
 
6
6
  type $ = {}
7
- type JQuery = {}
7
+ type jQuery = {}
8
8
 
9
9
  declare var $: any
10
- declare var JQuery: any
10
+ declare var jQuery: any
11
11
  declare module 'jquery'
12
12
 
13
13
  // ////////////////////////////////////////////////////////////////
@@ -15,9 +15,9 @@ declare module 'jquery'
15
15
  declare global {
16
16
  interface globalThis {
17
17
  $: any
18
- JQuery: any
18
+ jQuery: any
19
19
  }
20
20
  }
21
21
 
22
22
  $ = globalThis.$ || {}
23
- JQuery = globalThis.JQuery || {}
23
+ jQuery = globalThis.jQuery || {}
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
3
  License: MIT
4
4
  */
5
5
 
@@ -0,0 +1,21 @@
1
+ /*
2
+ Copyright: © 2019 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
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
+ }