-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
61 lines (61 loc) · 1.98 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
{
"name": "pintora",
"description": "Monorepo for pintora project",
"private": true,
"scripts": {
"clean": "rimraf \"packages/**/lib\"",
"compile": "pnpm exec turbo run compile --concurrency=10",
"compile:browser": "pnpm exec turbo run compile --concurrency=10 --ignore='@pintora/cli'",
"watch": "pnpm exec turbo run watch --concurrency=10 --no-cache",
"watch:browser": "pnpm exec turbo run watch --concurrency=10 --no-cache --no-deps --scope='@pintora/diagrams'",
"demo:dev": "cd demo && npm run dev",
"website:dev": "cd website && npm run start",
"prettier": "prettier \"packages/*/src/**/*.{ts,js}\" \"demo/src\"",
"format": "npm run prettier -- --write",
"format:check": "npm run prettier -- --check",
"lint": "eslint packages/*/src/**/*.{ts,js}",
"test": "pnpm exec jest",
"coverage": "pnpm exec jest --coverage",
"upload-coverage": "codecov -f coverage/coverage-final.json",
"ci:coverage": "pnpm exec jest --coverage --ci",
"prepare": "turbo run prepare-setup",
"build-site": "sh ./scripts/build-site.sh",
"vercel-build": "npm run compile:browser && npm run build-site"
},
"workspaces": [
"./packages/*",
"./website",
"./demo"
],
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.js": [
"prettier --write",
"eslint --fix"
]
},
"packageManager": "pnpm@7.13.0",
"devDependencies": {
"@changesets/changelog-git": "^0.1.12",
"@changesets/cli": "^2.24.1",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"codecov": "^3.8.3",
"esbuild-jest": "^0.5.0",
"eslint": "^8.24.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.1",
"jest": "^29.0.0",
"jest-junit": "^13.2.0",
"lint-staged": "^13.0.3",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"turbo": "^1.3.4",
"typescript": "^4.8.3"
}
}