348ff9f66a
Switch on package publishing for sync libraries so we can start building templates on the canaries. ### Change type - [x] `other`
74 lines
1.9 KiB
JSON
74 lines
1.9 KiB
JSON
{
|
|
"name": "@tldraw/sync",
|
|
"description": "A tiny little drawing app (multiplayer sync react bindings).",
|
|
"version": "2.3.0",
|
|
"author": {
|
|
"name": "tldraw GB Ltd.",
|
|
"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-ci": "lazy inherit",
|
|
"test": "yarn run -T jest",
|
|
"test-coverage": "lazy inherit",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.3.3",
|
|
"uuid-by-string": "^4.0.0",
|
|
"uuid-readable": "^0.0.2"
|
|
},
|
|
"jest": {
|
|
"preset": "config/jest/node",
|
|
"testEnvironment": "../../../packages/utils/patchedJestJsDom.js",
|
|
"moduleNameMapper": {
|
|
"^~(.*)": "<rootDir>/src/$1"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"ignore everything. swc is fast enough to transform everything"
|
|
],
|
|
"setupFiles": [
|
|
"./setupJest.js"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@tldraw/sync-core": "workspace:*",
|
|
"@tldraw/utils": "workspace:*",
|
|
"lodash.isequal": "^4.5.0",
|
|
"nanoevents": "^7.0.1",
|
|
"nanoid": "4.0.2",
|
|
"tldraw": "workspace:*",
|
|
"ws": "^8.16.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18",
|
|
"react-dom": "^18"
|
|
}
|
|
}
|