menupro 0.0.7 → 0.0.9

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,27 +1,93 @@
1
1
  {
2
2
  "name": "menupro",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Generate nested menu like desktop apps",
5
5
  "deprecated": false,
6
- "keywords": [
7
- "menu",
8
- "array",
9
- "nav",
10
- "json",
11
- "passariello"
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
+ }
12
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",
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
+ },
13
66
  "author": {
14
67
  "name": "Dario Passariello",
15
- "url": "https://github.com/passariello/",
68
+ "website": "https://dario.passariello.ca",
16
69
  "email": "dariopassariello@gmail.com"
17
70
  },
71
+ "license": "MIT",
18
72
  "contributors": [
19
73
  {
20
- "name": "Valeria Cala' Scaglitta",
21
- "email": "valeriacalascaglitta@gamil.com"
74
+ "name": "Dario Passariello",
75
+ "email": "dariopassariello@gmail.com"
76
+ },
77
+ {
78
+ "name": "Valeria Cala Scaglitta",
79
+ "email": "valeriacalascaglitta@gmail.com"
22
80
  }
23
81
  ],
24
- "license": "MIT",
82
+ "keywords": [
83
+ "application",
84
+ "top",
85
+ "menu",
86
+ "array",
87
+ "nav",
88
+ "json",
89
+ "passariello"
90
+ ],
25
91
  "homepage": "https://github.com/passariello/menupro",
26
92
  "funding": [
27
93
  {
@@ -35,10 +101,59 @@
35
101
  ],
36
102
  "repository": {
37
103
  "type": "git",
38
- "url": "git+https://github.com/passariello/menupro.git",
39
- "help": "git+https://github.com/passariello/menupro.git#readme"
104
+ "url": "https://github.com/passariello/menupro.git",
105
+ "help": "https://github.com/passariello/menupro.git#readme"
40
106
  },
41
107
  "bugs": {
42
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.16",
124
+ "@types/react": "^18.2.52",
125
+ "@types/react-dom": "^18.2.18",
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": "6.20.0",
130
+ "@typescript-eslint/parser": "6.20.0",
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.14",
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": "^4.15.1"
43
158
  }
44
159
  }
package/screenshot.png ADDED
Binary file
@@ -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
+
7
+ declare module 'menupro'
8
+ declare module 'Menupro'
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,27 @@
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
+ declare module '*.js' {
22
+ const resource: { [key: string]: string }
23
+ export = resource
24
+ }
25
+
26
+
27
+