|
1 | 1 | {
|
2 | 2 | "name": "@nosferatu500/react-sortable-tree",
|
3 |
| - "version": "4.0.0-beta.11", |
| 3 | + "version": "4.0.0-beta.12", |
4 | 4 | "description": "Drag-and-drop sortable component for nested data and hierarchies",
|
5 | 5 | "main": "./index.js",
|
6 | 6 | "types": "./index.d.ts",
|
|
18 | 18 | ],
|
19 | 19 | "sideEffects": false,
|
20 | 20 | "scripts": {
|
21 |
| - "prebuild": "yarn clean && yarn lint", |
| 21 | + "prebuild": "yarn clean", |
22 | 22 | "build": "rollup -c",
|
23 | 23 | "build:storybook": "build-storybook -o build",
|
24 | 24 | "clean": "rimraf dist",
|
25 | 25 | "clean:storybook": "rimraf build",
|
26 | 26 | "lint": "eslint --fix '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'",
|
27 |
| - "prepublishOnly": "yarn test && yarn build", |
| 27 | + "prepublishOnly": "yarn build", |
28 | 28 | "release": "standard-version",
|
29 |
| - "test": "jest --env=jsdom", |
30 |
| - "test:watch": "jest --watchAll", |
31 | 29 | "storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0",
|
32 | 30 | "postbuild": "yarn copy",
|
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;\"", |
| 31 | + "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['lint-staged']=undefined;\"", |
34 | 32 | "publish:alpha": "cd dist && npm publish --tag alpha",
|
35 | 33 | "publish:beta": "cd dist && npm publish --tag beta",
|
36 | 34 | "publish:release": "cd dist && npm publish"
|
|
65 | 63 | ],
|
66 | 64 | "license": "MIT",
|
67 | 65 | "bugs": "https://github.com/nosferatu500/react-sortable-tree/issues",
|
68 |
| - "jest": { |
69 |
| - "transform": { |
70 |
| - "^.+\\.jsx?$": "babel-jest", |
71 |
| - "^.+\\.tsx?$": "ts-jest" |
72 |
| - }, |
73 |
| - "globals": { |
74 |
| - "ts-jest": { |
75 |
| - "tsconfig": { |
76 |
| - "target": "es2015", |
77 |
| - "jsx": "react-jsx" |
78 |
| - } |
79 |
| - } |
80 |
| - }, |
81 |
| - "setupFilesAfterEnv": [ |
82 |
| - "./node_modules/jest-enzyme/lib/index.js" |
83 |
| - ], |
84 |
| - "setupFiles": [ |
85 |
| - "./test-config/shim.js", |
86 |
| - "./test-config/test-setup.js" |
87 |
| - ], |
88 |
| - "moduleFileExtensions": [ |
89 |
| - "js", |
90 |
| - "jsx", |
91 |
| - "json", |
92 |
| - "ts", |
93 |
| - "tsx" |
94 |
| - ], |
95 |
| - "moduleDirectories": [ |
96 |
| - "node_modules" |
97 |
| - ], |
98 |
| - "modulePathIgnorePatterns": [ |
99 |
| - "dist" |
100 |
| - ], |
101 |
| - "moduleNameMapper": { |
102 |
| - "\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", |
103 |
| - "^dnd-core$": "dnd-core/dist/cjs", |
104 |
| - "^react-dnd$": "react-dnd/dist/cjs", |
105 |
| - "^react-dnd-html5-backend$": "react-dnd-html5-backend/dist/cjs", |
106 |
| - "^react-dnd-touch-backend$": "react-dnd-touch-backend/dist/cjs", |
107 |
| - "^react-dnd-test-backend$": "react-dnd-test-backend/dist/cjs", |
108 |
| - "^react-dnd-test-utils$": "react-dnd-test-utils/dist/cjs" |
109 |
| - }, |
110 |
| - "coverageDirectory": "./coverage/", |
111 |
| - "collectCoverage": true, |
112 |
| - "coverageReporters": [ |
113 |
| - "json", |
114 |
| - "html", |
115 |
| - "text", |
116 |
| - "text-summary" |
117 |
| - ], |
118 |
| - "collectCoverageFrom": [ |
119 |
| - "src/**/*.{js,ts,tsx}", |
120 |
| - "tests/**/*.{js,ts,tsx}" |
121 |
| - ] |
122 |
| - }, |
123 | 66 | "dependencies": {
|
124 | 67 | "@nosferatu500/react-dnd-scrollzone": "^2.0.4",
|
125 | 68 | "lodash.isequal": "^4.5.0",
|
126 | 69 | "react-dnd": "^14.0.4",
|
127 | 70 | "react-dnd-html5-backend": "^14.0.2",
|
128 |
| - "react-virtuoso": "^2.2.4" |
| 71 | + "react-virtuoso": "^2.2.6" |
129 | 72 | },
|
130 | 73 | "devDependencies": {
|
131 |
| - "@babel/core": "^7.15.8", |
132 |
| - "@babel/eslint-parser": "^7.15.8", |
133 |
| - "@babel/helper-module-imports": "^7.15.4", |
134 |
| - "@babel/plugin-transform-react-jsx": "^7.14.9", |
135 |
| - "@babel/preset-env": "^7.15.8", |
136 |
| - "@babel/types": "^7.15.6", |
| 74 | + "@babel/core": "^7.16.0", |
| 75 | + "@babel/eslint-parser": "^7.16.0", |
| 76 | + "@babel/helper-module-imports": "^7.16.0", |
| 77 | + "@babel/plugin-transform-react-jsx": "^7.16.0", |
| 78 | + "@babel/preset-env": "^7.16.0", |
| 79 | + "@babel/types": "^7.16.0", |
137 | 80 | "@nosferatu500/theme-file-explorer": "^3.0.10",
|
138 | 81 | "@rollup/plugin-babel": "^5.3.0",
|
139 | 82 | "@rollup/plugin-node-resolve": "^13.0.6",
|
140 | 83 | "@rollup/plugin-typescript": "^8.3.0",
|
141 |
| - "@storybook/addon-storyshots": "^6.3.12", |
142 | 84 | "@storybook/addons": "^6.3.12",
|
143 | 85 | "@storybook/react": "^6.3.12",
|
144 | 86 | "@storybook/theming": "^6.3.12",
|
145 |
| - "@testing-library/react": "^12.1.2", |
146 | 87 | "@types/babel-plugin-macros": "^2.8.5",
|
147 |
| - "@types/enzyme": "^3.10.10", |
148 |
| - "@types/jest": "^27.0.2", |
149 | 88 | "@types/lodash.isequal": "^4.5.5",
|
150 |
| - "@types/react": "^17.0.32", |
151 |
| - "@types/react-dom": "^17.0.10", |
152 |
| - "@types/react-test-renderer": "^17.0.1", |
153 |
| - "@typescript-eslint/eslint-plugin": "^5.1.0", |
154 |
| - "@typescript-eslint/parser": "^5.1.0", |
155 |
| - "@wojtekmaj/enzyme-adapter-react-17": "^0.6.5", |
| 89 | + "@types/react": "^17.0.34", |
| 90 | + "@types/react-dom": "^17.0.11", |
| 91 | + "@typescript-eslint/eslint-plugin": "^5.3.0", |
| 92 | + "@typescript-eslint/parser": "^5.3.0", |
156 | 93 | "acorn-jsx": "^5.3.2",
|
157 | 94 | "babel-plugin-macros": "^3.1.0",
|
158 |
| - "babel-plugin-tester": "^10.1.0", |
159 |
| - "enzyme": "^3.11.0", |
160 |
| - "esbuild": "^0.13.9", |
161 |
| - "eslint": "^8.1.0", |
| 95 | + "esbuild": "^0.13.12", |
| 96 | + "eslint": "^8.2.0", |
162 | 97 | "eslint-config-prettier": "^8.3.0",
|
| 98 | + "eslint-plugin-array-func": "^3.1.7", |
163 | 99 | "eslint-plugin-import": "^2.25.2",
|
164 |
| - "eslint-plugin-jest": "^25.2.2", |
165 | 100 | "eslint-plugin-prettier": "^4.0.0",
|
| 101 | + "eslint-plugin-promise": "^5.1.1", |
166 | 102 | "eslint-plugin-react": "^7.26.1",
|
167 |
| - "jest": "^27.3.1", |
168 |
| - "jest-enzyme": "^7.1.2", |
| 103 | + "eslint-plugin-react-hooks": "^4.2.0", |
| 104 | + "eslint-plugin-sonarjs": "^0.10.0", |
169 | 105 | "json": "^11.0.0",
|
170 |
| - "prop-types": "^15.7.2", |
171 | 106 | "postcss": "^8.3.11",
|
172 | 107 | "prettier": "^2.4.1",
|
| 108 | + "prop-types": "^15.7.2", |
173 | 109 | "react": "^17.0.2",
|
174 |
| - "react-dnd-test-backend": "^14.0.1", |
175 | 110 | "react-dnd-touch-backend": "^14.1.1",
|
176 | 111 | "react-dom": "^17.0.2",
|
177 |
| - "react-test-renderer": "^17.0.2", |
178 | 112 | "rimraf": "^3.0.2",
|
179 |
| - "rollup": "^2.58.0", |
| 113 | + "rollup": "^2.59.0", |
180 | 114 | "rollup-plugin-esbuild": "^4.6.0",
|
181 | 115 | "rollup-plugin-postcss": "^4.0.1",
|
182 | 116 | "shx": "^0.3.3",
|
183 |
| - "ts-jest": "^27.0.7", |
184 | 117 | "tslib": "^2.3.1",
|
185 | 118 | "typescript": "^4.4.4"
|
186 | 119 | },
|
|
0 commit comments