|
19 | 19 | }, |
20 | 20 | "license": "MIT", |
21 | 21 | "author": "Tiso Alvarez Puccinelli", |
| 22 | + "type": "module", |
22 | 23 | "main": "dist/index.js", |
23 | 24 | "module": "dist/react-flow-smart-edge.esm.js", |
24 | 25 | "typings": "dist/index.d.ts", |
|
29 | 30 | "scripts": { |
30 | 31 | "build": "yarn build-storybook && yarn build-component", |
31 | 32 | "build-component": "dts build", |
32 | | - "build-storybook": "build-storybook", |
| 33 | + "build-storybook": "storybook build", |
33 | 34 | "check-types": "tsc --noEmit", |
34 | 35 | "chromatic": "chromatic --exit-zero-on-changes --project-token f5598c842f1a", |
35 | 36 | "deploy-component": "np --any-branch", |
|
40 | 41 | "predeploy": "yarn build", |
41 | 42 | "prepare": "dts build", |
42 | 43 | "start": "dts watch", |
43 | | - "storybook": "start-storybook -p 6006 --ci", |
| 44 | + "storybook": "storybook dev -p 6006 --ci", |
44 | 45 | "test": "yarn check-types && yarn lint && yarn test-storybook-ci", |
45 | 46 | "test-storybook": "test-storybook", |
46 | | - "test-storybook-ci": "concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook --quiet && http-server storybook-static --port 6006 --silent\" \"wait-on tcp:6006 && yarn test-storybook\"", |
| 47 | + "test-storybook-ci": "concurrently -k -s first -n 'SB,TEST' -c 'magenta,blue' 'http-server storybook-static --port 6006 --silent' 'wait-on tcp:6006 && yarn test-storybook --maxWorkers=2'", |
47 | 48 | "ui": "yarn upgrade-interactive --latest" |
48 | 49 | }, |
49 | 50 | "husky": { |
50 | 51 | "hooks": { |
51 | 52 | "pre-commit": "dts lint" |
52 | 53 | } |
53 | 54 | }, |
| 55 | + "resolutions": { |
| 56 | + "string-width": "^4.2.3", |
| 57 | + "strip-ansi": "^6.0.1" |
| 58 | + }, |
54 | 59 | "dependencies": { |
55 | | - "pathfinding": "0.4.18" |
| 60 | + "pathfinding": "^0.4.18" |
56 | 61 | }, |
57 | 62 | "devDependencies": { |
58 | | - "@babel/core": "7.20.2", |
59 | | - "@babel/plugin-syntax-flow": "7.18.6", |
60 | | - "@babel/plugin-transform-react-jsx": "7.19.0", |
61 | | - "@babel/preset-typescript": "7.18.6", |
62 | | - "@shopify/eslint-plugin": "42.0.1", |
63 | | - "@storybook/addon-essentials": "6.5.13", |
64 | | - "@storybook/addon-interactions": "6.5.13", |
65 | | - "@storybook/addons": "6.5.13", |
66 | | - "@storybook/builder-webpack5": "6.5.13", |
67 | | - "@storybook/components": "6.5.13", |
68 | | - "@storybook/core-events": "6.5.13", |
69 | | - "@storybook/jest": "0.0.10", |
70 | | - "@storybook/manager-webpack5": "6.5.13", |
71 | | - "@storybook/react": "6.5.13", |
72 | | - "@storybook/test-runner": "0.9.0", |
73 | | - "@storybook/testing-library": "0.0.13", |
74 | | - "@storybook/theming": "6.5.13", |
75 | | - "@tisoap/eslint-config-ts-react": "7.0.0", |
76 | | - "@types/node": "18.11.9", |
77 | | - "@types/pathfinding": "0.0.6", |
78 | | - "@types/react": "18.0.25", |
79 | | - "@types/react-dom": "18.0.9", |
80 | | - "@typescript-eslint/eslint-plugin": "5.43.0", |
81 | | - "@typescript-eslint/parser": "5.43.0", |
82 | | - "chromatic": "6.11.4", |
83 | | - "concurrently": "7.5.0", |
84 | | - "dts-cli": "1.6.0", |
85 | | - "eslint": "8.28.0", |
86 | | - "eslint-config-prettier": "8.5.0", |
87 | | - "eslint-plugin-flowtype": "8.0.3", |
88 | | - "eslint-plugin-import": "2.26.0", |
89 | | - "eslint-plugin-jest-dom": "4.0.3", |
90 | | - "eslint-plugin-jsx-a11y": "6.6.1", |
91 | | - "eslint-plugin-prettier": "4.2.1", |
92 | | - "eslint-plugin-react": "7.31.11", |
93 | | - "eslint-plugin-react-hooks": "4.6.0", |
94 | | - "eslint-plugin-react-prefer-function-component": "3.1.0", |
95 | | - "eslint-plugin-sonarjs": "0.16.0", |
96 | | - "eslint-plugin-storybook": "0.6.7", |
97 | | - "eslint-plugin-testing-library": "5.9.1", |
98 | | - "eslint-plugin-unicorn": "44.0.2", |
99 | | - "gh-pages": "4.0.0", |
100 | | - "http-server": "14.1.1", |
101 | | - "husky": "8.0.2", |
102 | | - "jest": "29.3.1", |
103 | | - "jest-circus": "29.3.1", |
104 | | - "jest-environment-node": "29.3.1", |
105 | | - "np": "7.6.2", |
106 | | - "playwright": "1.28.0", |
107 | | - "prettier": "2.7.1", |
108 | | - "react": "18.2.0", |
109 | | - "react-dom": "18.2.0", |
110 | | - "reactflow": "11.2.0", |
111 | | - "require-from-string": "2.0.2", |
112 | | - "typescript": "4.9.3", |
113 | | - "wait-on": "6.0.1", |
114 | | - "webpack": "5.75.0" |
| 63 | + "@babel/core": "^7.20.2", |
| 64 | + "@babel/plugin-syntax-flow": "^7.18.6", |
| 65 | + "@babel/plugin-transform-react-jsx": "^7.19.0", |
| 66 | + "@babel/preset-env": "^7.22.15", |
| 67 | + "@babel/preset-react": "^7.22.15", |
| 68 | + "@babel/preset-typescript": "^7.22.15", |
| 69 | + "@shopify/eslint-plugin": "^43.0.0", |
| 70 | + "@storybook/addon-essentials": "^7.4.0", |
| 71 | + "@storybook/addon-interactions": "^7.4.0", |
| 72 | + "@storybook/addons": "^7.4.0", |
| 73 | + "@storybook/components": "^7.4.0", |
| 74 | + "@storybook/core-events": "^7.4.0", |
| 75 | + "@storybook/jest": "^0.2.2", |
| 76 | + "@storybook/react": "^7.4.0", |
| 77 | + "@storybook/react-webpack5": "^7.4.0", |
| 78 | + "@storybook/test-runner": "^0.13.0", |
| 79 | + "@storybook/testing-library": "^0.2.0", |
| 80 | + "@storybook/theming": "^7.4.0", |
| 81 | + "@tisoap/eslint-config-ts-react": "^7.0.0", |
| 82 | + "@types/minimist": "^1.2.2", |
| 83 | + "@types/node": "^20.6.0", |
| 84 | + "@types/pathfinding": "^0.0.6", |
| 85 | + "@types/react": "^18.0.25", |
| 86 | + "@types/react-dom": "^18.0.9", |
| 87 | + "@typescript-eslint/eslint-plugin": "^6.6.0", |
| 88 | + "@typescript-eslint/parser": "^6.6.0", |
| 89 | + "chromatic": "^7.1.0", |
| 90 | + "concurrently": "^8.2.1", |
| 91 | + "dts-cli": "^2.0.3", |
| 92 | + "eslint": "^8.28.0", |
| 93 | + "eslint-config-prettier": "^9.0.0", |
| 94 | + "eslint-plugin-flowtype": "^8.0.3", |
| 95 | + "eslint-plugin-import": "^2.26.0", |
| 96 | + "eslint-plugin-jest-dom": "^5.1.0", |
| 97 | + "eslint-plugin-jsx-a11y": "^6.6.1", |
| 98 | + "eslint-plugin-prettier": "^5.0.0", |
| 99 | + "eslint-plugin-react": "^7.31.11", |
| 100 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 101 | + "eslint-plugin-react-prefer-function-component": "^3.1.0", |
| 102 | + "eslint-plugin-sonarjs": "^0.21.0", |
| 103 | + "eslint-plugin-storybook": "^0.6.13", |
| 104 | + "eslint-plugin-testing-library": "^6.0.1", |
| 105 | + "eslint-plugin-unicorn": "^48.0.1", |
| 106 | + "gh-pages": "^6.0.0", |
| 107 | + "http-server": "^14.1.1", |
| 108 | + "husky": "^8.0.2", |
| 109 | + "jest": "^29.3.1", |
| 110 | + "jest-circus": "^29.3.1", |
| 111 | + "jest-environment-node": "^29.3.1", |
| 112 | + "np": "^8.0.4", |
| 113 | + "playwright": "^1.28.0", |
| 114 | + "prettier": "^3.0.3", |
| 115 | + "react": "^18.2.0", |
| 116 | + "react-dom": "^18.2.0", |
| 117 | + "reactflow": "^11.2.0", |
| 118 | + "require-from-string": "^2.0.2", |
| 119 | + "storybook": "^7.4.0", |
| 120 | + "string-width": "^4.2.3", |
| 121 | + "strip-ansi": "^6.0.1", |
| 122 | + "typescript": "^5.2.2", |
| 123 | + "wait-on": "^7.0.1", |
| 124 | + "webpack": "^5.75.0" |
115 | 125 | }, |
116 | 126 | "peerDependencies": { |
117 | 127 | "react": ">=17", |
|
120 | 130 | "typescript": ">=4.6" |
121 | 131 | }, |
122 | 132 | "engines": { |
123 | | - "node": ">=16", |
124 | | - "npm": "^8.0.0" |
| 133 | + "node": ">=18", |
| 134 | + "npm": ">=8" |
125 | 135 | } |
126 | 136 | } |
0 commit comments