2020-01-02 02:04:47 +01:00
|
|
|
{
|
2020-03-25 16:42:16 +01: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 02:04:47 +01:00
|
|
|
"dependencies": {
|
2021-04-08 15:57:46 +02:00
|
|
|
"@sentry/browser": "6.2.5",
|
2021-04-08 17:46:04 +02:00
|
|
|
"@sentry/integrations": "6.2.5",
|
2021-04-05 17:17:02 +02:00
|
|
|
"@testing-library/jest-dom": "5.11.10",
|
2021-04-08 17:03:31 +02:00
|
|
|
"@testing-library/react": "11.2.6",
|
2021-04-02 00:24:24 +02:00
|
|
|
"@types/jest": "26.0.22",
|
2021-03-22 19:00:23 +01:00
|
|
|
"@types/react": "17.0.3",
|
2021-04-08 17:19:17 +02:00
|
|
|
"@types/react-dom": "17.0.3",
|
2021-03-17 09:17:18 +01:00
|
|
|
"@types/socket.io-client": "1.4.36",
|
2021-04-08 16:51:50 +02:00
|
|
|
"browser-fs-access": "0.16.4",
|
2020-10-19 16:14:28 +02:00
|
|
|
"clsx": "1.1.1",
|
2021-04-12 10:48:31 +02:00
|
|
|
"firebase": "8.3.3",
|
2021-04-08 16:32:37 +02:00
|
|
|
"i18next-browser-languagedetector": "6.1.0",
|
2020-05-07 23:13:18 +02:00
|
|
|
"lodash.throttle": "4.1.1",
|
2021-03-29 16:09:44 +02:00
|
|
|
"nanoid": "3.1.22",
|
2021-01-10 11:33:25 +01:00
|
|
|
"open-color": "1.8.0",
|
2020-10-15 21:31:21 +02:00
|
|
|
"pako": "1.0.11",
|
2021-05-09 17:42:10 +02:00
|
|
|
"perfect-freehand": "0.4.7",
|
2020-10-13 14:47:07 +02:00
|
|
|
"png-chunk-text": "1.0.0",
|
|
|
|
"png-chunks-encode": "1.0.0",
|
|
|
|
"png-chunks-extract": "1.0.0",
|
2020-04-20 19:43:06 +02:00
|
|
|
"points-on-curve": "0.2.0",
|
2020-08-31 17:13:01 +02:00
|
|
|
"pwacompat": "2.0.17",
|
2021-04-02 00:24:04 +02:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2021-02-24 11:29:46 +01:00
|
|
|
"react-scripts": "4.0.3",
|
2021-05-12 04:35:35 +02:00
|
|
|
"roughjs": "4.4.1",
|
2021-04-20 23:32:37 +02:00
|
|
|
"sass": "1.32.10",
|
2020-11-08 23:21:34 +01:00
|
|
|
"socket.io-client": "2.3.1",
|
2021-04-08 19:55:25 +02:00
|
|
|
"typescript": "4.2.4"
|
2020-04-29 07:53:07 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-02 11:29:32 +01:00
|
|
|
"@excalidraw/eslint-config": "1.0.0",
|
2021-02-25 19:26:27 +01:00
|
|
|
"@excalidraw/prettier-config": "1.0.2",
|
2020-05-07 23:13:18 +02:00
|
|
|
"@types/lodash.throttle": "4.1.6",
|
2020-10-15 21:31:21 +02:00
|
|
|
"@types/pako": "1.0.1",
|
2021-02-11 12:24:26 +01:00
|
|
|
"@types/resize-observer-browser": "0.1.5",
|
2021-05-20 11:23:07 +02:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-01-10 11:34:37 +01:00
|
|
|
"eslint-plugin-prettier": "3.3.1",
|
2021-04-08 16:14:16 +02:00
|
|
|
"firebase-tools": "9.9.0",
|
2021-01-17 10:33:24 +01:00
|
|
|
"husky": "4.3.8",
|
2021-02-14 08:43:49 +01:00
|
|
|
"jest-canvas-mock": "2.3.1",
|
2021-02-07 08:41:52 +01:00
|
|
|
"lint-staged": "10.5.4",
|
2020-12-14 04:29:51 +01:00
|
|
|
"pepjs": "0.5.3",
|
2020-12-01 14:33:38 +01:00
|
|
|
"prettier": "2.2.1",
|
2020-04-29 07:53:07 +02:00
|
|
|
"rewire": "5.0.0"
|
2020-01-02 02:04:47 +01:00
|
|
|
},
|
2020-03-25 18:10:05 +01:00
|
|
|
"engines": {
|
2021-02-20 13:47:17 +01:00
|
|
|
"node": ">=14.0.0"
|
2020-02-11 23:19:43 +01:00
|
|
|
},
|
2020-03-30 16:52:48 +02:00
|
|
|
"homepage": ".",
|
2020-01-02 20:03:48 +01:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
2020-03-25 18:10:05 +01:00
|
|
|
"jest": {
|
|
|
|
"transformIgnorePatterns": [
|
2021-01-27 19:47:55 +01:00
|
|
|
"node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)"
|
2020-10-28 17:28:07 +01:00
|
|
|
],
|
|
|
|
"resetMocks": false
|
2020-03-25 18:10:05 +01:00
|
|
|
},
|
2020-07-18 14:44:45 +02:00
|
|
|
"name": "excalidraw",
|
2021-02-25 19:26:27 +01:00
|
|
|
"prettier": "@excalidraw/prettier-config",
|
2020-03-25 18:10:05 +01:00
|
|
|
"private": true,
|
2020-01-18 02:02:14 +01:00
|
|
|
"scripts": {
|
2020-02-28 22:51:36 +01:00
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2021-01-05 19:06:14 +01:00
|
|
|
"build:app:docker": "REACT_APP_DISABLE_SENTRY=true react-scripts build",
|
2021-01-18 18:22:02 +01:00
|
|
|
"build:app": "REACT_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA react-scripts build",
|
2020-12-18 13:02:29 +01:00
|
|
|
"build:version": "node ./scripts/build-version.js",
|
2021-02-20 13:47:17 +01:00
|
|
|
"build": "yarn build:app && yarn build:version",
|
2020-01-18 02:02:14 +01:00
|
|
|
"eject": "react-scripts eject",
|
2021-02-23 10:41:36 +01:00
|
|
|
"fix:code": "yarn test:code --fix",
|
|
|
|
"fix:other": "yarn prettier --write",
|
2021-02-20 13:47:17 +01:00
|
|
|
"fix": "yarn fix:other && yarn fix:code",
|
2020-06-30 20:28:19 +02:00
|
|
|
"locales-coverage": "node scripts/build-locales-coverage.js",
|
2020-12-19 21:44:01 +01:00
|
|
|
"locales-coverage:description": "node scripts/locales-coverage-description.js",
|
2020-02-02 19:04:35 +01:00
|
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
2020-01-18 02:02:14 +01:00
|
|
|
"start": "react-scripts start",
|
2021-02-23 10:41:36 +01:00
|
|
|
"test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watchAll=false",
|
2020-10-28 17:28:07 +01:00
|
|
|
"test:app": "react-scripts test --passWithNoTests",
|
2021-03-02 19:36:28 +01:00
|
|
|
"test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
|
2020-03-25 18:10:05 +01:00
|
|
|
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
|
2021-02-23 10:41:36 +01:00
|
|
|
"test:other": "yarn prettier --list-different",
|
2020-06-30 20:28:19 +02:00
|
|
|
"test:typecheck": "tsc",
|
2021-02-23 10:41:36 +01:00
|
|
|
"test:update": "yarn test:app --updateSnapshot --watchAll=false",
|
2021-02-20 13:47:17 +01:00
|
|
|
"test": "yarn test:app"
|
2020-01-22 13:55:13 +01:00
|
|
|
}
|
2020-01-03 22:13:41 +01:00
|
|
|
}
|