-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 4.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "root",
"type": "module",
"version": "1.0.0",
"private": true,
"engines": {
"pnpm": "^9.1.0"
},
"devDependencies": {
"@changesets/cli": "^2.27.8",
"@playwright/test": "^1.47.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.6.0",
"@vue/eslint-config-typescript": "^12.0.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-jsdoc": "^48.3.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-vue": "^9.21.1",
"lefthook": "^1.7.18",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"remark-cli": "^12.0.1",
"remark-lint-no-dead-urls": "^1.1.0",
"remark-validate-links": "^13.0.1",
"rollup": "^4.24.1",
"start-server-and-test": "^2.0.8",
"syncpack": "^12.3.0",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"turbo": "^2.1.2",
"typescript": "^5.6.2",
"vite-node": "^2.1.1",
"vitest": "^1.6.0",
"vue-eslint-parser": "^9.4.2",
"vue-tsc": "^2.1.10"
},
"scripts": {
"build": "turbo build",
"build:docker-base": "docker build -t scalar-base -f ./tooling/base-docker-builder/Dockerfile .",
"build:packages": "turbo --filter './packages/**' build",
"build:api-reference": "turbo --filter './packages/api-reference' build",
"build:standalone": "pnpm --filter api-reference --filter play-button build:standalone",
"clean": "pnpm clean:nodeModules; pnpm clean:dist; pnpm clean:turbo; pnpm clean:nuxt",
"clean:install": "pnpm clean ; pnpm i",
"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 dev --concurrency=100 --filter './examples/*' --filter=@scalar/nuxt --filter=@scalar/draggable --filter @scalar/components --filter @scalar/api-client --filter @scalar/nextjs-openapi",
"dev:client": "turbo dev --filter @scalar/api-client",
"dev:client:desktop": "turbo dev --filter scalar-app",
"dev:client:app": "turbo playground:app --filter @scalar/api-client",
"dev:client:modal": "turbo playground:modal --filter @scalar/api-client",
"dev:client:web": "turbo playground:web --filter @scalar/api-client",
"dev:components": "turbo dev --filter @scalar/components",
"dev:galaxy": "turbo dev --filter @scalar/galaxy",
"dev:modal": "turbo playground:modal --filter @scalar/api-client",
"dev:web-app": "turbo playground:web --filter @scalar/api-client",
"dev:nuxt": "turbo dev --filter @scalar/nuxt",
"dev:proxy-server": "pnpm --filter @scalar-examples/proxy-server dev",
"dev:reference": "turbo dev --filter @scalar/api-reference",
"dev:void-server": "pnpm --filter @scalar/void-server dev",
"dev:web": "turbo dev --filter @scalar-examples/web",
"@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",
"playwright:install": "npx playwright install --with-deps",
"test": "vitest",
"test:ci": "start-server-and-test 'pnpm dev:proxy-server & pnpm dev:void-server' 'http://127.0.0.1:5051/ping|http://127.0.0.1:5052' 'CI=1 vitest --silent'",
"test:e2e": "pnpm --filter playwright test:e2e",
"test:e2e:ui": "pnpm --filter playwright test:e2e:ui",
"test:e2e:jsdelivr": "pnpm --filter playwright test:e2e jsdelivr",
"test:e2e:local": "pnpm --filter playwright test:e2e local",
"test:e2e:themes": "pnpm --filter playwright test:e2e themes",
"test:e2e:nuxt": "pnpm --filter playwright test:e2e nuxt",
"test:e2e:electron": "pnpm --filter playwright test:e2e electron",
"types:check": "turbo --concurrency=8 types:check",
"bootstrap:package": "vite-node scripts/bootstrap-package/bootstrap-package.ts",
"markdown:check": "remark --frail ."
},
"exports": {
"./css/*.css": {
"import": "./dist/css/*.css",
"require": "./dist/css/*.css"
},
"./*.css": {
"import": "./dist/*.css",
"require": "./dist/*.css"
}
},
"packageManager": "pnpm@9.2.0",
"remarkConfig": {
"plugins": [
"remark-validate-links",
[
"remark-lint-no-dead-urls",
{
"skipUrlPatterns": [
"http://localhost"
]
}
]
]
}
}