tldraw/packages/tldraw/package.json
Steve Ruiz 32a5511b3d v1.4.1
2021-12-28 11:50:33 +00:00

93 lines
2.5 KiB
JSON

{
"name": "@tldraw/tldraw",
"version": "1.4.1",
"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/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"start": "node scripts/dev & yarn types:dev",
"start:packages": "yarn start",
"build": "node scripts/build && yarn types:build",
"build:packages": "yarn build",
"types:dev": "tsc -w",
"types:build": "tsc -p tsconfig.build.json && tsconfig-replace-paths -p tsconfig.build.json",
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf dist",
"ts-node": "ts-node",
"test": "jest",
"test:ci": "jest --ci --runInBand --updateSnapshot",
"test:watch": "jest --watchAll"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": "^16.8 || ^17.0"
},
"dependencies": {
"@radix-ui/react-alert-dialog": "^0.1.1",
"@radix-ui/react-checkbox": "^0.1.1",
"@radix-ui/react-context-menu": "^0.1.1",
"@radix-ui/react-dropdown-menu": "^0.1.1",
"@radix-ui/react-icons": "^1.0.3",
"@radix-ui/react-radio-group": "^0.1.1",
"@radix-ui/react-tooltip": "^0.1.1",
"@stitches/react": "^1.2.5",
"@tldraw/core": "^1.4.1",
"@tldraw/intersect": "^1.4.0",
"@tldraw/vec": "^1.4.0",
"idb-keyval": "^6.0.3",
"perfect-freehand": "^1.0.16",
"react-hotkeys-hook": "^3.4.0",
"tslib": "^2.3.1",
"zustand": "^3.6.5"
},
"devDependencies": {
"@swc-node/jest": "^1.3.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"tsconfig-replace-paths": "^0.0.11"
},
"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/",
"<rootDir>/src/test/"
],
"moduleNameMapper": {
"@tldraw/tldraw": "<rootDir>/src",
"\\~(.*)": "<rootDir>/src/$1"
}
},
"gitHead": "3ab5db27b9e83736fdae934474e80e90c854922c"
}