25f39a65fc
* Update turbo to latest * Update turbo.json * The --stream flag has been deprecated * Remove unused start:all * build:packages -> use new --filter * build:apps -> use new --filter * build:www -> use new --filter * build:core -> use new --filter * build -> fix tldraw-example dependencies * Optimize test* and lint * start & start:core -> use new --filter * start:electron -> use new --filter * Remove unused start:apps * Update turbo.json * Caching ESLint See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs * Optimize test:watch * start:www -> use new filter * start:vscode -> use new filter * Update build:core * Optimize start and start:core * Clean build:core * Remove unused command * Revert "Merge branch 'main' into chore/update-turbo" This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing changes made to a0f2f337b3d00974741effd4faae699ce493d3a2. * Update start:electron * Remove unused deploy in turbo.json * Add start:extension * Add package:electron and package:vscode * Add publish:vscode * Revet Revert: revert "Merge branch 'main' into chore/update-turbo" * Update vscode extension build * Clean tldraw-example tsconfig.json * Uniform script commands * Fix start for www * remove mention of removed packages * add build:core * Add force to build step Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
77 lines
2.5 KiB
JSON
77 lines
2.5 KiB
JSON
{
|
|
"name": "@tldraw/monorepo",
|
|
"private": true,
|
|
"version": "1.6.2",
|
|
"description": "A tiny little drawing app.",
|
|
"author": "@steveruizok",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw.git"
|
|
},
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"apps/*",
|
|
"apps/vscode/*",
|
|
"examples/*"
|
|
],
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"build:www": "turbo run build --filter=@tldraw/www",
|
|
"build:core": "turbo run build --filter=@tldraw/core-example*",
|
|
"build:packages": "turbo run build --filter=./packages/*",
|
|
"build:apps": "turbo run build --filter=./apps/**",
|
|
"start": "turbo run dev --filter=@tldraw/tldraw-example... --parallel",
|
|
"start:core": "turbo run dev --filter=@tldraw/core-example*... --parallel",
|
|
"start:www": "turbo run dev --filter=@tldraw/www... --parallel",
|
|
"start:vscode": "turbo run dev --filter=./apps/vscode/*... --parallel",
|
|
"start:extension": "turbo run dev --filter=@tldraw/new-tab-extension... --parallel",
|
|
"package:vscode": "turbo run package --filter=tldraw-vscode",
|
|
"publish:vscode": "turbo run publish --filter=tldraw-vscode",
|
|
"serve:www": "turbo run start --filter=@tldraw/www",
|
|
"version": "changeset version",
|
|
"changeset": "changeset",
|
|
"test": "turbo run test",
|
|
"test:ci": "turbo run test:ci",
|
|
"test:watch": "turbo run test:watch",
|
|
"format": "prettier --write .",
|
|
"lint": "turbo run lint --parallel",
|
|
"clean": "turbo run clean",
|
|
"postinstall": "husky install",
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn test"
|
|
},
|
|
"devDependencies": {
|
|
"@ggallon/prettier-plugin-sort-imports": "^3.4.2-canary.0",
|
|
"@swc-node/jest": "^1.4.3",
|
|
"@tldraw/lfg": "latest",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/node": "^17.0.14",
|
|
"@types/vscode": "^1.63.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
|
"@typescript-eslint/parser": "^5.17.0",
|
|
"eslint": "^8.20.0",
|
|
"eslint-plugin-jest": "^26.8.2",
|
|
"fake-indexeddb": "^3.1.7",
|
|
"husky": "^7.0.4",
|
|
"init-package-json": "^2.0.5",
|
|
"jest": "^27.4.7",
|
|
"lint-staged": "^12.3.3",
|
|
"mobx": "^6.3.8",
|
|
"prettier": "^2.7.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"source-map-loader": "^3.0.1",
|
|
"tslib": "^2.4.0",
|
|
"turbo": "^1.3.4",
|
|
"typescript": "^4.7.3",
|
|
"webpack": "^5.68.0"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --ignore-unknown --write",
|
|
"*.{ts,tsx}": "eslint --fix"
|
|
},
|
|
"packageManager": "yarn@1.22.17",
|
|
"dependencies": {
|
|
"@changesets/cli": "^2.20.0"
|
|
}
|
|
}
|