2020-01-01 17:04:47 -08:00
|
|
|
{
|
2020-03-25 11:42:16 -04: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-01 17:04:47 -08:00
|
|
|
"dependencies": {
|
2023-06-29 03:14:42 -07:00
|
|
|
"@braintree/sanitize-url": "6.0.2",
|
2023-06-12 16:05:07 +02:00
|
|
|
"@excalidraw/random-username": "1.0.0",
|
2023-05-18 16:06:27 +02:00
|
|
|
"@radix-ui/react-popover": "1.0.3",
|
2023-05-04 19:33:31 +02:00
|
|
|
"@radix-ui/react-tabs": "1.0.2",
|
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",
|
2022-02-09 12:49:33 +05:30
|
|
|
"@testing-library/jest-dom": "5.16.2",
|
2022-05-10 17:42:29 +05:30
|
|
|
"@testing-library/react": "12.1.5",
|
2022-07-20 15:04:56 +05:30
|
|
|
"@tldraw/vec": "1.7.1",
|
2022-04-26 12:58:10 +05:30
|
|
|
"browser-fs-access": "0.29.1",
|
2023-06-14 17:26:29 +05:30
|
|
|
"canvas-roundrect-polyfill": "0.0.1",
|
2020-10-19 17:14:28 +03:00
|
|
|
"clsx": "1.1.1",
|
2022-12-18 22:23:30 +01:00
|
|
|
"cross-env": "7.0.3",
|
2023-07-27 23:50:11 +05:30
|
|
|
"eslint-plugin-react": "7.32.2",
|
2021-11-01 14:31:54 +02:00
|
|
|
"fake-indexeddb": "3.1.7",
|
2021-04-12 10:48:31 +02:00
|
|
|
"firebase": "8.3.3",
|
2022-07-20 15:39:41 +05:30
|
|
|
"i18next-browser-languagedetector": "6.1.4",
|
2021-11-02 09:44:05 +02:00
|
|
|
"idb-keyval": "6.0.3",
|
2021-10-21 22:05:48 +02:00
|
|
|
"image-blob-reduce": "3.0.1",
|
2023-06-02 17:06:11 +02:00
|
|
|
"jotai": "1.13.1",
|
2020-05-07 14:13:18 -07:00
|
|
|
"lodash.throttle": "4.1.1",
|
2022-04-26 12:59:11 +05:30
|
|
|
"nanoid": "3.3.3",
|
2021-11-01 14:30:17 +02:00
|
|
|
"open-color": "1.9.1",
|
2020-10-15 21:31:21 +02:00
|
|
|
"pako": "1.0.11",
|
2022-10-08 21:00:33 +02:00
|
|
|
"perfect-freehand": "1.2.0",
|
2022-09-07 18:38:04 +08:00
|
|
|
"pica": "7.1.1",
|
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 10:43:06 -07:00
|
|
|
"points-on-curve": "0.2.0",
|
2020-08-31 18:13:01 +03:00
|
|
|
"pwacompat": "2.0.17",
|
2022-07-22 11:20:36 +05:30
|
|
|
"react": "18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2021-12-11 13:46:44 -08:00
|
|
|
"roughjs": "4.5.2",
|
2022-05-10 17:49:02 +05:30
|
|
|
"sass": "1.51.0",
|
2020-11-08 23:21:34 +01:00
|
|
|
"socket.io-client": "2.3.1",
|
2023-07-27 23:50:11 +05:30
|
|
|
"tunnel-rat": "0.1.2"
|
2020-04-29 08:53:07 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-27 23:50:11 +05:30
|
|
|
"@excalidraw/eslint-config": "1.0.3",
|
2021-02-25 20:26:27 +02:00
|
|
|
"@excalidraw/prettier-config": "1.0.2",
|
2021-12-31 02:48:59 +02:00
|
|
|
"@types/chai": "4.3.0",
|
2023-03-14 13:06:57 +01:00
|
|
|
"@types/jest": "27.4.0",
|
2022-07-20 15:41:20 +05:30
|
|
|
"@types/lodash.throttle": "4.1.7",
|
2021-12-31 02:51:20 +02:00
|
|
|
"@types/pako": "1.0.3",
|
2023-03-14 13:06:57 +01:00
|
|
|
"@types/pica": "5.1.3",
|
|
|
|
"@types/react": "18.0.15",
|
|
|
|
"@types/react-dom": "18.0.6",
|
2022-07-20 14:58:42 +05:30
|
|
|
"@types/resize-observer-browser": "0.1.7",
|
2023-03-14 13:06:57 +01:00
|
|
|
"@types/socket.io-client": "1.4.36",
|
2023-07-27 23:50:11 +05:30
|
|
|
"@vitejs/plugin-react": "3.1.0",
|
2023-08-01 16:13:04 +05:30
|
|
|
"@vitest/coverage-v8": "0.33.0",
|
2023-07-27 23:50:11 +05:30
|
|
|
"@vitest/ui": "0.32.2",
|
2022-02-09 12:49:53 +05:30
|
|
|
"chai": "4.3.6",
|
2022-07-20 15:50:17 +05:30
|
|
|
"dotenv": "16.0.1",
|
2022-05-10 12:22:58 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2023-07-27 23:50:11 +05:30
|
|
|
"eslint-config-react-app": "7.0.1",
|
2021-01-10 12:34:37 +02:00
|
|
|
"eslint-plugin-prettier": "3.3.1",
|
2022-12-18 22:23:30 +01:00
|
|
|
"http-server": "14.1.1",
|
2021-10-29 14:06:13 +03:00
|
|
|
"husky": "7.0.4",
|
2023-07-27 23:50:11 +05:30
|
|
|
"jsdom": "22.1.0",
|
2022-03-22 13:06:48 +05:30
|
|
|
"lint-staged": "12.3.7",
|
2020-12-14 05:29:51 +02:00
|
|
|
"pepjs": "0.5.3",
|
2022-05-10 12:23:34 +00:00
|
|
|
"prettier": "2.6.2",
|
2023-03-14 13:06:57 +01:00
|
|
|
"rewire": "6.0.0",
|
2023-07-27 23:50:11 +05:30
|
|
|
"typescript": "4.9.4",
|
|
|
|
"vite": "4.4.2",
|
|
|
|
"vite-plugin-checker": "0.6.1",
|
|
|
|
"vite-plugin-ejs": "1.6.4",
|
|
|
|
"vite-plugin-pwa": "0.16.4",
|
|
|
|
"vite-plugin-svgr": "2.4.0",
|
|
|
|
"vitest": "0.32.2",
|
|
|
|
"vitest-canvas-mock": "0.3.2"
|
2020-01-01 17:04:47 -08:00
|
|
|
},
|
2020-03-25 13:10:05 -04:00
|
|
|
"engines": {
|
2023-07-27 23:50:11 +05:30
|
|
|
"node": ">=18.0.0"
|
2020-02-12 02:19:43 +04:00
|
|
|
},
|
2020-03-30 17:52:48 +03:00
|
|
|
"homepage": ".",
|
2020-07-18 14:44:45 +02:00
|
|
|
"name": "excalidraw",
|
2021-02-25 20:26:27 +02:00
|
|
|
"prettier": "@excalidraw/prettier-config",
|
2020-03-25 13:10:05 -04:00
|
|
|
"private": true,
|
2020-01-18 03:02:14 +02:00
|
|
|
"scripts": {
|
2020-02-28 22:51:36 +01:00
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2023-07-31 15:29:24 +02:00
|
|
|
"build:app:docker": "cross-env VITE_APP_DISABLE_SENTRY=true VITE_APP_DISABLE_TRACKING=true vite build",
|
|
|
|
"build:app": "cross-env VITE_APP_GIT_SHA=$VERCEL_GIT_COMMIT_SHA vite build",
|
2020-12-18 14:02:29 +02:00
|
|
|
"build:version": "node ./scripts/build-version.js",
|
2022-12-18 22:23:30 +01:00
|
|
|
"build": "yarn build:app && yarn build:version",
|
2021-02-23 11:41:36 +02:00
|
|
|
"fix:code": "yarn test:code --fix",
|
|
|
|
"fix:other": "yarn prettier --write",
|
2021-02-20 14:47:17 +02:00
|
|
|
"fix": "yarn fix:other && yarn fix:code",
|
2020-06-30 19:28:19 +01:00
|
|
|
"locales-coverage": "node scripts/build-locales-coverage.js",
|
2020-12-19 22:44:01 +02:00
|
|
|
"locales-coverage:description": "node scripts/locales-coverage-description.js",
|
2021-10-29 14:06:13 +03:00
|
|
|
"prepare": "husky install",
|
2020-02-02 20:04:35 +02:00
|
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
2023-07-27 23:50:11 +05:30
|
|
|
"start": "vite",
|
2022-12-18 22:23:30 +01:00
|
|
|
"start:production": "npm run build && npx http-server build -a localhost -p 5001 -o",
|
2023-08-01 16:13:04 +05:30
|
|
|
"test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watch=false",
|
2023-07-27 23:50:11 +05:30
|
|
|
"test:app": "vitest --config vitest.config.ts",
|
2021-03-02 19:36:28 +01:00
|
|
|
"test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
|
2021-02-23 11:41:36 +02:00
|
|
|
"test:other": "yarn prettier --list-different",
|
2020-06-30 19:28:19 +01:00
|
|
|
"test:typecheck": "tsc",
|
2023-07-27 23:50:11 +05:30
|
|
|
"test:update": "yarn test:app --update --watch=false",
|
2021-05-22 19:43:28 +05:30
|
|
|
"test": "yarn test:app",
|
2023-08-01 16:13:04 +05:30
|
|
|
"test:coverage": "vitest --coverage",
|
|
|
|
"test:coverage:watch": "vitest --coverage --watch",
|
2023-07-27 23:50:11 +05:30
|
|
|
"test:ui": "yarn test --ui",
|
2022-07-06 15:20:52 +05:30
|
|
|
"autorelease": "node scripts/autorelease.js",
|
|
|
|
"prerelease": "node scripts/prerelease.js",
|
2023-07-27 23:50:11 +05:30
|
|
|
"build:preview": "yarn build && vite preview --port 5000",
|
2023-07-19 22:07:18 +05:30
|
|
|
"release": "node scripts/release.js"
|
|
|
|
}
|
2020-01-03 22:13:41 +01:00
|
|
|
}
|