forked from tldraw/tldraw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@tldraw/monorepo",
"private": true,
"version": "1.0.0",
"description": "A tiny little drawing app.",
"author": "@steveruizok",
"repository": {
"type": "git",
"url": "https://github.com/tldraw/tldraw.git"
},
"license": "MIT",
"workspaces": [
"packages/curve",
"packages/vec",
"packages/intersect",
"packages/core",
"packages/tldraw",
"apps/www",
"apps/electron",
"apps/vscode/editor",
"apps/vscode/extension",
"examples/tldraw-example",
"examples/core-example",
"examples/core-example-advanced"
],
"scripts": {
"build": "lerna run build --stream",
"build:www": "yarn build:packages && cd apps/www && yarn build",
"build:core": "lerna run build:core",
"build:packages": "lerna run build:packages --stream",
"build:apps": "lerna run build:apps",
"start": "yarn build:packages && lerna run start --stream --parallel",
"start:all": "yarn build:packages && lerna run start:all --stream --parallel",
"start:core": "lerna run start:core --stream --parallel",
"start:www": "yarn build:packages && lerna run start --parallel & cd apps/www && yarn dev",
"start:electron": "lerna run start:electron --stream --parallel",
"start:vscode": "code apps/vscode/extension & lerna run start:vscode --parallel; ",
"publish:patch": "yarn build:packages && yarn test && lerna publish",
"fix:style": "yarn run prettier ./packages/core/src --write && yarn run prettier ./packages/tldraw/src --write",
"lerna": "lerna",
"test": "lerna run test --stream",
"test:ci": "lerna run test:ci --stream",
"test:watch": "lerna run test:watch --stream",
"docs": "lerna run typedoc",
"docs:watch": "lerna run typedoc --watch",
"postinstall": "husky install",
"pretty-quick": "pretty-quick"
},
"devDependencies": {
"@swc-node/jest": "^1.3.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/jest": "^27.0.2",
"@types/node": "^15.0.1",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/vscode": "^1.59.0",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.32.0",
"fake-indexeddb": "^3.1.3",
"husky": "^7.0.4",
"init-package-json": "^2.0.4",
"jest": "^27.3.1",
"lerna": "^3.22.1",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.2",
"resize-observer-polyfill": "^1.5.1",
"tslib": "^2.3.0",
"typedoc": "^0.22.3",
"typescript": "^4.5.2"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "fix:style && eslint && test"
}
}
}