Tldraw/packages/tldraw/package.json

101 wiersze
2.7 KiB
JSON
Czysty Zwykły widok Historia

2021-08-10 16:12:55 +00:00
{
"name": "@tldraw/tldraw",
2022-02-03 11:19:12 +00:00
"version": "1.6.1",
2021-09-05 11:00:52 +00:00
"description": "A tiny little drawing app (editor)",
2021-08-10 16:12:55 +00:00
"author": "@steveruizok",
"repository": {
"type": "git",
"url": "https://github.com/tldraw/tldraw.git"
2021-08-10 16:12:55 +00:00
},
"license": "MIT",
"keywords": [
"react",
"canvas",
"zoom",
"drawing",
"whiteboard"
],
2021-09-05 11:19:08 +00:00
"files": [
"dist/**/*"
],
2021-08-10 16:12:55 +00:00
"main": "./dist/cjs/index.js",
2021-08-27 09:53:01 +00:00
"module": "./dist/esm/index.js",
2021-08-10 16:12:55 +00:00
"types": "./dist/types/index.d.ts",
"scripts": {
2021-08-30 18:10:30 +00:00
"start": "node scripts/dev & yarn types:dev",
"start:packages": "yarn start",
2021-11-12 22:22:39 +00:00
"build": "node scripts/build && yarn types:build",
"build:packages": "yarn build",
2021-09-14 07:51:24 +00:00
"types:dev": "tsc -w",
"types:build": "tsc -p tsconfig.build.json && tsconfig-replace-paths -p tsconfig.build.json",
2021-08-10 16:12:55 +00:00
"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"
2021-08-10 16:12:55 +00:00
},
2021-11-04 13:09:51 +00:00
"peerDependencies": {
"react": ">=16.8",
"react-dom": "^16.8 || ^17.0"
2021-11-04 13:09:51 +00:00
},
2021-08-10 16:12:55 +00:00
"dependencies": {
"@radix-ui/react-alert-dialog": "^0.1.5",
"@radix-ui/react-checkbox": "^0.1.4",
"@radix-ui/react-context-menu": "^0.1.4",
"@radix-ui/react-dropdown-menu": "^0.1.4",
2021-08-10 16:12:55 +00:00
"@radix-ui/react-icons": "^1.0.3",
"@radix-ui/react-radio-group": "^0.1.4",
"@radix-ui/react-tooltip": "^0.1.6",
"@stitches/react": "^1.2.6",
2022-02-03 11:19:12 +00:00
"@tldraw/core": "^1.6.1",
"@tldraw/intersect": "^1.6.1",
"@tldraw/vec": "^1.6.1",
2022-02-03 10:57:03 +00:00
"idb-keyval": "^6.1.0",
2021-10-13 18:58:12 +00:00
"perfect-freehand": "^1.0.16",
2022-02-03 10:57:03 +00:00
"react-hotkey-hook": "^1.0.2",
"react-hotkeys-hook": "^3.4.4",
"tslib": "^2.3.1",
2022-02-03 10:57:03 +00:00
"zustand": "^3.6.9"
2021-11-04 13:00:51 +00:00
},
"devDependencies": {
2022-02-03 10:57:03 +00:00
"@swc-node/jest": "^1.4.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.2",
"@types/node": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"lerna": "^4.0.0",
"lint-staged": "^12.3.3",
"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": "4b1137849ad07da36fc8f0f19cb64e7535a79296"
2021-12-12 21:45:57 +00:00
}