dphelper 2.0.2 → 2.0.5

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,17 +1,14 @@
1
1
  {
2
2
  "name": "dphelper",
3
- "version": "2.0.2",
3
+ "version": "2.0.5",
4
4
  "description": "dphelper devtools, data management for developers by Dario Passariello",
5
5
  "homepage": "https://a51.gitbook.io/dphelper",
6
6
  "copyright": "Dario Passariello",
7
7
  "license": "MIT",
8
+ "main": "./index.js",
8
9
  "deprecated": false,
9
- "type": "module",
10
+ "preferGlobal": true,
10
11
  "target": "web",
11
- "main": "./index.umd.cjs",
12
- "module": "./index.js",
13
- "types": "./index.d.ts",
14
- "typings": "./types/*",
15
12
  "language": {
16
13
  "en": {}
17
14
  },
@@ -64,6 +61,47 @@
64
61
  "email": "valeriacalascaglitta@gmail.com"
65
62
  }
66
63
  ],
64
+ "workspaces": [
65
+ ".dev"
66
+ ],
67
+ "npmName": "dphelper",
68
+ "npmFileMap": [
69
+ {
70
+ "basePath": "./dist/",
71
+ "files": [
72
+ "*.js"
73
+ ]
74
+ }
75
+ ],
76
+ "globals": {
77
+ "dphelper": {},
78
+ "jQuery": {},
79
+ "$": {}
80
+ },
81
+ "browserslist": {
82
+ "production": [
83
+ "last 2 Chrome major versions",
84
+ "last 2 Firefox major versions",
85
+ "last 2 Safari major versions",
86
+ "last 2 Edge major versions",
87
+ "last 2 Opera versions",
88
+ "last 2 iOS major versions",
89
+ "last 1 Explorer major version",
90
+ "last 1 ChromeAndroid version",
91
+ "last 1 UCAndroid version",
92
+ "last 1 Samsung version",
93
+ "last 1 OperaMini version",
94
+ "Firefox ESR",
95
+ ">0.2%",
96
+ "not dead",
97
+ "not op_mini all"
98
+ ],
99
+ "development": [
100
+ "last 1 chrome version",
101
+ "last 1 firefox version",
102
+ "last 1 safari version"
103
+ ]
104
+ },
67
105
  "keywords": [
68
106
  "dphelper",
69
107
  "helper",
@@ -88,6 +126,9 @@
88
126
  "dario",
89
127
  "passariello"
90
128
  ],
129
+ "bugs": {
130
+ "url": "https://github.com/a51-dev/a51.dphelper.public/issues"
131
+ },
91
132
  "funding": [
92
133
  {
93
134
  "type": "patreon",
@@ -95,35 +136,49 @@
95
136
  }
96
137
  ],
97
138
  "scripts": {
98
- "build": "vite build",
139
+ "build": "webpack --progress --profile --color --mode=production --config webpack.ts",
140
+ "watch": "webpack --watch --progress --profile --color --mode=development --config webpack.ts",
99
141
  "-----------": "",
100
142
  "npm:publish": "npm run build && cd dist && ls -al && npm publish"
101
143
  },
144
+ "engines": {
145
+ "node": ">=18",
146
+ "pnpm": ">=10"
147
+ },
148
+ "esnext:main": "./index.js",
149
+ "types": "./index.d.ts",
150
+ "typings": "./types/*",
151
+ "exports": {
152
+ ".": {
153
+ "types": "./index.d.ts",
154
+ "default": "./index.js"
155
+ },
156
+ "./package.json": "./package.json",
157
+ "./*": "./*"
158
+ },
102
159
  "dependencies": {
103
160
  "dphelper.types": "0.0.20",
104
161
  "memorio": "1.2.6"
105
162
  },
106
163
  "devDependencies": {
107
164
  "@eslint/js": "9.39.1",
108
- "@types/jest": "30.0.0",
109
165
  "@types/node": "^24.10.1",
166
+ "@types/webpack-env": "1.18.8",
110
167
  "@typescript-eslint/eslint-plugin": "8.48.0",
111
168
  "@typescript-eslint/parser": "8.48.0",
112
- "@vitejs/plugin-react": "5.1.1",
169
+ "ajv": "8.17.1",
170
+ "copy-webpack-plugin": "^13.0.1",
113
171
  "crypto-js": "4.2.0",
114
172
  "eslint": "9.39.1",
115
- "jest": "30.2.0",
116
- "jest-environment-jsdom": "30.2.0",
173
+ "file-loader": "6.2.0",
117
174
  "jquery": "3.7.1",
118
- "terser": "5.44.1",
119
- "ts-jest": "29.4.5",
175
+ "terser-webpack-plugin": "^5.3.14",
176
+ "ts-loader": "^9.5.4",
120
177
  "ts-node": "10.9.2",
121
178
  "tslib": "^2.8.1",
122
179
  "typescript": "5.9.3",
123
- "vite": "7.2.4",
124
- "vite-plugin-compression": "0.5.1",
125
- "vite-plugin-dynamic-import": "1.6.0",
126
- "vite-plugin-require": "1.2.14",
127
- "vite-plugin-static-copy": "3.1.4"
180
+ "webpack": "^5.103.0",
181
+ "webpack-cli": "6.0.1",
182
+ "webpack-dev-server": "^5.2.2"
128
183
  }
129
184
  }
package/index.js.gz DELETED
Binary file