tldraw/package.json
Steve Ruiz c54c800675
[improvement] local copy and export for images (#669)
* local images

use assets for local copy

add menu options

* clean up packages

* cleanup unused content, move file handling into app.paste

* Add tldraw-assets.json to other files.

* add path to editor

* Update build.mjs

* add export to server example with link to gist

* Fix onAssetCreate and onAssetDelete APIs

* Update yarn.lock

* fix bugs on paste, adjust api for getting images, fix readonly on cut, copy, paste

* re-enable swc

* paste svg strings as svg images

* cleanup

* fix string case for tldraw json
2022-05-11 14:25:08 +01:00

84 lines
2.6 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:www --force",
"build:core": "turbo run build:core",
"build:packages": "turbo run build:packages --stream",
"build:apps": "turbo run build:apps",
"start": "turbo run start --stream --parallel",
"start:all": "turbo run start:all --stream --parallel",
"start:core": "turbo run start:core --stream --parallel",
"start:www": "turbo run start --parallel & cd apps/www && yarn dev",
"start:electron": "turbo run start:electron --stream --parallel",
"start:vscode": "code apps/vscode/extension & turbo run start:vscode --parallel; ",
"version": "yarn changeset version",
"changeset": "changeset",
"fix:style": "yarn run prettier ./packages/core/src --write && yarn run prettier ./packages/tldraw/src --write",
"turbo": "turbo",
"test": "turbo run test --stream",
"test:ci": "turbo run test:ci --stream",
"test:watch": "turbo run test:watch --stream",
"docs": "turbo run typedoc",
"docs:watch": "turbo run typedoc --watch",
"postinstall": "husky install",
"pretty-quick": "pretty-quick",
"clean": "turbo run clean"
},
"devDependencies": {
"@swc-node/jest": "^1.4.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.14",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/vscode": "^1.63.2",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"fake-indexeddb": "^3.1.7",
"husky": "^7.0.4",
"init-package-json": "^2.0.5",
"jest": "^27.4.7",
"lask": "^0.0.29",
"lint-staged": "^12.3.3",
"mobx": "^6.3.8",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"react": ">=16.8",
"react-dom": "^16.8 || ^17.0",
"resize-observer-polyfill": "^1.5.1",
"source-map-loader": "^3.0.1",
"tslib": "^2.3.1",
"turbo": "^1.1.2",
"typedoc": "^0.22.15",
"typescript": "^4.6.4",
"webpack": "^5.68.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "fix:style && eslint && test"
}
},
"packageManager": "yarn@1.22.17",
"dependencies": {
"@changesets/cli": "^2.20.0"
}
}