@mp70/react-networks 0.5.0-rc.1 → 0.6.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,6 +1,7 @@
1
1
  {
2
2
  "name": "@mp70/react-networks",
3
- "version": "0.5.0-rc.1",
3
+ "version": "0.6.0",
4
+ "private": false,
4
5
  "description": "React components for network diagrams using React Flow",
5
6
  "main": "dist/index.js",
6
7
  "module": "dist/index.mjs",
@@ -19,11 +20,48 @@
19
20
  "files": [
20
21
  "dist"
21
22
  ],
23
+ "scripts": {
24
+ "build": "tsup",
25
+ "dev": "tsup --watch",
26
+ "lint": "eslint src --ext .ts,.tsx",
27
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
28
+ "type-check": "tsc --noEmit",
29
+ "type-check:public-api": "tsc --noEmit -p contracts/public-api/tsconfig.json",
30
+ "api:report": "api-extractor run --local --config api-extractor.json",
31
+ "api:check": "api-extractor run --config api-extractor.json",
32
+ "test": "jest",
33
+ "test:watch": "jest --watch",
34
+ "test:coverage": "jest --coverage",
35
+ "release:check": "npm run build && npm run lint && npm run type-check && npm run type-check:public-api && npm run test -- --runInBand && npm run api:check",
36
+ "prepublishOnly": "npm run release:check",
37
+ "prepack": "npm run build",
38
+ "publish:latest": "node ../../scripts/publish-scoped-package.mjs --name @mp70/react-networks --tag latest"
39
+ },
22
40
  "peerDependencies": {
23
41
  "react": "^18 || ^19",
24
42
  "react-dom": "^18 || ^19",
25
43
  "reactflow": "^11.0.0"
26
44
  },
45
+ "devDependencies": {
46
+ "@microsoft/api-extractor": "^7.52.11",
47
+ "@testing-library/jest-dom": "^6.9.1",
48
+ "@testing-library/react": "^16.3.0",
49
+ "@testing-library/user-event": "^14.6.1",
50
+ "@types/jest": "^29.0.0",
51
+ "@types/react": "^19.0.0",
52
+ "@types/react-dom": "^19.0.0",
53
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
54
+ "@typescript-eslint/parser": "^7.0.0",
55
+ "eslint": "^8.0.0",
56
+ "eslint-plugin-react": "^7.35.0",
57
+ "eslint-plugin-react-hooks": "^4.0.0",
58
+ "jest": "^29.0.0",
59
+ "jest-environment-jsdom": "^29.7.0",
60
+ "jsdom": "^20.0.3",
61
+ "ts-jest": "^29.4.5",
62
+ "tsup": "^8.0.0",
63
+ "typescript": "^5.0.0"
64
+ },
27
65
  "keywords": [
28
66
  "react",
29
67
  "network",
@@ -37,8 +75,5 @@
37
75
  "license": "AGPL-3.0 OR Commercial",
38
76
  "dependencies": {
39
77
  "html-to-image": "^1.11.11"
40
- },
41
- "publishConfig": {
42
- "access": "public"
43
78
  }
44
79
  }