Remove unused dependencies

This commit is contained in:
casper 2021-06-02 11:20:30 +02:00
parent a4b3fc0255
commit 8fb790a425
7 changed files with 394 additions and 3808 deletions

4142
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -14,18 +14,10 @@
"dist": "npm run dist:prepare && NODE_ENV=production webpack -p",
"analyze": "NODE_ENV=production ANALYZE_BUNDLE=true webpack -p"
},
"optionalDependencies": {
"ios-deploy": "^1.8.4",
"ios-sim": "^5.0.6"
},
"dependencies": {
"@doodle3d/cal": "0.0.8",
"@doodle3d/doodle3d-core": "github:Doodle3D/Doodle3D-Core",
"@doodle3d/doodle3d-slicer": "github:Doodle3D/Doodle3D-Slicer",
"@doodle3d/redux-prompt": "^1.0.2",
"autoprefixer": "^5.2.0",
"babel-core": "^6.25.0",
"babel-eslint": "^5.0.0-beta6",
"babel-loader": "^7.1.1",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-ramda": "^1.2.0",
@ -37,23 +29,13 @@
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.24.1",
"bluebird": "^3.3.4",
"body-parser": "^1.15.2",
"bowser": "^1.5.0",
"cli": "^1.0.1",
"compression": "^1.6.2",
"connect-redis": "^3.3.3",
"cors": "^2.8.1",
"css-loader": "^0.28.7",
"css-polyfills": "0.0.16",
"debug": "^2.2.0",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^3.1.0",
"eslint-plugin-react": "^3.15.0",
"executive": "^1.5.11",
"fastclick": "^1.0.6",
"file-dialog": "^0.0.8",
"file-loader": "^0.11.2",
"file-saver": "^1.3.3",
@ -68,13 +50,8 @@
"jszip": "^3.1.3",
"keycode": "^2.1.8",
"license-checker": "^13.0.2",
"markdown-to-jsx": "^5.4.0",
"marked": "^0.3.5",
"material-ui": "^0.19.0",
"material-ui-pagination": "^1.1.6",
"mime-types": "^2.1.12",
"morgan": "^1.7.0",
"node-fetch": "^1.6.3",
"normalize-jss": "^4.0.0",
"postinstall": "^0.7.0",
"pouchdb": "^7.2.2",
@ -82,23 +59,17 @@
"prop-types": "^15.6.0",
"raw-loader": "^0.5.1",
"react": "^16.1.0",
"react-addons-css-transition-group": "^15.6.2",
"react-addons-update": "^15.6.2",
"react-dom": "^16.1.0",
"react-ga": "^2.1.2",
"react-hot-loader": "^3.0.0-beta.7",
"react-jss": "^7.0.2",
"react-loader": "^2.4.0",
"react-markdown": "^2.4.2",
"react-newline-to-break": "^1.0.6",
"react-notification-system-redux": "^1.2.0",
"react-redux": "^4.4.8",
"react-router": "^3.2.0",
"react-router-redux": "^4.0.8",
"react-sortable": "^1.3.2",
"redux": "^3.7.1",
"redux-action-wrapper": "^1.0.1",
"redux-auth-wrapper": "^2.0.2",
"redux-form": "^7.2.0",
"redux-form-material-ui": "^4.0.1",
"redux-logger": "^2.3.1",
@ -106,21 +77,11 @@
"redux-promise-middleware": "^5.0.0",
"redux-thunk": "^2.2.0",
"sanitize-filename": "^1.6.1",
"semver": "^5.3.0",
"serve-favicon": "^2.3.0",
"serve-static": "^1.11.1",
"shapeways": "^1.0.2",
"shortid": "^2.2.6",
"sofa-model": "^0.2.0",
"spin.js": "^2.3.2",
"style-loader": "^0.18.2",
"three": "^0.88.0",
"url-parse": "^1.1.9",
"url-polyfill": "^1.0.11",
"valid-url": "^1.0.9",
"webpack": "^3.4.1",
"webpack-bundle-analyzer": "^2.8.3",
"webpack-dev-middleware": "^2.0.6",
"webpack-dev-server": "^2.5.1",
"webpack-hot-middleware": "^2.18.2",
"whatwg-fetch": "^1.0.0",

View File

@ -7,7 +7,7 @@ import * as config from 'src/js/services/config.js';
import { saveAs } from 'file-saver';
import { routerActions as router } from 'react-router-redux';
import * as notificationActions from 'react-notification-system-redux';
import * as prompt from 'redux-prompt/actions';
import * as prompt from '@doodle3d/redux-prompt/lib/actions';
export const notification = {
show: ({ position = 'tc', ...args }) => notificationActions.show({ position, ...args }),
success: ({ position = 'tc', ...args }) => notificationActions.success({ position, ...args }),

View File

@ -44,9 +44,6 @@ store.dispatch(actions.localStore.read());
import actionWrapper from 'redux-action-wrapper';
window.actions = actionWrapper(actions, store.dispatch);
import * as CAL from 'cal';
window.CAL = CAL;
// Create an enhanced history that syncs navigation events with the store
import { browserHistory, hashHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
@ -79,7 +76,7 @@ import muiTheme from 'src/js/muiTheme.js';
import Root from 'src/js/Root.js';
import NotificationsWrapper from 'src/js/components/NotificationsWrapper.js';
import BlockingSpinner from 'src/js/components/BlockingSpinner.js';
import Prompt from 'redux-prompt/component';
import Prompt from '@doodle3d/redux-prompt/lib/component';
import { isWebGLAvailable } from '@doodle3d/doodle3d-core/lib/utils/webGLSupport.js';
import bowser from 'bowser';

View File

@ -6,7 +6,7 @@ import filesReducer, { currentName } from './filesReducer.js';
import { reducer as formReducer } from 'redux-form';
import { reducer as notificationsReducer } from 'react-notification-system-redux';
import blockingSpinnerReducer from './blockingSpinnerReducer.js';
import promptReducer from 'redux-prompt/reducer';
import promptReducer from '@doodle3d/redux-prompt/lib/reducer';
export default combineReducers({
sketcher: sketcherReducer,

View File

@ -7,7 +7,7 @@ import createLogger from 'redux-logger';
import { makePersistantMiddleware } from 'src/js/services/localStore.js';
import { LOCAL_STORE_READ } from 'src/js/actions/localStore.js';
import { platform } from 'src/js/constants/envs.js';
import promptMiddleware from 'redux-prompt/middleware';
import promptMiddleware from '@doodle3d/redux-prompt/lib/middleware';
import debugOverlappingDispatches from './utils/debugOverlappingDispatches.js';

View File

@ -152,13 +152,7 @@ module.exports = {
'img': path.resolve(__dirname, 'img/'),
'workers': path.resolve(__dirname, 'workers/'),
'server': path.resolve(__dirname, 'server/'),
'CHANGELOG.md': path.resolve(__dirname, 'CHANGELOG.md'),
'superlogin-client': '@doodle3d/superlogin-client',
'cal': '@doodle3d/cal',
'threejs-export-stl': '@doodle3d/threejs-export-stl',
'threejs-export-obj': '@doodle3d/threejs-export-obj',
'redux-batched-subscribe': '@doodle3d/redux-batched-subscribe',
'redux-prompt': `@doodle3d/redux-prompt/lib`
'CHANGELOG.md': path.resolve(__dirname, 'CHANGELOG.md')
}
},
module: {
@ -171,7 +165,7 @@ module.exports = {
test: /\.css$/,
exclude: /src\/css\/.+\.css$/,
use: ['style-loader', 'css-loader']
}, { // css modules
}, { // css modules
test: /src\/css\/.+\.css$/,
use: ['style-loader', cssModuleLoader]
}, {