@machinemetrics/mm-react-tools 2.2.0-dev → 3.0.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.
package/package.json CHANGED
@@ -1,68 +1,44 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "2.2.0-dev",
3
+ "version": "3.0.0",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",
7
7
  "repository": "git@github.com:machinemetrics/mm-react-tools.git",
8
- "main": "dist/index.js",
9
- "module": "dist/index.modern.js",
8
+ "module": "dist/mm-react-tools.es.js",
10
9
  "source": "src/index.js",
10
+ "type": "module",
11
11
  "engines": {
12
12
  "node": ">=16"
13
13
  },
14
14
  "scripts": {
15
- "build": "microbundle-crl --no-compress --format modern,cjs",
16
- "start": "microbundle-crl watch --no-compress --format modern,cjs",
17
- "prepare": "run-s build",
18
- "test": "run-s test:unit test:lint test:build",
19
- "test:build": "run-s build",
20
- "test:lint": "eslint .",
21
- "test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
22
- "test:watch": "react-scripts test --env=jsdom",
23
- "predeploy": "cd example && yarn install && yarn run build",
24
- "deploy": "gh-pages -d example/build"
15
+ "build": "vite build",
16
+ "start": "vite build --watch"
25
17
  },
26
18
  "peerDependencies": {
27
- "@apollo/client": ">=3.8.0",
28
- "react": ">=18.0.0",
29
- "react-router-dom": ">=6.9.0",
30
- "styled-components": ">=5.3.9"
19
+ "@apollo/client": "^3.10.8",
20
+ "react": "^18.3.1",
21
+ "react-router-dom": "^6.25.1",
22
+ "styled-components": "^6.1.12"
31
23
  },
32
24
  "devDependencies": {
33
- "babel-eslint": "^10.0.3",
34
- "cross-env": "^7.0.3",
35
- "eslint": "^8.51.0",
36
- "eslint-config-prettier": "^9.0.0",
37
- "eslint-config-standard": "^17.1.0",
38
- "eslint-config-standard-react": "^13.0.0",
39
- "eslint-plugin-import": "^2.28.1",
40
- "eslint-plugin-node": "^11.1.0",
41
- "eslint-plugin-prettier": "^5.0.0",
42
- "eslint-plugin-promise": "^6.1.1",
43
- "eslint-plugin-react": "^7.33.2",
44
- "eslint-plugin-standard": "^5.0.0",
45
- "gh-pages": "^6.0.0",
46
- "microbundle-crl": "^0.13.11",
47
- "npm-run-all": "^4.1.5",
48
- "prettier": "^3.0.3"
25
+ "@vitejs/plugin-react": "^4.3.1",
26
+ "prettier": "^3.3.3",
27
+ "vite": "^5.3.4"
49
28
  },
50
29
  "files": [
51
30
  "dist"
52
31
  ],
53
32
  "dependencies": {
54
33
  "apollo-link-rest": "^0.9.0",
55
- "cloudevents": "^8.0.0",
56
- "graphql": "^16.8.1",
57
- "graphql-anywhere": "^4.2.8",
58
- "graphql-ws": "^5.14.1",
34
+ "cloudevents": "^8.0.1",
35
+ "graphql": "^16.9.0",
36
+ "graphql-ws": "^5.16.0",
59
37
  "lodash": "^4.17.21",
60
- "luxon": "^3.4.3",
61
- "nats.ws": "^1.18.0",
62
- "qs": "^6.11.2",
63
- "query-string": "^8.1.0",
64
- "url-parser": "^0.0.1",
65
- "uuid": "^9.0.1",
66
- "ws": "^8.14.2"
38
+ "luxon": "^3.4.4",
39
+ "nats.ws": "^1.29.0",
40
+ "query-string": "^9.0.0",
41
+ "uuid": "^10.0.0",
42
+ "ws": "^8.18.0"
67
43
  }
68
44
  }