@bigbinary/neeto-webhooks-frontend 0.0.3 → 0.0.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-webhooks-frontend",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Manage webhooks across neeto products.",
5
5
  "author": "BigBinary",
6
6
  "license": "MIT",
@@ -14,9 +14,10 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "prepare": "husky install",
17
- "start": "NODE_ENV=development rm -rf dist && webpack-dev-server --open --mode development",
17
+ "start": "vite",
18
18
  "build": "NODE_ENV=production rollup -c rollup.config.js",
19
- "build-preview": "NODE_ENV=production webpack"
19
+ "server": "node example/db --watch example/db/data",
20
+ "dev": "(trap 'kill 0' SIGINT; vite & yarn server)"
20
21
  },
21
22
  "lint-staged": {
22
23
  "src/**/*.{js,jsx,json}": [
@@ -51,6 +52,7 @@
51
52
  "@rollup/plugin-json": "4.1.0",
52
53
  "@rollup/plugin-node-resolve": "14.1.0",
53
54
  "@rollup/plugin-replace": "4.0.0",
55
+ "@vitejs/plugin-react": "^3.1.0",
54
56
  "antd": "4.18.7",
55
57
  "axios": "0.27.2",
56
58
  "babel-loader": "8.2.5",
@@ -75,6 +77,7 @@
75
77
  "html-webpack-plugin": "5.5.0",
76
78
  "husky": "^8.0.0",
77
79
  "i18next": "21.9.2",
80
+ "json-server": "^0.17.1",
78
81
  "lint-staged": "13.0.3",
79
82
  "postcss-loader": "7.0.1",
80
83
  "prettier": "2.7.1",
@@ -101,9 +104,8 @@
101
104
  "sass": "1.55.0",
102
105
  "sass-loader": "13.0.2",
103
106
  "style-loader": "3.3.1",
104
- "webpack": "5.74.0",
105
- "webpack-cli": "4.10.0",
106
- "webpack-dev-server": "4.11.1",
107
+ "util": "^0.12.5",
108
+ "vite": "^4.1.3",
107
109
  "yup": "0.32.11"
108
110
  },
109
111
  "peerDependencies": {