|
6 | 6 | "start": "parcel website/index.html",
|
7 | 7 | "prebuild": "npm run lint && npm run clean",
|
8 | 8 | "build": "rollup -c",
|
| 9 | + "buildOnly": "rollup -c", |
9 | 10 | "build:storybook": "npm run clean:storybook && build-storybook -o build/storybook",
|
10 | 11 | "build:website": "npm run clean:website && parcel build website/index.html -d build --public-url /react-sortable-tree/",
|
11 | 12 | "clean": "rimraf dist",
|
12 | 13 | "clean:storybook": "rimraf build/storybook",
|
13 | 14 | "clean:website": "rimraf build",
|
14 | 15 | "lint": "eslint src",
|
15 | 16 | "prettier": "prettier --write \"{src,example/src,stories}/**/*.{js,css,md}\"",
|
16 |
| - "prepublishOnly": "npm run lint && npm run test && npm run build", |
| 17 | + "prepublishOnly": "npm run test && npm run build", |
17 | 18 | "release": "standard-version",
|
18 | 19 | "test": "jest",
|
19 | 20 | "test:watch": "jest --watchAll",
|
|
51 | 52 | "node_modules"
|
52 | 53 | ],
|
53 | 54 | "moduleNameMapper": {
|
54 |
| - "\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js" |
| 55 | + "\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", |
| 56 | + "^dnd-core$": "dnd-core/dist/cjs", |
| 57 | + "^react-dnd$": "react-dnd/dist/cjs", |
| 58 | + "^react-dnd-html5-backend$": "react-dnd-html5-backend/dist/cjs", |
| 59 | + "^react-dnd-touch-backend$": "react-dnd-touch-backend/dist/cjs", |
| 60 | + "^react-dnd-test-backend$": "react-dnd-test-backend/dist/cjs", |
| 61 | + "^react-dnd-test-utils$": "react-dnd-test-utils/dist/cjs" |
55 | 62 | }
|
56 | 63 | },
|
57 | 64 | "browserslist": [
|
|
63 | 70 | "frontend-collective-react-dnd-scrollzone": "^1.0.2",
|
64 | 71 | "lodash.isequal": "^4.5.0",
|
65 | 72 | "prop-types": "^15.6.1",
|
66 |
| - "react-dnd": "^7.3.0", |
67 |
| - "react-dnd-html5-backend": "^7.0.1", |
| 73 | + "react-dnd": "^9.3.4", |
| 74 | + "react-dnd-html5-backend": "^9.3.4", |
68 | 75 | "react-lifecycles-compat": "^3.0.4",
|
69 | 76 | "react-sortable-tree": "^2.6.0",
|
70 | 77 | "react-virtualized": "^9.19.1"
|
|
91 | 98 | "codesandbox": "^1.2.10",
|
92 | 99 | "coveralls": "^3.0.1",
|
93 | 100 | "cross-env": "^5.1.6",
|
94 |
| - "enzyme": "^3.3.0", |
95 |
| - "enzyme-adapter-react-16": "^1.1.1", |
| 101 | + "enzyme": "^3.10.0", |
| 102 | + "enzyme-adapter-react-16": "^1.14.0", |
96 | 103 | "eslint": "^5.9.0",
|
97 | 104 | "eslint-config-airbnb": "^17.1.0",
|
98 | 105 | "eslint-config-prettier": "^3.3.0",
|
|
101 | 108 | "eslint-plugin-react": "^7.8.2",
|
102 | 109 | "gh-pages": "^2.0.1",
|
103 | 110 | "jest": "^23.1.0",
|
104 |
| - "jest-enzyme": "^7.0.1", |
| 111 | + "jest-enzyme": "^7.1.1", |
105 | 112 | "parcel-bundler": "^1.11.0",
|
106 | 113 | "prettier": "^1.13.3",
|
107 | 114 | "react": "^16.3.0",
|
108 | 115 | "react-addons-shallow-compare": "^15.6.2",
|
109 |
| - "react-dnd-test-backend": "^7.0.1", |
110 |
| - "react-dnd-touch-backend": "^0.6.0", |
| 116 | + "react-dnd-test-backend": "^9.3.4", |
| 117 | + "react-dnd-touch-backend": "^9.3.4", |
111 | 118 | "react-dom": "^16.3.0",
|
112 | 119 | "react-hot-loader": "^4.3.0",
|
113 | 120 | "react-sortable-tree-theme-file-explorer": "^1.1.2",
|
|
0 commit comments