2020-01-02 02:04:47 +01:00
|
|
|
{
|
2020-01-18 02:02:14 +01:00
|
|
|
"browserslist": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
2020-01-02 02:04:47 +01:00
|
|
|
"dependencies": {
|
2020-02-24 10:27:55 +01:00
|
|
|
"browser-nativefs": "0.3.1",
|
2020-02-24 11:42:21 +01:00
|
|
|
"i18next-browser-languagedetector": "4.0.2",
|
2020-02-03 09:58:56 +01:00
|
|
|
"nanoid": "2.1.11",
|
2020-03-02 10:43:15 +01:00
|
|
|
"react": "16.13.0",
|
2020-03-02 11:15:51 +01:00
|
|
|
"react-dom": "16.13.0",
|
2020-02-17 11:39:58 +01:00
|
|
|
"react-scripts": "3.4.0",
|
2020-02-22 22:37:04 +01:00
|
|
|
"roughjs": "4.0.4",
|
basic Socket.io implementation of collaborative editing (#879)
* Enable collaborative syncing for elements
* Don't fall back to local storage if using a room, as that is confusing
* Use remote socket server
* Send updates to new users when they join
* ~
* add mouse tracking
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* Add Live button and app state to support tracking collaborator counts
* Enable collaborative syncing for elements
* add mouse tracking
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* fix syncing bugs and add a button to start syncing mid session
* Add Live button and app state to support tracking collaborator counts
* prettier
* Fix bug with remote pointers not changing on scroll
* Enable collaborative syncing for elements
* add mouse tracking
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* Add Live button and app state to support tracking collaborator counts
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* fix syncing bugs and add a button to start syncing mid session
* Fix bug with remote pointers not changing on scroll
* remove UI for collaboration
* remove link
* clean up lingering unused UI
* set random IV passed per encrypted message, reduce room id length, refactored socket broadcasting API, rename room_id to room, removed throttling of pointer movement
* fix package.json conflict
2020-03-09 16:48:25 +01:00
|
|
|
"socket.io-client": "2.3.0",
|
2020-02-22 22:37:04 +01:00
|
|
|
"stacktrace-js": "2.0.2"
|
2020-01-02 02:04:47 +01:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-02-11 23:19:43 +01:00
|
|
|
"@testing-library/jest-dom": "5.1.1",
|
2020-03-09 10:51:38 +01:00
|
|
|
"@testing-library/react": "9.5.0",
|
2020-03-09 10:47:09 +01:00
|
|
|
"@types/jest": "25.1.4",
|
2020-01-16 22:50:02 +01:00
|
|
|
"@types/nanoid": "2.1.0",
|
2020-03-02 10:43:28 +01:00
|
|
|
"@types/react": "16.9.23",
|
2020-01-25 05:02:38 +01:00
|
|
|
"@types/react-dom": "16.9.5",
|
basic Socket.io implementation of collaborative editing (#879)
* Enable collaborative syncing for elements
* Don't fall back to local storage if using a room, as that is confusing
* Use remote socket server
* Send updates to new users when they join
* ~
* add mouse tracking
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* Add Live button and app state to support tracking collaborator counts
* Enable collaborative syncing for elements
* add mouse tracking
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* fix syncing bugs and add a button to start syncing mid session
* Add Live button and app state to support tracking collaborator counts
* prettier
* Fix bug with remote pointers not changing on scroll
* Enable collaborative syncing for elements
* add mouse tracking
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* Add Live button and app state to support tracking collaborator counts
* enable collaboration, rooms, and mouse tracking
* fix syncing bugs and add a button to start syncing mid session
* fix syncing bugs and add a button to start syncing mid session
* Fix bug with remote pointers not changing on scroll
* remove UI for collaboration
* remove link
* clean up lingering unused UI
* set random IV passed per encrypted message, reduce room id length, refactored socket broadcasting API, rename room_id to room, removed throttling of pointer movement
* fix package.json conflict
2020-03-09 16:48:25 +01:00
|
|
|
"@types/socket.io-client": "1.4.32",
|
2020-03-07 16:20:38 +01:00
|
|
|
"asar": "2.1.0",
|
2020-02-02 19:04:35 +01:00
|
|
|
"eslint": "6.8.0",
|
|
|
|
"eslint-config-prettier": "6.10.0",
|
|
|
|
"eslint-plugin-prettier": "3.1.2",
|
2020-02-17 09:42:39 +01:00
|
|
|
"husky": "4.2.3",
|
2020-02-11 23:19:43 +01:00
|
|
|
"jest-canvas-mock": "2.2.0",
|
2020-03-02 10:43:07 +01:00
|
|
|
"lint-staged": "10.0.8",
|
2020-01-16 22:50:02 +01:00
|
|
|
"node-sass": "4.13.1",
|
2020-03-07 16:20:38 +01:00
|
|
|
"pepjs": "0.5.2",
|
2020-01-02 20:03:48 +01:00
|
|
|
"prettier": "1.19.1",
|
2020-01-22 15:13:00 +01:00
|
|
|
"rewire": "4.0.1",
|
2020-03-02 10:43:22 +01:00
|
|
|
"typescript": "3.8.3"
|
2020-01-02 02:04:47 +01:00
|
|
|
},
|
2020-02-11 23:19:43 +01:00
|
|
|
"jest": {
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"node_modules/(?!(roughjs|browser-nativefs)/)"
|
|
|
|
]
|
|
|
|
},
|
2020-01-02 20:03:48 +01:00
|
|
|
"eslintConfig": {
|
2020-02-02 19:04:35 +01:00
|
|
|
"extends": [
|
|
|
|
"prettier",
|
|
|
|
"react-app"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"prettier"
|
|
|
|
],
|
2020-01-22 15:13:00 +01:00
|
|
|
"rules": {
|
2020-02-05 17:41:14 +01:00
|
|
|
"curly": "warn",
|
2020-01-22 15:13:00 +01:00
|
|
|
"no-console": [
|
2020-02-05 17:41:14 +01:00
|
|
|
"warn",
|
2020-01-22 15:13:00 +01:00
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"warn",
|
|
|
|
"error",
|
|
|
|
"info"
|
|
|
|
]
|
|
|
|
}
|
2020-02-02 19:04:35 +01:00
|
|
|
],
|
2020-02-05 17:41:14 +01:00
|
|
|
"no-else-return": "warn",
|
|
|
|
"no-useless-return": "warn",
|
2020-02-02 19:04:35 +01:00
|
|
|
"prefer-const": [
|
2020-02-05 17:41:14 +01:00
|
|
|
"warn",
|
2020-02-02 19:04:35 +01:00
|
|
|
{
|
|
|
|
"destructuring": "all"
|
|
|
|
}
|
|
|
|
],
|
2020-02-05 17:41:14 +01:00
|
|
|
"prefer-template": "warn",
|
|
|
|
"prettier/prettier": "warn"
|
2020-01-22 15:13:00 +01:00
|
|
|
}
|
2020-01-02 20:03:48 +01:00
|
|
|
},
|
2020-02-29 14:24:14 +01:00
|
|
|
"homepage": ".",
|
2020-01-02 20:03:48 +01:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2020-01-18 02:02:14 +01:00
|
|
|
"main": "src/index.js",
|
|
|
|
"name": "excalidraw",
|
|
|
|
"scripts": {
|
2020-02-28 22:51:36 +01:00
|
|
|
"build:app": "react-scripts build",
|
|
|
|
"build:zip": "node ./scripts/build-version.js",
|
|
|
|
"build": "npm run build:app && npm run build:zip",
|
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2020-01-18 02:02:14 +01:00
|
|
|
"eject": "react-scripts eject",
|
2020-02-02 19:04:35 +01:00
|
|
|
"fix": "npm run fix:other && npm run fix:code",
|
|
|
|
"fix:code": "npm run test:code -- --fix",
|
|
|
|
"fix:other": "npm run prettier -- --write",
|
|
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
2020-01-18 02:02:14 +01:00
|
|
|
"start": "react-scripts start",
|
|
|
|
"test": "npm run test:app",
|
|
|
|
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
|
2020-03-07 16:20:38 +01:00
|
|
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
2020-02-02 19:04:35 +01:00
|
|
|
"test:code": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
|
|
|
"test:other": "npm run prettier -- --list-different"
|
2020-01-18 02:02:14 +01:00
|
|
|
},
|
2020-01-22 13:55:13 +01:00
|
|
|
"version": "1.0.0",
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/excalidraw/excalidraw.git"
|
2020-03-08 18:20:55 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=12.0.0"
|
2020-01-22 13:55:13 +01:00
|
|
|
}
|
2020-01-03 22:13:41 +01:00
|
|
|
}
|