826433751c
Biome seems to be MUCH faster than Prettier. Unfortunately, it introduces some formatting changes around the ternary operator, so we have to update files in the repo. To make revert easier if we need it, the change is split into two PRs. This PR has only config/package changes and is expected to fail the CI. ## Change Type - [x] `minor` — New feature
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"name": "@tldraw/tlschema",
|
|
"description": "A tiny little drawing app (schema).",
|
|
"version": "2.0.0-beta.2",
|
|
"author": {
|
|
"name": "tldraw Inc.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"homepage": "https://tldraw.dev",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/tldraw/tldraw/issues"
|
|
},
|
|
"keywords": [
|
|
"tldraw",
|
|
"drawing",
|
|
"app",
|
|
"development",
|
|
"whiteboard",
|
|
"canvas",
|
|
"infinite"
|
|
],
|
|
"/* NOTE */": "These `main` and `types` fields are rewritten by the build script. They are not the actual values we publish",
|
|
"main": "./src/index.ts",
|
|
"types": "./.tsbuild/index.d.ts",
|
|
"/* GOTCHA */": "files will include ./dist and index.d.ts by default, add any others you want to include in here",
|
|
"files": [],
|
|
"scripts": {
|
|
"test": "lazy inherit",
|
|
"test-dev": "yarn run -T jest --watch",
|
|
"test-coverage": "lazy inherit",
|
|
"index": "node ./scripts/build-index.js && yarn format",
|
|
"build": "yarn run -T tsx ../../scripts/build-package.ts",
|
|
"build-api": "yarn run -T tsx ../../scripts/build-api.ts",
|
|
"prepack": "yarn run -T tsx ../../scripts/prepack.ts",
|
|
"postpack": "../../scripts/postpack.sh",
|
|
"pack-tarball": "yarn pack",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts"
|
|
},
|
|
"devDependencies": {
|
|
"kleur": "^4.1.5",
|
|
"lazyrepo": "0.0.0-alpha.27"
|
|
},
|
|
"jest": {
|
|
"preset": "config/jest/node",
|
|
"moduleNameMapper": {
|
|
"^~(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(nanoid)/)"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@tldraw/state": "workspace:*",
|
|
"@tldraw/store": "workspace:*",
|
|
"@tldraw/utils": "workspace:*",
|
|
"@tldraw/validate": "workspace:*",
|
|
"nanoid": "4.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18"
|
|
}
|
|
}
|