forked from scalar/scalar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.77 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
{
"name": "root",
"type": "module",
"packageManager": "[email protected]",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@playwright/test": "^1.42.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.2.2",
"@vue/eslint-config-typescript": "^12.0.0",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-vue": "^9.21.1",
"lefthook": "^1.6.1",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"syncpack": "^12.3.0",
"turbo": "^1.12.3",
"typescript": "^5.4.2",
"vite-node": "^1.2.2",
"vitest": "^1.2.2",
"vue-eslint-parser": "^9.4.2"
},
"private": true,
"scripts": {
"build": "turbo build",
"build:packages": "turbo --filter './packages/**' build",
"build:standalone": "pnpm --filter api-reference build:standalone",
"bump": "CI=true pnpm run test && pnpm changeset version",
"clean": "pnpm clean:nodeModules; pnpm clean:dist; pnpm clean:turbo; pnpm clean:nuxt",
"clean:build": "pnpm clean ; pnpm i && pnpm build:packages",
"clean:nodeModules": "find . -name node_modules -type d -exec rm -rf {} \\;",
"clean:nuxt": "find . -name .nuxt -type d -exec rm -rf {} \\;",
"clean:dist": "find . -name dist -type d -exec rm -rf {} \\;",
"clean:turbo": "find . -name .turbo -type d -exec rm -rf {} \\;",
"dev": "turbo run dev --parallel --concurrency=100 --filter './examples/*' --filter './packages/nuxt'",
"@scalar/cli": "pnpm --filter @scalar/cli run @scalar/cli",
"format": "pnpm prettier --write .",
"format:check": "pnpm prettier --check .",
"format:packages": "pnpm syncpack fix-mismatches --types 'prod,dev' || true && pnpm syncpack set-semver-ranges && vite-node scripts/format-package.ts && pnpm install -r",
"lint": "pnpm -r lint:check",
"lint:fix": "pnpm -r lint:fix",
"pack:packages": "./scripts/pack.sh",
"preview:standalone": "pnpm --filter api-reference preview:standalone",
"playwright:install": "npx playwright install --with-deps",
"test": "vitest",
"test:ci": "CI=1 vitest --silent",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"types:check": "pnpm -r types:check",
"bootstrap:package": "vite-node scripts/bootstrap-package/bootstrap-package.ts"
},
"exports": {
"./css/*.css": {
"import": "./dist/css/*.css",
"require": "./dist/css/*.css"
},
"./*.css": {
"import": "./dist/*.css",
"require": "./dist/*.css"
}
}
}