108 lines
2.8 KiB
JSON
108 lines
2.8 KiB
JSON
{
|
|
"name": "@tldraw/tldraw",
|
|
"version": "1.17.2",
|
|
"description": "A tiny little drawing app (editor)",
|
|
"author": "@steveruizok",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "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": "./src/index.ts",
|
|
"scripts": {
|
|
"start": "yarn lfg -d",
|
|
"build": "yarn lfg",
|
|
"start:packages": "yarn start",
|
|
"start:core": "yarn start",
|
|
"build:core": "yarn build",
|
|
"build:packages": "yarn build",
|
|
"lint": "eslint src/ --ext .ts,.tsx",
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
"test": "jest",
|
|
"test:ci": "jest --ci --runInBand --updateSnapshot",
|
|
"test:watch": "jest --watchAll",
|
|
"docs": "typedoc"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.8",
|
|
"react-dom": ">=16.8"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-alert-dialog": "^0.1.7",
|
|
"@radix-ui/react-context-menu": "^0.1.6",
|
|
"@radix-ui/react-dropdown-menu": "^0.1.6",
|
|
"@radix-ui/react-icons": "^1.1.1",
|
|
"@radix-ui/react-tooltip": "^0.1.7",
|
|
"@stitches/react": "^1.2.8",
|
|
"@tldraw/core": "^1.14.0",
|
|
"@tldraw/intersect": "^1.7.1",
|
|
"@tldraw/vec": "^1.7.1",
|
|
"idb-keyval": "^6.1.0",
|
|
"lz-string": "^1.4.4",
|
|
"perfect-freehand": "^1.1.0",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-hotkeys-hook": "^3.4.4",
|
|
"react-intl": "^6.0.3",
|
|
"tslib": "^2.4.0",
|
|
"zustand": "^3.6.9"
|
|
},
|
|
"devDependencies": {
|
|
"@swc-node/jest": "^1.4.3",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@tldraw/core": "*",
|
|
"@tldraw/intersect": "*",
|
|
"@tldraw/lfg": "latest",
|
|
"@tldraw/vec": "*",
|
|
"@types/lz-string": "^1.3.34",
|
|
"@types/node": "^17.0.14",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
"eslint": "^8.8.0",
|
|
"mobx": "^6.3.8",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0",
|
|
"typescript": "^4.7.3"
|
|
},
|
|
"jest": {
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/../../setupTests.ts"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(tsx|jsx|ts|js|mjs)?$": "@swc-node/jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"testEnvironment": "jsdom",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/dist/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"@tldraw/tldraw": "<rootDir>/src",
|
|
"\\~(.*)": "<rootDir>/src/$1"
|
|
}
|
|
},
|
|
"gitHead": "4b1137849ad07da36fc8f0f19cb64e7535a79296"
|
|
}
|