2021-05-09 12:03:39 +00:00
|
|
|
{
|
2021-11-18 14:05:44 +00:00
|
|
|
"name": "@tldraw/monorepo",
|
2021-08-10 16:12:55 +00:00
|
|
|
"private": true,
|
|
|
|
"description": "A tiny little drawing app.",
|
2021-11-02 11:46:25 +00:00
|
|
|
"author": "@steveruizok",
|
2021-08-10 16:12:55 +00:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-11-16 16:01:29 +00:00
|
|
|
"url": "https://github.com/tldraw/tldraw.git"
|
2021-06-21 21:35:28 +00:00
|
|
|
},
|
2021-08-10 16:12:55 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"workspaces": [
|
2021-08-10 17:19:30 +00:00
|
|
|
"packages/tldraw",
|
2021-11-18 13:09:18 +00:00
|
|
|
"packages/core",
|
|
|
|
"apps/www",
|
|
|
|
"apps/electron",
|
|
|
|
"apps/vscode/editor",
|
|
|
|
"apps/vscode/extension",
|
|
|
|
"examples/tldraw-example",
|
|
|
|
"examples/core-example",
|
|
|
|
"examples/core-example-advanced"
|
2021-08-10 16:12:55 +00:00
|
|
|
],
|
2021-08-10 17:19:30 +00:00
|
|
|
"scripts": {
|
2021-11-18 13:09:18 +00:00
|
|
|
"build": "lerna run build --stream",
|
|
|
|
"build:www": "yarn build:packages && cd apps/www && yarn build",
|
|
|
|
"build:core": "lerna run build:core",
|
|
|
|
"build:packages": "lerna run build:packages --stream",
|
|
|
|
"build:apps": "lerna run build:apps",
|
2021-11-20 00:05:48 +00:00
|
|
|
"start": "yarn build:packages && lerna run start --stream --parallel",
|
2021-11-18 13:09:18 +00:00
|
|
|
"start:core": "lerna run start:core --stream --parallel",
|
|
|
|
"start:www": "yarn build:packages && lerna run start --parallel & cd apps/www && yarn dev",
|
|
|
|
"start:electron": "lerna run start:electron --stream --parallel",
|
|
|
|
"start:vscode": "code apps/vscode/extension & lerna run start:vscode --parallel; ",
|
2021-11-20 15:46:05 +00:00
|
|
|
"publish:patch": "yarn test && yarn build:packages && lerna publish patch",
|
2021-11-18 13:09:18 +00:00
|
|
|
"fix:style": "yarn run prettier ./packages/tldraw/src --write",
|
|
|
|
"lerna": "lerna",
|
|
|
|
"test": "lerna run test --stream",
|
|
|
|
"test:ci": "lerna run test:ci --stream",
|
|
|
|
"test:watch": "lerna run test:watch --stream",
|
|
|
|
"docs": "lerna run typedoc",
|
|
|
|
"docs:watch": "lerna run typedoc --watch",
|
|
|
|
"postinstall": "husky install"
|
2021-08-10 17:19:30 +00:00
|
|
|
},
|
2021-08-10 16:12:55 +00:00
|
|
|
"devDependencies": {
|
2021-10-22 11:41:24 +00:00
|
|
|
"@swc-node/jest": "^1.3.3",
|
2021-08-14 15:46:21 +00:00
|
|
|
"@testing-library/jest-dom": "^5.14.1",
|
|
|
|
"@testing-library/react": "^12.0.0",
|
2021-11-01 15:26:44 +00:00
|
|
|
"@types/jest": "^27.0.2",
|
2021-08-10 16:12:55 +00:00
|
|
|
"@types/node": "^15.0.1",
|
2021-10-27 17:52:02 +00:00
|
|
|
"@types/react": "^17.0.33",
|
|
|
|
"@types/react-dom": "^17.0.10",
|
2021-11-10 15:35:51 +00:00
|
|
|
"@types/vscode": "^1.59.0",
|
2021-08-10 16:12:55 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
|
|
"@typescript-eslint/parser": "^4.19.0",
|
2021-08-31 13:28:51 +00:00
|
|
|
"eslint": "^7.32.0",
|
2021-08-29 13:33:43 +00:00
|
|
|
"fake-indexeddb": "^3.1.3",
|
2021-11-06 11:16:30 +00:00
|
|
|
"husky": "^7.0.4",
|
2021-09-09 12:32:08 +00:00
|
|
|
"init-package-json": "^2.0.4",
|
2021-11-01 15:26:44 +00:00
|
|
|
"jest": "^27.3.1",
|
2021-09-09 12:32:08 +00:00
|
|
|
"lerna": "^3.22.1",
|
2021-11-06 11:16:30 +00:00
|
|
|
"lint-staged": "^11.2.6",
|
|
|
|
"prettier": "^2.4.1",
|
2021-09-08 16:18:43 +00:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
2021-08-10 16:12:55 +00:00
|
|
|
"tslib": "^2.3.0",
|
2021-09-12 13:00:31 +00:00
|
|
|
"typedoc": "^0.22.3",
|
2021-08-29 13:33:43 +00:00
|
|
|
"typescript": "^4.4.2"
|
2021-05-09 12:03:39 +00:00
|
|
|
},
|
2021-11-06 11:16:30 +00:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"pre-push": "test && lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*": "fix:style && eslint"
|
2021-05-09 12:03:39 +00:00
|
|
|
}
|
2021-11-04 15:48:39 +00:00
|
|
|
}
|