tldraw/packages/core/package.json
Gwenaël Gallon 25f39a65fc
Chore: update and optimize turbo (#885)
* 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>
2022-08-11 07:08:32 +01:00

93 lines
2.2 KiB
JSON

{
"version": "1.15.0",
"name": "@tldraw/core",
"description": "The tldraw core renderer and utilities.",
"author": "@steveruizok",
"repository": {
"type": "git",
"url": "git+https://github.com/tldraw/tldraw.git"
},
"license": "MIT",
"keywords": [
"react",
"canvas",
"zoom",
"drawing",
"whiteboard"
],
"files": [
"dist/**/*"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"source": "./dist/index.ts",
"scripts": {
"dev": "yarn lfg -d",
"build": "yarn lfg",
"test": "jest",
"test:ci": "jest --ci --runInBand --updateSnapshot",
"test:watch": "jest --watchAll",
"lint": "TIMING=1 eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@tldraw/intersect": "^1.7.1",
"@tldraw/vec": "^1.7.1",
"@use-gesture/react": "^10.2.14",
"mobx-react-lite": "^3.2.3",
"perfect-freehand": "^1.1.0",
"resize-observer-polyfill": "^1.5.1"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"devDependencies": {
"@swc-node/jest": "^1.4.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@tldraw/intersect": "*",
"@tldraw/vec": "*",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@tldraw/lfg": "latest",
"mobx": "^6.3.8",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/../../setupTests.ts"
],
"transform": {
"^.+\\.(tsx|jsx|ts|js|mjs)?$": [
"@swc-node/jest",
{
"dynamicImport": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
]
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/src/test/"
],
"moduleNameMapper": {
"@tldraw/core": "<rootDir>/src",
"\\~(.*)": "<rootDir>/src/$1"
}
},
"gitHead": "4b1137849ad07da36fc8f0f19cb64e7535a79296"
}