2020-01-02 01:04:47 +00:00
|
|
|
{
|
2023-12-12 06:02:51 +00:00
|
|
|
"private": true,
|
|
|
|
"name": "excalidraw-monorepo",
|
2024-05-14 08:45:27 +00:00
|
|
|
"packageManager": "yarn@1.22.22",
|
2023-12-12 06:02:51 +00:00
|
|
|
"workspaces": [
|
|
|
|
"excalidraw-app",
|
2023-12-13 16:21:27 +00:00
|
|
|
"packages/excalidraw",
|
2024-01-24 11:37:54 +00:00
|
|
|
"packages/utils",
|
|
|
|
"examples/excalidraw",
|
|
|
|
"examples/excalidraw/*"
|
2023-12-12 06:02:51 +00:00
|
|
|
],
|
2020-01-02 01:04:47 +00:00
|
|
|
"dependencies": {
|
2023-12-12 06:02:51 +00:00
|
|
|
"@excalidraw/random-username": "1.0.0",
|
|
|
|
"@sentry/browser": "6.2.5",
|
|
|
|
"@sentry/integrations": "6.2.5",
|
|
|
|
"firebase": "8.3.3",
|
|
|
|
"i18next-browser-languagedetector": "6.1.4",
|
|
|
|
"idb-keyval": "6.0.3",
|
2023-12-15 23:23:59 +00:00
|
|
|
"jotai": "1.13.1",
|
2022-07-22 05:50:36 +00:00
|
|
|
"react": "18.2.0",
|
2023-12-15 23:23:59 +00:00
|
|
|
"react-dom": "18.2.0",
|
|
|
|
"socket.io-client": "4.7.2"
|
2020-04-29 05:53:07 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-27 18:20:11 +00:00
|
|
|
"@excalidraw/eslint-config": "1.0.3",
|
2021-02-25 18:26:27 +00:00
|
|
|
"@excalidraw/prettier-config": "1.0.2",
|
2021-12-31 00:48:59 +00:00
|
|
|
"@types/chai": "4.3.0",
|
2023-03-14 12:06:57 +00:00
|
|
|
"@types/jest": "27.4.0",
|
2022-07-20 10:11:20 +00:00
|
|
|
"@types/lodash.throttle": "4.1.7",
|
2024-04-30 16:05:00 +00:00
|
|
|
"@types/react": "18.2.0",
|
|
|
|
"@types/react-dom": "18.2.0",
|
2023-12-15 23:23:59 +00:00
|
|
|
"@types/socket.io-client": "3.0.0",
|
2023-07-27 18:20:11 +00:00
|
|
|
"@vitejs/plugin-react": "3.1.0",
|
2023-08-01 10:43:04 +00:00
|
|
|
"@vitest/coverage-v8": "0.33.0",
|
2023-07-27 18:20:11 +00:00
|
|
|
"@vitest/ui": "0.32.2",
|
2022-02-09 07:19:53 +00:00
|
|
|
"chai": "4.3.6",
|
2022-07-20 10:20:17 +00:00
|
|
|
"dotenv": "16.0.1",
|
2022-05-10 12:22:58 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2023-07-27 18:20:11 +00:00
|
|
|
"eslint-config-react-app": "7.0.1",
|
2021-01-10 10:34:37 +00:00
|
|
|
"eslint-plugin-prettier": "3.3.1",
|
2022-12-18 21:23:30 +00:00
|
|
|
"http-server": "14.1.1",
|
2021-10-29 11:06:13 +00:00
|
|
|
"husky": "7.0.4",
|
2023-07-27 18:20:11 +00:00
|
|
|
"jsdom": "22.1.0",
|
2022-03-22 07:36:48 +00:00
|
|
|
"lint-staged": "12.3.7",
|
2020-12-14 03:29:51 +00:00
|
|
|
"pepjs": "0.5.3",
|
2022-05-10 12:23:34 +00:00
|
|
|
"prettier": "2.6.2",
|
2023-03-14 12:06:57 +00:00
|
|
|
"rewire": "6.0.0",
|
2023-07-27 18:20:11 +00:00
|
|
|
"typescript": "4.9.4",
|
2024-01-24 13:59:50 +00:00
|
|
|
"vite": "5.0.12",
|
2023-07-27 18:20:11 +00:00
|
|
|
"vite-plugin-checker": "0.6.1",
|
2023-12-07 10:00:08 +00:00
|
|
|
"vite-plugin-ejs": "1.7.0",
|
|
|
|
"vite-plugin-pwa": "0.17.4",
|
2023-07-27 18:20:11 +00:00
|
|
|
"vite-plugin-svgr": "2.4.0",
|
2024-05-01 18:47:52 +00:00
|
|
|
"vitest": "1.5.3",
|
2023-07-27 18:20:11 +00:00
|
|
|
"vitest-canvas-mock": "0.3.2"
|
2020-01-02 01:04:47 +00:00
|
|
|
},
|
2020-03-25 17:10:05 +00:00
|
|
|
"engines": {
|
2023-11-17 13:23:19 +00:00
|
|
|
"node": "18.0.0 - 20.x.x"
|
2020-02-11 22:19:43 +00:00
|
|
|
},
|
2020-03-30 14:52:48 +00:00
|
|
|
"homepage": ".",
|
2021-02-25 18:26:27 +00:00
|
|
|
"prettier": "@excalidraw/prettier-config",
|
2020-01-18 01:02:14 +00:00
|
|
|
"scripts": {
|
2020-02-28 21:51:36 +00:00
|
|
|
"build-node": "node ./scripts/build-node.js",
|
2024-05-07 12:30:58 +00:00
|
|
|
"build:app:docker": "yarn --cwd ./excalidraw-app build:app:docker",
|
|
|
|
"build:app": "yarn --cwd ./excalidraw-app build:app",
|
|
|
|
"build:version": "yarn --cwd ./excalidraw-app build:version",
|
2023-12-07 11:09:11 +00:00
|
|
|
"build": "yarn --cwd ./excalidraw-app build",
|
2021-02-23 09:41:36 +00:00
|
|
|
"fix:code": "yarn test:code --fix",
|
|
|
|
"fix:other": "yarn prettier --write",
|
2021-02-20 12:47:17 +00:00
|
|
|
"fix": "yarn fix:other && yarn fix:code",
|
2020-06-30 18:28:19 +00:00
|
|
|
"locales-coverage": "node scripts/build-locales-coverage.js",
|
2020-12-19 20:44:01 +00:00
|
|
|
"locales-coverage:description": "node scripts/locales-coverage-description.js",
|
2021-10-29 11:06:13 +00:00
|
|
|
"prepare": "husky install",
|
2020-02-02 18:04:35 +00:00
|
|
|
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore",
|
2023-12-07 11:09:11 +00:00
|
|
|
"start": "yarn --cwd ./excalidraw-app start",
|
|
|
|
"start:app:production": "npm run build && npx http-server build -a localhost -p 5001 -o",
|
2023-08-01 10:43:04 +00:00
|
|
|
"test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:app --watch=false",
|
2023-12-07 10:00:08 +00:00
|
|
|
"test:app": "vitest",
|
2021-03-02 18:36:28 +00:00
|
|
|
"test:code": "eslint --max-warnings=0 --ext .js,.ts,.tsx .",
|
2021-02-23 09:41:36 +00:00
|
|
|
"test:other": "yarn prettier --list-different",
|
2020-06-30 18:28:19 +00:00
|
|
|
"test:typecheck": "tsc",
|
2023-07-27 18:20:11 +00:00
|
|
|
"test:update": "yarn test:app --update --watch=false",
|
2021-05-22 14:13:28 +00:00
|
|
|
"test": "yarn test:app",
|
2023-08-01 10:43:04 +00:00
|
|
|
"test:coverage": "vitest --coverage",
|
|
|
|
"test:coverage:watch": "vitest --coverage --watch",
|
2023-11-03 12:11:34 +00:00
|
|
|
"test:ui": "yarn test --ui --coverage.enabled=true",
|
2022-07-06 09:50:52 +00:00
|
|
|
"autorelease": "node scripts/autorelease.js",
|
2023-11-14 11:07:57 +00:00
|
|
|
"prerelease:excalidraw": "node scripts/prerelease.js",
|
2023-07-27 18:20:11 +00:00
|
|
|
"build:preview": "yarn build && vite preview --port 5000",
|
2023-11-14 11:07:57 +00:00
|
|
|
"release:excalidraw": "node scripts/release.js"
|
2023-07-19 16:37:18 +00:00
|
|
|
}
|
2020-01-03 21:13:41 +00:00
|
|
|
}
|