hart-estate-widget 0.0.67 → 0.0.70

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
@@ -2,11 +2,15 @@
2
2
  "name": "hart-estate-widget",
3
3
  "description": "HART Estate widget",
4
4
  "author": "HART",
5
- "keywords": [],
6
- "version": "0.0.67",
5
+ "keywords": [
6
+ "estate",
7
+ "widget",
8
+ "hart"
9
+ ],
10
+ "version": "0.0.70",
7
11
  "private": false,
8
- "main": "build/index.js",
9
- "module": "build/index.js",
12
+ "main": "build/widget.module.js",
13
+ "module": "build/widget.module.js",
10
14
  "files": [
11
15
  "build",
12
16
  "README.md"
@@ -15,10 +19,10 @@
15
19
  "node": "^16.0.0"
16
20
  },
17
21
  "scripts": {
18
- "start": "babel src --watch -d build --copy-files",
19
- "start-example": "cd ./example && npm run start",
20
- "build": "rm -rf build && gulp build",
21
- "production": "rm -rf build && gulp production",
22
+ "cleanup": "rm -rf build",
23
+ "start": "npm run cleanup && webpack --mode development --watch",
24
+ "start-example": "cd example && npm run start",
25
+ "build": "npm run cleanup && webpack --mode production",
22
26
  "local-tunnel": "Lt --port 9000 --subdomain estate-widget --local-host localhost"
23
27
  },
24
28
  "dependencies": {
@@ -39,27 +43,24 @@
39
43
  "ua-parser-js": "^1.0.2"
40
44
  },
41
45
  "devDependencies": {
42
- "@babel/cli": "^7.17.0",
43
46
  "@babel/core": "^7.17.0",
44
47
  "@babel/eslint-parser": "^7.16.3",
48
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
49
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
45
50
  "@babel/preset-env": "^7.16.11",
46
- "babel-plugin-inline-import-data-uri": "^1.0.1",
47
- "babelify": "^10.0.0",
48
- "browserify": "^17.0.0",
51
+ "@babel/preset-react": "^7.18.6",
52
+ "babel-loader": "^8.2.5",
53
+ "css-loader": "^6.6.0",
49
54
  "eslint": "^8.0.0",
50
55
  "eslint-config-react-app": "^7.0.0",
51
56
  "eslint-plugin-react": "^7.28.0",
52
- "gulp": "^4.0.2",
53
- "gulp-babel": "^8.0.0",
54
- "gulp-clean-css": "^4.3.0",
55
- "gulp-cli": "^2.3.0",
56
- "gulp-sass": "^5.1.0",
57
- "gulp-sourcemaps": "^3.0.0",
58
- "gulp-streamify": "^1.0.2",
59
- "gulp-uglify": "^3.0.2",
60
57
  "path": "^0.12.7",
61
58
  "sass": "^1.46.0",
62
- "vinyl-source-stream": "^2.0.0"
59
+ "sass-loader": "^12.4.0",
60
+ "style-loader": "^3.3.1",
61
+ "webpack": "^5.74.0",
62
+ "webpack-cli": "^4.10.0",
63
+ "webpack-dev-server": "^4.7.4"
63
64
  },
64
65
  "browserslist": [
65
66
  ">0.2%",