3d4544548b
* chore(lint): upgrade typescript-eslint * chore(lint): add root "lint" script * chore(turbo): remove build dependency from lint * chore(lint): enable jest recommended rules * chore(lint): resolve errors * ci: add lint step * prettier Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
78 lines
2.4 KiB
JSON
78 lines
2.4 KiB
JSON
{
|
|
"name": "@tldraw/monorepo",
|
|
"private": true,
|
|
"version": "1.6.2",
|
|
"description": "A tiny little drawing app.",
|
|
"author": "@steveruizok",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw.git"
|
|
},
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"apps/*",
|
|
"apps/vscode/*",
|
|
"examples/*"
|
|
],
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"build:www": "turbo run build:www --force",
|
|
"build:core": "turbo run build:core",
|
|
"build:packages": "turbo run build:packages --stream",
|
|
"build:apps": "turbo run build:apps",
|
|
"start": "turbo run start --stream --parallel",
|
|
"start:all": "turbo run start:all --stream --parallel",
|
|
"start:core": "turbo run start:core --stream --parallel",
|
|
"start:www": "turbo run start --parallel & cd apps/www && yarn dev",
|
|
"start:electron": "turbo run start:electron --stream --parallel",
|
|
"start:vscode": "code apps/vscode/extension & turbo run start:vscode --parallel; ",
|
|
"version": "yarn changeset version",
|
|
"changeset": "changeset",
|
|
"turbo": "turbo",
|
|
"test": "turbo run test --stream",
|
|
"test:ci": "turbo run test:ci --stream",
|
|
"test:watch": "turbo run test:watch --stream",
|
|
"docs": "turbo run docs",
|
|
"docs:watch": "turbo run docs --watch",
|
|
"postinstall": "husky install",
|
|
"clean": "turbo run clean",
|
|
"pre-commit": "lint-staged",
|
|
"pre-push": "yarn test"
|
|
},
|
|
"devDependencies": {
|
|
"@swc-node/jest": "^1.4.3",
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
"@testing-library/react": "^12.1.2",
|
|
"@tldraw/lfg": "latest",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/node": "^17.0.14",
|
|
"@types/vscode": "^1.63.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
|
"@typescript-eslint/parser": "^5.17.0",
|
|
"eslint": "^8.8.0",
|
|
"eslint-plugin-jest": "^26.6.0",
|
|
"fake-indexeddb": "^3.1.7",
|
|
"husky": "^7.0.4",
|
|
"init-package-json": "^2.0.5",
|
|
"jest": "^27.4.7",
|
|
"lint-staged": "^12.3.3",
|
|
"mobx": "^6.3.8",
|
|
"prettier": "^2.5.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"source-map-loader": "^3.0.1",
|
|
"tslib": "^2.4.0",
|
|
"turbo": "^1.1.2",
|
|
"typedoc": "^0.22.15",
|
|
"typescript": "^4.7.3",
|
|
"webpack": "^5.68.0"
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --ignore-unknown --write",
|
|
"*.{ts,tsx}": "eslint --fix"
|
|
},
|
|
"packageManager": "yarn@1.22.17",
|
|
"dependencies": {
|
|
"@changesets/cli": "^2.20.0"
|
|
}
|
|
}
|