|
3 | 3 | "version": "4.0.0-beta.0",
|
4 | 4 | "description": "Drag-and-drop sortable component for nested data and hierarchies",
|
5 | 5 | "main": "./index.js",
|
6 |
| - "module": "./esm/index.js", |
7 | 6 | "types": "./index.d.ts",
|
8 | 7 | "exports": {
|
9 | 8 | "./package.json": "./package.json",
|
10 |
| - "./": "./", |
11 | 9 | ".": {
|
12 | 10 | "types": "./index.d.ts",
|
13 | 11 | "module": "./esm/index.js",
|
14 |
| - "import": "./esm/index.js", |
| 12 | + "import": "./esm/index.mjs", |
15 | 13 | "default": "./index.js"
|
16 | 14 | }
|
17 | 15 | },
|
|
25 | 23 | "build:storybook": "build-storybook -o build",
|
26 | 24 | "clean": "rimraf dist",
|
27 | 25 | "clean:storybook": "rimraf build",
|
28 |
| - "lint": "eslint \"**/*.{ts,tsx}\" --fix", |
| 26 | + "lint": "eslint --fix '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'", |
29 | 27 | "prepublishOnly": "yarn test && yarn build",
|
30 | 28 | "release": "standard-version",
|
31 | 29 | "test": "jest --env=jsdom",
|
32 | 30 | "test:watch": "jest --watchAll",
|
33 | 31 | "storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0",
|
34 | 32 | "postbuild": "yarn copy",
|
35 |
| - "copy": "rimraf dist/tests.d.ts && shx cp -r dist/*.d.ts dist/esm && shx mv dist/* dist && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\" && shx echo '{\"type\":\"module\"}' > dist/esm/package.json && json -I -f dist/esm/package.json", |
| 33 | + "copy": "rimraf dist/tests.d.ts && shx cp -r dist/*.d.ts dist/esm && shx mv dist/* dist && shx cp package.json readme.md LICENSE dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined; this['lint-staged']=undefined;\"", |
36 | 34 | "publish:alpha": "cd dist && npm publish --tag alpha",
|
37 | 35 | "publish:beta": "cd dist && npm publish --tag beta",
|
38 | 36 | "publish:release": "cd dist && npm publish"
|
|
129 | 127 | "react-virtualized": "^9.22.3"
|
130 | 128 | },
|
131 | 129 | "devDependencies": {
|
132 |
| - "@babel/core": "^7.15.0", |
133 |
| - "@babel/eslint-parser": "^7.15.0", |
134 |
| - "@babel/helper-module-imports": "^7.14.5", |
| 130 | + "@babel/core": "^7.15.5", |
| 131 | + "@babel/eslint-parser": "^7.15.4", |
| 132 | + "@babel/helper-module-imports": "^7.15.4", |
135 | 133 | "@babel/plugin-transform-react-jsx": "^7.14.9",
|
136 |
| - "@babel/preset-env": "^7.15.0", |
137 |
| - "@babel/types": "^7.15.0", |
| 134 | + "@babel/preset-env": "^7.15.4", |
| 135 | + "@babel/types": "^7.15.4", |
138 | 136 | "@nosferatu500/theme-file-explorer": "^3.0.6",
|
139 | 137 | "@rollup/plugin-babel": "^5.3.0",
|
140 | 138 | "@rollup/plugin-node-resolve": "^13.0.4",
|
141 | 139 | "@rollup/plugin-typescript": "^8.2.5",
|
142 |
| - "@storybook/addon-storyshots": "^6.3.7", |
143 |
| - "@storybook/addons": "^6.3.7", |
144 |
| - "@storybook/react": "^6.3.7", |
145 |
| - "@storybook/theming": "^6.3.7", |
| 140 | + "@storybook/addon-storyshots": "^6.3.8", |
| 141 | + "@storybook/addons": "^6.3.8", |
| 142 | + "@storybook/react": "^6.3.8", |
| 143 | + "@storybook/theming": "^6.3.8", |
146 | 144 | "@testing-library/react": "^12.0.0",
|
147 | 145 | "@types/babel-plugin-macros": "^2.8.5",
|
148 | 146 | "@types/enzyme": "^3.10.9",
|
149 | 147 | "@types/jest": "^27.0.1",
|
150 | 148 | "@types/lodash.isequal": "^4.5.5",
|
151 |
| - "@types/react": "^17.0.18", |
| 149 | + "@types/react": "^17.0.20", |
152 | 150 | "@types/react-dom": "^17.0.9",
|
153 | 151 | "@types/react-lifecycles-compat": "^3.0.1",
|
154 | 152 | "@types/react-test-renderer": "^17.0.1",
|
155 | 153 | "@types/react-virtualized": "^9.21.13",
|
156 |
| - "@typescript-eslint/eslint-plugin": "^4.29.2", |
157 |
| - "@typescript-eslint/parser": "^4.29.2", |
| 154 | + "@typescript-eslint/eslint-plugin": "^4.30.0", |
| 155 | + "@typescript-eslint/parser": "^4.30.0", |
158 | 156 | "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
|
159 | 157 | "acorn-jsx": "^5.3.2",
|
160 | 158 | "babel-plugin-macros": "^3.1.0",
|
161 | 159 | "babel-plugin-tester": "^10.1.0",
|
162 | 160 | "enzyme": "^3.11.0",
|
163 |
| - "esbuild": "^0.12.20", |
| 161 | + "esbuild": "^0.12.25", |
164 | 162 | "eslint": "^7.32.0",
|
165 | 163 | "eslint-config-prettier": "^8.3.0",
|
166 |
| - "eslint-plugin-import": "^2.24.0", |
| 164 | + "eslint-plugin-import": "^2.24.2", |
167 | 165 | "eslint-plugin-jest": "^24.4.0",
|
168 |
| - "eslint-plugin-prettier": "^3.4.0", |
169 |
| - "eslint-plugin-react": "^7.24.0", |
170 |
| - "jest": "^27.0.6", |
| 166 | + "eslint-plugin-prettier": "^4.0.0", |
| 167 | + "eslint-plugin-react": "^7.25.1", |
| 168 | + "jest": "^27.1.0", |
171 | 169 | "jest-enzyme": "^7.1.2",
|
172 | 170 | "json": "^11.0.0",
|
173 | 171 | "postcss": "^8.3.6",
|
|
178 | 176 | "react-dom": "^17.0.2",
|
179 | 177 | "react-test-renderer": "^17.0.2",
|
180 | 178 | "rimraf": "^3.0.2",
|
181 |
| - "rollup": "^2.56.2", |
| 179 | + "rollup": "^2.56.3", |
182 | 180 | "rollup-plugin-esbuild": "^4.5.0",
|
183 | 181 | "rollup-plugin-postcss": "^4.0.1",
|
184 | 182 | "rollup-plugin-size-snapshot": "^0.12.0",
|
185 | 183 | "shx": "^0.3.3",
|
186 | 184 | "ts-jest": "^27.0.5",
|
187 | 185 | "tslib": "^2.3.1",
|
188 |
| - "typescript": "^4.3.5" |
| 186 | + "typescript": "4.3.5" |
189 | 187 | },
|
190 | 188 | "peerDependencies": {
|
191 | 189 | "react": ">=17.0.0",
|
|
0 commit comments