forked from superdoc-dev/superdoc
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 4.53 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 4.53 KB
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
{
"name": "harbour-enterprises",
"private": true,
"license": "AGPL-3.0",
"workspaces": [
"packages/*",
"packages/layout-engine/contracts",
"packages/layout-engine/pm-adapter",
"packages/layout-engine/measuring/dom",
"packages/layout-engine/layout-engine",
"packages/layout-engine/painters/dom",
"packages/layout-engine/painters/pdf",
"packages/layout-engine/geometry-utils",
"packages/layout-engine/style-engine",
"packages/layout-engine/tests",
"packages/layout-engine/demo-app",
"packages/layout-engine/layout-bridge",
"packages/layout-engine/v1-beta-demo",
"packages/preset-geometry",
"shared/*"
],
"scripts": {
"postinstall": "node scripts/install-rollup-binary.mjs",
"test": "vitest run",
"test:debug": "npm run test:debug --workspace=packages/super-editor",
"test:inspect": "NODE_OPTIONS=\"--inspect-brk=9229\" vitest --pool threads --poolOptions.threads.singleThread",
"test:all": "vitest run",
"test:editor": "vitest run --root ./packages/super-editor",
"test:superdoc": "vitest run --root ./packages/superdoc",
"test:cov": "node scripts/test-cov.mjs",
"type-check": "node ./scripts/type-check-all.mjs",
"validate:commands": "node scripts/validate-command-types.mjs",
"unzip": "bash packages/super-editor/src/tests/helpers/unzip.sh",
"dev": "npm --workspace=superdoc run dev",
"dev:superdoc": "npm run dev --workspace=packages/superdoc",
"dev:super-editor": "npm run dev --workspace=packages/super-editor",
"watch:super-editor": "npm run build:watch --workspace=packages/super-editor",
"build:superdoc": "npm run build --workspace=packages/superdoc",
"build:super-editor": "npm run build --workspace=packages/super-editor",
"build": "npm run build:super-editor && npm run build:superdoc",
"clean:packages": "rm -rf ./packages/*/dist",
"reset": "npm run clean:packages && rm -rf ./node_modules && rm -rf ./packages/*/node_modules && rm -rf ./package-lock.json && npm install",
"publish": "node scripts/publish-superdoc.cjs",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,vue,css,scss,json}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,vue,css,scss,json}\"",
"lint": "eslint --ext .js,.ts,.tsx --ignore-pattern \"**/{test,tests,__tests__}/**\" --ignore-pattern \"**/*.test.*\" --ignore-pattern \"**/*.spec.*\" --ignore-pattern \"**/*.vue\" packages shared scripts",
"lint:fix": "eslint --fix --ext .js,.ts,.tsx --ignore-pattern \"**/{test,tests,__tests__}/**\" --ignore-pattern \"**/*.test.*\" --ignore-pattern \"**/*.spec.*\" --ignore-pattern \"**/*.vue\" packages shared scripts",
"lint:jsdoc": "eslint packages/super-editor/src/extensions/field-annotation/field-annotation.js --config eslint.config.docs.mjs",
"lint:jsdoc:fix": "eslint packages/super-editor/src/extensions/field-annotation/field-annotation.js --config eslint.config.docs.mjs --fix",
"pack": "npm run build:super-editor && npm --prefix ./packages/superdoc run pack",
"prepare": "husky",
"test:layout": "node ./scripts/test-layout.mjs",
"lint:staged": "lint-staged",
"watch": "npm run watch:es --workspace=packages/superdoc",
"check:all": "npm run format && npm run lint:fix && npm --workspace=packages/super-editor run types:build && npm run test",
"local:publish": "npm version prerelease --preid=local --workspace=superdoc && npm publish --workspace=superdoc --registry http://localhost:4873",
"update-preset-geometry": "ROOT=$(pwd) && cd ../superdoc-devtools/preset-geometry && npm run build && cp ./dist/index.js ./dist/index.d.ts \"$ROOT/packages/preset-geometry/\""
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,scss,json}": [
"prettier --write"
],
"*.vue": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.31.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^22.13.1",
"@typescript-eslint/eslint-plugin": "^8.47.0",
"@typescript-eslint/parser": "^8.47.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.38.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^54.1.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"lint-staged": "^16.1.4",
"prettier": "3.3.3",
"semantic-release": "^24.2.7",
"typescript": "^5.7.3",
"typescript-eslint": "^8.47.0",
"verdaccio": "^6.1.6",
"vitest": "^3.0.8"
}
}