menupro 0.0.8 → 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.
Binary file
package/package.json CHANGED
@@ -1,128 +1,159 @@
1
1
  {
2
- "name": "menupro",
3
- "version": "0.0.8",
4
- "description": "Generate nested menu like desktop apps",
5
- "deprecated": false,
6
- "appCode": "menupro",
7
- "appCodeRelease": "menupro",
8
- "appName": "menupro",
9
- "appType": "beta",
10
- "appFolder": "/",
11
- "appAPI": "api",
12
- "apiDev": "",
13
- "apiProd": "",
14
- "main": "index.ts",
15
- "exports": {
16
- ".": "./index.ts"
17
- },
18
- "types": "./index.ts",
19
- "publishConfig": {
20
- "exports": {
21
- ".": "./index.ts"
22
- },
23
- "types": "./index.d.ts"
24
- },
25
- "targets": {
26
- "main": {
27
- "includeNodeModules": {
28
- "react": false,
29
- "react-dom": false
30
- },
31
- "isLibrary": true
32
- }
33
- },
34
- "engines": {
35
- "node": ">=0.10.0"
36
- },
37
- "scripts": {
38
- "make-dist": "webpack --progress --color --mode production --config webpack.config.js",
39
- "backup": "cd mcp/backup && run.bat",
40
- "git": "cd mcp/node && node gitDeploy",
41
- "update": "cd mcp/node && node npmUpdate",
42
- "lint": "eslint --ext .ts,.tsx,.js,.jsx --fix"
43
- },
44
- "eslintConfig": {
45
- "globals": {
46
- "window": true
47
- }
48
- },
49
- "author": {
50
- "name": "Dario Passariello",
51
- "website": "https://dario.passariello.ca",
52
- "email": "dariopassariello@gmail.com"
53
- },
54
- "license": "MIT",
55
- "contributors": [
56
- {
57
- "name": "Dario Passariello",
58
- "email": "dariopassariello@gmail.com"
59
- },
60
- {
61
- "name": "Valeria Cala Scaglitta",
62
- "email": "valeriacalascaglitta@gmail.com"
63
- }
64
- ],
65
- "keywords": [
66
- "menu",
67
- "array",
68
- "nav",
69
- "json",
70
- "passariello"
71
- ],
72
- "homepage": "https://github.com/passariello/menupro",
73
- "funding": [
74
- {
75
- "type": "individual",
76
- "url": "https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project&currency_code=CAD"
77
- },
78
- {
79
- "type": "patreon",
80
- "url": "https://www.patreon.com/passariello"
81
- }
82
- ],
83
- "repository": {
84
- "type": "git",
85
- "url": "https://github.com/passariello/menupro.git",
86
- "help": "https://github.com/passariello/menupro.git#readme"
87
- },
88
- "bugs": {
89
- "url": "https://github.com/passariello/menupro/issues"
90
- },
91
- "devDependencies": {
92
- "@babel/plugin-transform-class-properties": "7.23.3",
93
- "@babel/plugin-transform-runtime": "^7",
94
- "@babel/preset-env": "^7",
95
- "@babel/preset-react": "^7",
96
- "@babel/preset-typescript": "^7",
97
- "@types/react": "^18.2.52",
98
- "@types/react-dom": "^18.2.18",
99
- "babel-core": "7.0.0-bridge.0",
100
- "babel-loader": "^9.1.3",
101
- "babel-polyfill": "^6.26.0",
102
- "babel-preset-env": "1.7.0",
103
- "babel-preset-stage-0": "^6.24.1",
104
- "compression-webpack-plugin": "^11.0.0",
105
- "copy-webpack-plugin": "^12.0.2",
106
- "css-loader": "^6.10.0",
107
- "eslint": "8.56.0",
108
- "file-loader": "^6.2.0",
109
- "html-webpack-plugin": "^5.6.0",
110
- "jquery": "3.7.1",
111
- "npm-check-updates": "^16.14.14",
112
- "progress-bar-webpack-plugin": "^2.1.0",
113
- "react": "^18.2.0",
114
- "react-dom": "^18.2.0",
115
- "react-redux": "^9.1.0",
116
- "react-router": "^6.22.0",
117
- "react-router-dom": "^6.22.0",
118
- "sass": "^1.70.0",
119
- "sass-loader": "^14.1.0",
120
- "style-loader": "^3.3.4",
121
- "terser-webpack-plugin": "^5.3.10",
122
- "typescript": "^5.3.3",
123
- "url-loader": "^4.1.1",
124
- "webpack": "^5.90.1",
125
- "webpack-cli": "^5.1.4",
126
- "webpack-dev-server": "^4.15.1"
127
- }
128
- }
2
+ "name": "menupro",
3
+ "version": "0.1.0",
4
+ "description": "Generate nested menu like desktop apps",
5
+ "deprecated": false,
6
+ "appCode": "menupro",
7
+ "appCodeRelease": "menupro",
8
+ "appName": "menupro",
9
+ "appType": "beta",
10
+ "appFolder": "/",
11
+ "appAPI": "api",
12
+ "apiDev": "",
13
+ "apiProd": "",
14
+ "main": "index.ts",
15
+ "npmName": "menupro",
16
+ "npmFileMap": [
17
+ {
18
+ "basePath": "/dist/",
19
+ "files": [
20
+ "*.js"
21
+ ]
22
+ }
23
+ ],
24
+ "exports": {
25
+ ".": "./index.ts"
26
+ },
27
+ "types": "./index.ts",
28
+ "publishConfig": {
29
+ "exports": {
30
+ ".": "./index.ts"
31
+ },
32
+ "types": "./index.d.ts"
33
+ },
34
+ "targets": {
35
+ "main": {
36
+ "includeNodeModules": {
37
+ "react": false,
38
+ "react-dom": false
39
+ },
40
+ "isLibrary": true
41
+ }
42
+ },
43
+ "globals": {
44
+ "jQuery": {},
45
+ "$": {},
46
+ "dphelper": {},
47
+ "layerpro": {},
48
+ "menupro": {}
49
+ },
50
+ "engines": {
51
+ "node": ">=0.10.0"
52
+ },
53
+ "scripts": {
54
+ "make-dist": "webpack --progress --color --mode production --config webpack.config.js && cd dist && npm pack",
55
+ "backup": "cd mcp/backup && run.bat",
56
+ "git": "cd mcp/node && node gitDeploy",
57
+ "update": "cd mcp/node && node npmUpdate",
58
+ "lint": "eslint --ext .ts,.tsx,.js,.jsx --fix"
59
+ },
60
+ "eslintConfig": {
61
+ "globals": {
62
+ "window": true,
63
+ "menupro": true
64
+ }
65
+ },
66
+ "author": {
67
+ "name": "Dario Passariello",
68
+ "website": "https://dario.passariello.ca",
69
+ "email": "dariopassariello@gmail.com"
70
+ },
71
+ "license": "MIT",
72
+ "contributors": [
73
+ {
74
+ "name": "Dario Passariello",
75
+ "email": "dariopassariello@gmail.com"
76
+ },
77
+ {
78
+ "name": "Valeria Cala Scaglitta",
79
+ "email": "valeriacalascaglitta@gmail.com"
80
+ }
81
+ ],
82
+ "keywords": [
83
+ "application",
84
+ "top",
85
+ "menu",
86
+ "array",
87
+ "nav",
88
+ "json",
89
+ "passariello"
90
+ ],
91
+ "homepage": "https://github.com/passariello/menupro",
92
+ "funding": [
93
+ {
94
+ "type": "individual",
95
+ "url": "https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project&currency_code=CAD"
96
+ },
97
+ {
98
+ "type": "patreon",
99
+ "url": "https://www.patreon.com/passariello"
100
+ }
101
+ ],
102
+ "repository": {
103
+ "type": "git",
104
+ "url": "https://github.com/passariello/menupro.git",
105
+ "help": "https://github.com/passariello/menupro.git#readme"
106
+ },
107
+ "bugs": {
108
+ "url": "https://github.com/passariello/menupro/issues"
109
+ },
110
+ "devDependencies": {
111
+ "@babel/cli": "7.23.9",
112
+ "@babel/core": "7.23.9",
113
+ "@babel/eslint-parser": "^7.23.10",
114
+ "@babel/plugin-transform-class-properties": "7.23.3",
115
+ "@babel/plugin-transform-for-of": "^7.23.6",
116
+ "@babel/plugin-transform-object-rest-spread": "7.23.4",
117
+ "@babel/plugin-transform-runtime": "7.23.9",
118
+ "@babel/preset-env": "7.23.9",
119
+ "@babel/preset-react": "7.23.3",
120
+ "@babel/preset-typescript": "7.23.3",
121
+ "@babel/runtime": "^7.23.9",
122
+ "@testing-library/user-event": "^14.5.2",
123
+ "@types/node": "20.11.17",
124
+ "@types/react": "^18.2.55",
125
+ "@types/react-dom": "^18.2.19",
126
+ "@types/react-redux": "^7.1.33",
127
+ "@types/redux": "^3.6.31",
128
+ "@types/webpack-env": "1.18.4",
129
+ "@typescript-eslint/eslint-plugin": "7.0.1",
130
+ "@typescript-eslint/parser": "7.0.1",
131
+ "babel-loader": "9.1.3",
132
+ "babel-polyfill": "^6.26.0",
133
+ "babel-preset-env": "1.7.0",
134
+ "babel-preset-stage-0": "^6.24.1",
135
+ "compression-webpack-plugin": "^11.0.0",
136
+ "copy-webpack-plugin": "^12.0.2",
137
+ "css-loader": "^6.10.0",
138
+ "eslint": "8.56.0",
139
+ "file-loader": "^6.2.0",
140
+ "html-webpack-plugin": "^5.6.0",
141
+ "jquery": "3.7.1",
142
+ "npm-check-updates": "^16.14.15",
143
+ "progress-bar-webpack-plugin": "^2.1.0",
144
+ "react": "^18.2.0",
145
+ "react-dom": "^18.2.0",
146
+ "react-redux": "^9.1.0",
147
+ "react-router": "^6.22.0",
148
+ "react-router-dom": "^6.22.0",
149
+ "sass": "^1.70.0",
150
+ "sass-loader": "^14.1.0",
151
+ "style-loader": "^3.3.4",
152
+ "terser-webpack-plugin": "^5.3.10",
153
+ "typescript": "^5.3.3",
154
+ "url-loader": "^4.1.1",
155
+ "webpack": "^5.90.1",
156
+ "webpack-cli": "^5.1.4",
157
+ "webpack-dev-server": "^5.0.0"
158
+ }
159
+ }
@@ -0,0 +1,11 @@
1
+ /* Copyright: © 2019 Dario Passariello dariopassariello@gmail.com> */
2
+
3
+ declare module '*.htm'
4
+ declare module '*.html'
5
+
6
+ declare module '*.js' {
7
+ const value: any
8
+ export default value
9
+ }
10
+
11
+
@@ -0,0 +1,9 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module "*.svg" {
7
+ const value: any
8
+ export default value
9
+ }
@@ -0,0 +1,18 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare var $: any
7
+ declare module 'jquery'
8
+ declare var jQuery: any
9
+
10
+ // ////////////////////////////////////////////////////////////////
11
+
12
+ declare global {
13
+ interface window {
14
+ $: any
15
+ }
16
+ }
17
+
18
+ window.$ = window.jQuery = require('jquery')
@@ -0,0 +1,27 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module 'menupro'
7
+ declare module 'Menupro'
8
+
9
+ declare var menupro: any
10
+ declare var Menupro: any
11
+
12
+ ////////////////////////////////////////////////////////////////
13
+
14
+ declare global {
15
+ interface window {
16
+ menupro: any,
17
+ Menupro: any
18
+ }
19
+ }
20
+
21
+ if (typeof window === 'undefined') global.window = {}
22
+
23
+ window.menupro = window.menupro || {}
24
+ Menupro = window.menupro
25
+
26
+
27
+
@@ -0,0 +1,22 @@
1
+ /*
2
+ Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
3
+ License: MIT
4
+ */
5
+
6
+ declare module '*.less' {
7
+ const resource: { [key: string]: string }
8
+ export = resource
9
+ }
10
+
11
+ declare module '*.scss' {
12
+ const resource: { [key: string]: string }
13
+ export = resource
14
+ }
15
+
16
+ declare module '*.sass' {
17
+ const resource: { [key: string]: string }
18
+ export = resource
19
+ }
20
+
21
+
22
+