tldraw/package.json

102 lines
2.7 KiB
JSON
Raw Normal View History

2021-05-09 12:03:39 +00:00
{
2021-08-10 16:12:55 +00:00
"name": "tldraw",
"private": true,
"author": "@steveruizok",
"description": "A tiny little drawing app.",
"repository": {
"type": "git",
"url": "git+https://github.com/tldraw/tldraw.git"
2021-06-21 21:35:28 +00:00
},
2021-08-10 16:12:55 +00:00
"license": "MIT",
"version": "0.0.36",
"workspaces": [
2021-08-10 17:19:30 +00:00
"packages/core",
"packages/tldraw",
2021-08-11 20:03:59 +00:00
"packages/dev",
"packages/www"
2021-08-10 16:12:55 +00:00
],
2021-08-10 17:19:30 +00:00
"scripts": {
"test": "jest",
"lerna": "lerna",
2021-08-13 11:13:11 +00:00
"start": "lerna run start --stream --parallel",
"start:www": "lerna run start --stream --parallel & cd packages/www && yarn build",
2021-08-10 17:19:30 +00:00
"build": "yarn build:packages && cd packages/www && yarn build",
2021-08-13 12:48:08 +00:00
"build:packages": "cd packages/core && yarn build && cd ../tldraw && yarn build",
"publish:patch": "yarn build:packages && lerna publish patch"
2021-08-10 17:19:30 +00:00
},
2021-08-10 16:12:55 +00:00
"devDependencies": {
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
2021-08-14 15:46:21 +00:00
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
2021-08-10 16:12:55 +00:00
"@types/jest": "^26.0.24",
"@types/node": "^15.0.1",
"@types/react": "^17.0.16",
2021-08-14 15:46:21 +00:00
"@types/react-dom": "^17.0.9",
2021-08-10 16:12:55 +00:00
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"babel-jest": "^27.0.6",
"esbuild": "^0.11.11",
"jest": "^27.0.6",
"lerna": "^3.15.0",
"react": "^17.0.2",
2021-08-14 15:46:21 +00:00
"react-dom": "^17.0.2",
2021-08-10 16:12:55 +00:00
"ts-jest": "^27.0.4",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
2021-05-09 12:03:39 +00:00
},
2021-08-10 17:19:30 +00:00
"dependencies": {},
2021-06-22 18:13:16 +00:00
"prettier": {
2021-08-10 16:12:55 +00:00
"trailingComma": "es5",
2021-06-22 18:13:16 +00:00
"singleQuote": true,
2021-08-10 16:12:55 +00:00
"semi": false,
"printWidth": 100
},
"jest": {
"preset": "ts-jest",
2021-08-14 15:46:21 +00:00
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
2021-08-10 16:12:55 +00:00
"transform": {
"^.+\\.(tsx|jsx|ts|js)?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json",
"babelConfig": {
"presets": [
[
"@babel/preset-react"
],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-syntax-import-meta"
]
}
}
},
"testEnvironment": "jsdom",
"modulePathIgnorePatterns": [
"<rootDir>/packages/core/build/",
2021-08-14 15:46:21 +00:00
"<rootDir>/packages/tldraw/build/",
"<rootDir>/packages/tldraw/test-utils/"
2021-08-10 16:12:55 +00:00
],
"moduleNameMapper": {
"@tldraw/core": "<rootDir>/packages/core/src",
2021-08-13 10:49:35 +00:00
"@tldraw/tldraw": "<rootDir>/packages/tldraw/src",
"\\~(.*)": "<rootDir>/packages/tldraw/src/$1",
"\\+(.*)": "<rootDir>/packages/core/src/$1"
2021-08-10 16:12:55 +00:00
}
2021-05-09 12:03:39 +00:00
}
2021-08-10 16:12:55 +00:00
}