-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 3.36 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 3.36 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
{
"name": "@hypothesis/annotation-ui",
"version": "1.1.0",
"description": "UI components to simplify rendering Hypothesis annotation cards in Preact + Tailwind-based applications",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/hypothesis/annotation-ui.git"
},
"homepage": "https://hypothes.is",
"type": "module",
"main": "./lib/index.js",
"exports": {
".": {
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./StyledText.css": {
"style": "./lib/StyledText.css",
"default": "./lib/StyledText.css"
}
},
"files": [
"lib"
],
"scripts": {
"build-lib": "babel src/ --out-dir lib/ --extensions '.js,.ts,.tsx' --source-maps --ignore '**/test'",
"build": "yarn build-lib && tsc --build tsconfig.json && cp ./src/StyledText.css ./lib/StyledText.css",
"typecheck": "tsc --build tsconfig.json",
"lint": "eslint --cache .",
"checkformatting": "prettier --cache --check '**/*.{css,js,ts,tsx,md}'",
"format": "prettier --cache --list-different --write '**/*.{css,js,ts,tsx,md}'",
"test": "gulp test"
},
"peerDependencies": {
"@hypothesis/frontend-shared": "^10.2.0",
"dompurify": "^3.0.0",
"escape-html": "^1.0.3",
"katex": "^0.16.0",
"showdown": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.1.6",
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.16.7",
"@hypothesis/frontend-build": "^5.0.1",
"@hypothesis/frontend-shared": "^10.2.0",
"@hypothesis/frontend-testing": "^1.7.1",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-virtual": "^3.0.0",
"@tailwindcss/postcss": "^4.1.13",
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
"@types/chai": "^5.0.0",
"@types/dompurify": "^3.0.0",
"@types/escape-html": "^1.0.1",
"@types/katex": "^0.16.0",
"@types/node": "^24.0.3",
"@types/showdown": "^2.0.0",
"@types/sinon": "^21.0.0",
"@vitest/browser": "^4.0.1",
"@vitest/browser-playwright": "^4.0.1",
"@vitest/coverage-istanbul": "^4.0.1",
"@vitest/eslint-plugin": "^1.1.44",
"axe-core": "^4.0.0",
"babel-plugin-istanbul": "^7.0.0",
"babel-plugin-mockable-imports": "^2.0.1",
"chai": "^6.0.1",
"classnames": "^2.2.4",
"dompurify": "^3.0.0",
"enzyme": "^3.8.0",
"enzyme-adapter-preact-pure": "^4.0.1",
"escape-html": "^1.0.3",
"eslint": "^9.27.0",
"eslint-config-hypothesis": "^3.3.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^16.2.0",
"gulp": "^5.0.1",
"gulp-changed": "^5.0.1",
"katex": "^0.16.0",
"playwright": "^1.51.1",
"postcss": "^8.5.4",
"preact": "^10.4.0",
"prettier": "3.6.2",
"rollup": "^4.42.0",
"showdown": "^2.0.0",
"sinon": "^21.0.0",
"tailwindcss": "^4.1.13",
"typescript": "^5.0.2",
"typescript-eslint": "^8.10.0",
"vitest": "^4.0.1"
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true,
"importOrder": [
"^[./]"
],
"importOrderSeparation": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
},
"packageManager": "yarn@3.6.0"
}