|
4 | 4 | "description": "Drag-and-drop sortable component for nested data and hierarchies",
|
5 | 5 | "scripts": {
|
6 | 6 | "start": "parcel website/index.html",
|
7 |
| - "prebuild": "npm run lint && npm run clean", |
| 7 | + "prebuild": "yarn run lint && yarn run clean", |
8 | 8 | "build": "rollup -c",
|
9 | 9 | "buildOnly": "rollup -c",
|
10 |
| - "build:storybook": "npm run clean:storybook && build-storybook -o build/storybook", |
11 |
| - "build:website": "npm run clean:website && parcel build website/index.html -d build --public-url /react-sortable-tree/", |
| 10 | + "build:storybook": "yarn run clean:storybook && build-storybook -o build/storybook", |
| 11 | + "build:website": "yarn run clean:website && parcel build website/index.html -d build --public-url /react-sortable-tree/", |
12 | 12 | "clean": "rimraf dist",
|
13 | 13 | "clean:storybook": "rimraf build/storybook",
|
14 | 14 | "clean:website": "rimraf build",
|
15 |
| - "lint": "eslint src", |
| 15 | + "lint": "eslint src website", |
16 | 16 | "prettier": "prettier --write \"{src,example/src,stories}/**/*.{js,css,md}\"",
|
17 |
| - "prepublishOnly": "npm run test && npm run build", |
| 17 | + "prepublishOnly": "yarn run test && yarn run build", |
18 | 18 | "release": "standard-version",
|
19 | 19 | "test": "jest",
|
20 | 20 | "test:watch": "jest --watchAll",
|
|
38 | 38 | ],
|
39 | 39 | "license": "MIT",
|
40 | 40 | "jest": {
|
41 |
| - "setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js", |
| 41 | + "setupFilesAfterEnv": [ |
| 42 | + "./node_modules/jest-enzyme/lib/index.js" |
| 43 | + ], |
42 | 44 | "setupFiles": [
|
43 | 45 | "./test-config/shim.js",
|
44 | 46 | "./test-config/test-setup.js"
|
|
70 | 72 | "frontend-collective-react-dnd-scrollzone": "^1.0.2",
|
71 | 73 | "lodash.isequal": "^4.5.0",
|
72 | 74 | "prop-types": "^15.6.1",
|
73 |
| - "react-dnd": "^9.3.4", |
| 75 | + "react-dnd": "^9.4.0", |
74 | 76 | "react-dnd-html5-backend": "^9.3.4",
|
75 | 77 | "react-lifecycles-compat": "^3.0.4",
|
76 |
| - "react-virtualized": "^9.19.1" |
| 78 | + "react-virtualized": "^9.21.2" |
77 | 79 | },
|
78 | 80 | "peerDependencies": {
|
79 | 81 | "react": "^16.3.0",
|
80 | 82 | "react-dnd": "^7.3.0",
|
81 | 83 | "react-dom": "^16.3.0"
|
82 | 84 | },
|
83 | 85 | "devDependencies": {
|
84 |
| - "@babel/cli": "^7.1.5", |
85 |
| - "@babel/core": "^7.1.6", |
| 86 | + "@babel/cli": "^7.7.0", |
| 87 | + "@babel/core": "^7.7.2", |
86 | 88 | "@babel/plugin-transform-modules-commonjs": "^7.1.0",
|
87 |
| - "@babel/preset-env": "^7.1.6", |
88 |
| - "@babel/preset-react": "^7.0.0", |
89 |
| - "@storybook/addon-options": "^4.0.0-alpha.4", |
90 |
| - "@storybook/addon-storyshots": "^4.0.0-alpha.4", |
91 |
| - "@storybook/react": "^4.0.0-alpha.4", |
92 |
| - "autoprefixer": "^9.3.1", |
| 89 | + "@babel/preset-env": "^7.7.1", |
| 90 | + "@babel/preset-react": "^7.7.0", |
| 91 | + "@storybook/addon-options": "^5.2.6", |
| 92 | + "@storybook/addon-storyshots": "^5.2.6", |
| 93 | + "@storybook/react": "^5.2.6", |
| 94 | + "autoprefixer": "^9.7.1", |
93 | 95 | "babel-core": "^7.0.0-bridge.0",
|
94 |
| - "babel-eslint": "^10.0.1", |
95 |
| - "babel-jest": "^23.6.0", |
| 96 | + "babel-eslint": "^10.0.3", |
| 97 | + "babel-jest": "^24.9.0", |
96 | 98 | "babel-loader": "^8.0.4",
|
97 | 99 | "codesandbox": "~2.1.10",
|
98 | 100 | "coveralls": "^3.0.1",
|
99 |
| - "cross-env": "^5.1.6", |
| 101 | + "cross-env": "^6.0.3", |
100 | 102 | "enzyme": "^3.10.0",
|
101 | 103 | "enzyme-adapter-react-16": "^1.14.0",
|
102 |
| - "eslint": "^5.9.0", |
103 |
| - "eslint-config-airbnb": "^17.1.0", |
| 104 | + "eslint": "^6.6.0", |
| 105 | + "eslint-config-airbnb": "^18.0.1", |
104 | 106 | "eslint-config-prettier": "^6.5.0",
|
105 |
| - "eslint-plugin-import": "^2.12.0", |
106 |
| - "eslint-plugin-jsx-a11y": "^6.0.3", |
107 |
| - "eslint-plugin-react": "^7.8.2", |
108 |
| - "gh-pages": "^2.0.1", |
109 |
| - "jest": "^23.1.0", |
110 |
| - "jest-enzyme": "^7.1.1", |
111 |
| - "parcel-bundler": "^1.11.0", |
112 |
| - "prettier": "^1.13.3", |
113 |
| - "react": "^16.3.0", |
| 107 | + "eslint-plugin-import": "^2.18.2", |
| 108 | + "eslint-plugin-jsx-a11y": "^6.2.3", |
| 109 | + "eslint-plugin-react": "^7.16.0", |
| 110 | + "gh-pages": "^2.1.1", |
| 111 | + "jest": "^24.9.0", |
| 112 | + "jest-enzyme": "^7.1.2", |
| 113 | + "parcel-bundler": "^1.12.4", |
| 114 | + "prettier": "^1.19.1", |
| 115 | + "react": "^16.11.0", |
114 | 116 | "react-addons-shallow-compare": "^15.6.2",
|
115 |
| - "react-dnd-test-backend": "^9.3.4", |
116 |
| - "react-dnd-touch-backend": "^9.3.4", |
117 |
| - "react-dom": "^16.3.0", |
118 |
| - "react-hot-loader": "^4.3.0", |
119 |
| - "react-sortable-tree-theme-file-explorer": "^1.1.2", |
120 |
| - "react-test-renderer": "^16.4.0", |
121 |
| - "rimraf": "^2.6.2", |
122 |
| - "rollup": "^0.67.1", |
| 117 | + "react-dnd-test-backend": "^9.4.0", |
| 118 | + "react-dnd-touch-backend": "^9.4.0", |
| 119 | + "react-dom": "^16.11.0", |
| 120 | + "react-hot-loader": "^4.12.17", |
| 121 | + "react-sortable-tree-theme-file-explorer": "^2.0.0", |
| 122 | + "react-test-renderer": "^16.11.0", |
| 123 | + "rimraf": "^3.0.0", |
| 124 | + "rollup": "^1.27.0", |
123 | 125 | "rollup-plugin-babel": "^4.0.3",
|
124 |
| - "rollup-plugin-commonjs": "^9.1.3", |
125 |
| - "rollup-plugin-node-resolve": "^4.2.4", |
126 |
| - "rollup-plugin-postcss": "^1.6.2", |
127 |
| - "standard-version": "^4.4.0" |
| 126 | + "rollup-plugin-commonjs": "^10.1.0", |
| 127 | + "rollup-plugin-node-resolve": "^5.2.0", |
| 128 | + "rollup-plugin-postcss": "^2.0.3", |
| 129 | + "standard-version": "^7.0.0" |
128 | 130 | },
|
129 | 131 | "keywords": [
|
130 | 132 | "react",
|
|
0 commit comments