2020-01-02 01:04:47 +00:00
|
|
|
{
|
2020-03-25 15:42:16 +00:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all",
|
|
|
|
"not safari < 12",
|
|
|
|
"not kaios <= 2.5",
|
|
|
|
"not edge < 79",
|
|
|
|
"not chrome < 70",
|
|
|
|
"not and_uc < 13",
|
|
|
|
"not samsung < 10"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
2020-01-02 01:04:47 +00:00
|
|
|
"dependencies": {
|
2020-03-17 02:06:17 +00:00
|
|
|
"browser-nativefs": "0.4.0",
|
2020-02-24 10:42:21 +00:00
|
|
|
"i18next-browser-languagedetector": "4.0.2",
|
2020-02-03 08:58:56 +00:00
|
|
|
"nanoid": "2.1.11",
|
2020-03-23 09:27:39 +00:00
|
|
|
"react": "16.13.1",
|
2020-03-30 10:28:13 +00:00
|
|
|
"react-dom": "16.13.1",
|
2020-03-21 09:55:32 +00:00
|
|
|
"react-scripts": "3.4.1",
|
2020-02-22 21:37:04 +00: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 15:48:25 +00:00
|
|
|
"socket.io-client": "2.3.0",
|
2020-02-22 21:37:04 +00:00
|
|
|
"stacktrace-js": "2.0.2"
|
2020-01-02 01:04:47 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-03-30 10:28:24 +00:00
|
|
|
"@testing-library/jest-dom": "5.3.0",
|
2020-03-17 02:06:45 +00:00
|
|
|
"@testing-library/react": "10.0.1",
|
2020-03-09 09:47:09 +00:00
|
|
|
"@types/jest": "25.1.4",
|
2020-01-16 21:50:02 +00:00
|
|
|
"@types/nanoid": "2.1.0",
|
2020-03-30 10:27:58 +00:00
|
|
|
"@types/react": "16.9.27",
|
2020-01-25 04:02:38 +00: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 15:48:25 +00:00
|
|
|
"@types/socket.io-client": "1.4.32",
|
2020-03-30 09:34:34 +00:00
|
|
|
"asar": "3.0.2",
|
2020-02-02 18:04:35 +00:00
|
|
|
"eslint": "6.8.0",
|
2020-03-23 09:28:34 +00:00
|
|
|
"eslint-config-prettier": "6.10.1",
|
2020-02-02 18:04:35 +00:00
|
|
|
"eslint-plugin-prettier": "3.1.2",
|
2020-02-17 08:42:39 +00:00
|
|
|
"husky": "4.2.3",
|
2020-02-11 22:19:43 +00:00
|
|
|
"jest-canvas-mock": "2.2.0",
|
2020-03-30 09:34:44 +00:00
|
|
|
"lint-staged": "10.0.10",
|
2020-01-16 21:50:02 +00:00
|
|
|
"node-sass": "4.13.1",
|
2020-03-07 15:20:38 +00:00
|
|
|
"pepjs": "0.5.2",
|
2020-03-30 09:34:21 +00:00
|
|
|
"prettier": "2.0.2",
|
2020-03-16 21:24:48 +00:00
|
|
|
"rewire": "5.0.0",
|
2020-03-02 09:43:22 +00:00
|
|
|
"typescript": "3.8.3"
|
2020-01-02 01:04:47 +00:00
|
|
|
},
|
2020-03-25 17:10:05 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=12.0.0"
|
2020-02-11 22:19:43 +00:00
|
|
|
},
|
2020-01-02 19:03:48 +00:00
|
|
|
"eslintConfig": {
|
2020-02-02 18:04:35 +00:00
|
|
|
"extends": [
|
|
|
|
"prettier",
|
|
|
|
"react-app"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"prettier"
|
|
|
|
],
|
2020-01-22 14:13:00 +00:00
|
|
|
"rules": {
|
2020-02-05 16:41:14 +00:00
|
|
|
"curly": "warn",
|
2020-01-22 14:13:00 +00:00
|
|
|
"no-console": [
|
2020-02-05 16:41:14 +00:00
|
|
|
"warn",
|
2020-01-22 14:13:00 +00:00
|
|
|
{
|
|
|
|
"allow": [
|
|
|
|
"warn",
|
|
|
|
"error",
|
|
|
|
"info"
|
|
|
|
]
|
|
|
|
}
|
2020-02-02 18:04:35 +00:00
|
|
|
],
|
2020-02-05 16:41:14 +00:00
|
|
|
"no-else-return": "warn",
|
|
|
|
"no-useless-return": "warn",
|
2020-02-02 18:04:35 +00:00
|
|
|
"prefer-const": [
|
2020-02-05 16:41:14 +00:00
|
|
|
"warn",
|
2020-02-02 18:04:35 +00:00
|
|
|
{
|
|
|
|
"destructuring": "all"
|
|
|
|
}
|
|
|
|
],
|
2020-02-05 16:41:14 +00:00
|
|
|
"prefer-template": "warn",
|
|
|
|
"prettier/prettier": "warn"
|
2020-01-22 14:13:00 +00:00
|
|
|
}
|
2020-01-02 19:03:48 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2020-03-25 17:10:05 +00:00
|
|
|
"jest": {
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"node_modules/(?!(roughjs|browser-nativefs)/)"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"private": true,
|
2020-01-18 01:02:14 +00:00
|
|
|
"scripts": {
|
2020-02-28 21:51:36 +00:00
|
|
|
"build": "npm run build:app && npm run build:zip",
|
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2020-03-25 17:10:05 +00:00
|
|
|
"build:app": "react-scripts build",
|
|
|
|
"build:zip": "node ./scripts/build-version.js",
|
2020-01-18 01:02:14 +00:00
|
|
|
"eject": "react-scripts eject",
|
2020-02-02 18:04:35 +00: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 01:02:14 +00:00
|
|
|
"start": "react-scripts start",
|
|
|
|
"test": "npm run test:app",
|
|
|
|
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
|
2020-03-23 15:20:42 +00:00
|
|
|
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
|
2020-03-25 17:10:05 +00:00
|
|
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
|
|
|
"test:other": "npm run prettier -- --list-different",
|
|
|
|
"test:typecheck": "tsc"
|
2020-01-22 12:55:13 +00:00
|
|
|
}
|
2020-01-03 21:13:41 +00:00
|
|
|
}
|