-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.6 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 3.6 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "docusaurus-plugin-glossary",
"version": "3.3.2",
"description": "A Docusaurus plugin for creating and managing glossary terms with auto-generated pages and inline tooltips",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./preset": {
"types": "./dist/preset.d.ts",
"import": "./dist/preset.js",
"require": "./dist/preset.cjs"
},
"./remark/glossary-terms": {
"types": "./dist/remark/glossary-terms.d.ts",
"import": "./dist/remark/glossary-terms.js",
"require": "./dist/remark/glossary-terms.cjs"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"watch": "npm run dev",
"clean": "rimraf dist",
"typecheck": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"example:start": "npm --prefix examples/docusaurus-v3 run start",
"example:build": "npm --prefix examples/docusaurus-v3 run build",
"example:serve": "npm --prefix examples/docusaurus-v3 run serve",
"example:clear": "npm --prefix examples/docusaurus-v3 run clear",
"prepare": "husky",
"prepublishOnly": "npm run build && npm test",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"__tests__/**/*.js\"",
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"__tests__/**/*.js\" --fix"
},
"keywords": [
"docusaurus",
"glossary",
"plugin",
"documentation",
"terms",
"definitions",
"tooltip"
],
"author": "mcclowes",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mcclowes/docusaurus-plugin-glossary.git"
},
"bugs": {
"url": "https://github.com/mcclowes/docusaurus-plugin-glossary/issues"
},
"homepage": "https://github.com/mcclowes/docusaurus-plugin-glossary#readme",
"peerDependencies": {
"@docusaurus/core": "^3.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"fs-extra": "^11.0.0",
"unist-util-visit": "^5.0.0",
"validate-peer-dependencies": "^2.2.0"
},
"engines": {
"node": ">=18.0"
},
"devDependencies": {
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@docusaurus/tsconfig": "^3.9.2",
"@docusaurus/types": "^3.9.2",
"@eslint/js": "^9.28.0",
"@playwright/test": "^1.56.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/fs-extra": "^11.0.4",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"babel-jest": "^30.2.0",
"eslint": "^9.28.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"husky": "^9.1.7",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"lint-staged": "^15.5.1",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"tsup": "^8.0.1",
"typescript": "^5.7.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,md}": [
"prettier --write"
]
}
}