-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 2.57 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
{
"name": "dom-preview-monorepo",
"version": "0.6.3",
"description": "A replacement for vitest-preview with more features.",
"types": "./dist/index.d.cts",
"module": "./dist/index.js",
"workspaces": [
"packages/@dom-preview/ui",
"packages/@dom-preview/server",
"packages/dom-preview",
"playground",
"docs"
],
"repository": {
"type": "git",
"url": "https://github.com/nknapp/dom-preview",
"directory": "."
},
"homepage": "https://dom-preview.knappi.org",
"bugs": {
"url": "https://github.com/nknapp/dom-preview/issues"
},
"type": "module",
"scripts": {
"fix:lint": "eslint . --fix",
"fix:format": "prettier -w .",
"fix": "run-s fix:*",
"test:format": "prettier -c .",
"test:lint": "eslint . --max-warnings 0",
"test:workspaces": "npm run test --workspaces --if-present",
"test": "run-s test:*",
"build": "npm run build --workspaces --if-present",
"build-and-test": "run-s build test",
"clean": "npm run clean --workspaces --if-present",
"----- the big combination of dev-modes -----": "",
"play:server": "npm run dev:server --workspace=packages/@dom-preview/server -- --proxyUnknownRequestsTo=http://localhost:5273 --staticFilesDir=../ui/dist",
"play:ui": "npm run dev:server --workspace=packages/@dom-preview/ui",
"play:playground": "WATCH_DOM_PREVIEW=true npm run dev:unit --workspace=playground",
"play:playground-server": "npm run dev:server --workspace=playground -- --port=5273",
"play": "run-p play:*",
"----- test like it was real -----": "",
"play-prod": "npm run build && npm run dev --workspace=playground",
"----- run scripts in workspaces -----": "",
"ui": "npm run --workspace=packages/@dom-preview/ui",
"server": "npm run --workspace=packages/@dom-preview/server",
"dom-preview": "npm run --workspace=packages/dom-preview",
"playground": "npm run --workspace=packages/dom-preview",
"docs": "npm run --workspace=docs",
"----- version bump automation -------": "",
"preversion": "npm run build && npm run test",
"version": "node ./scripts/on-version-bump.js",
"postversion": "npm publish -ws && git push origin main --tags"
},
"author": "Nils Knappmeier",
"license": "MIT",
"lint-staged": {
"*.{js,ts,css,md,json}": "prettier --write",
"scripts/build-readme.js": "node scripts/build-readme.js"
},
"devDependencies": {
"@eslint/js": "9.3.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"globals": "15.3.0",
"npm-run-all": "4.1.5",
"prettier": "3.2.5",
"typescript-eslint": "7.10.0"
}
}