-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.28 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.28 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
{
"name": "@hypothesis/frontend-shared",
"version": "10.3.2",
"description": "Shared components, styles and utilities for Hypothesis projects",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git+https://github.com/hypothesis/frontend-shared.git"
},
"devDependencies": {
"@babel/cli": "^7.1.6",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.18.6",
"@hypothesis/frontend-build": "^5.0.0",
"@hypothesis/frontend-testing": "^1.7.1",
"@rollup/plugin-babel": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-dynamic-import-vars": "^2.1.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-virtual": "^3.0.0",
"@tailwindcss/postcss": "^4.1.13",
"@trivago/prettier-plugin-sort-imports": "^6.0.0",
"@vitest/browser": "^4.0.8",
"@vitest/browser-playwright": "^4.0.8",
"@vitest/coverage-istanbul": "^4.0.8",
"@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",
"chalk": "^5.0.1",
"classnames": "^2.2.6",
"enzyme": "^3.8.0",
"enzyme-adapter-preact-pure": "^4.0.1",
"eslint": "^9.26.0",
"eslint-config-hypothesis": "^3.3.1",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-hooks": "^7.0.0",
"express": "^5.1.0",
"fancy-log": "^2.0.0",
"globals": "^16.0.0",
"gulp": "^5.0.0",
"mustache": "^4.2.0",
"playwright": "^1.51.1",
"postcss": "^8.3.9",
"preact": "^10.25.1",
"prettier": "^3.0.0",
"rollup": "^4.0.2",
"rollup-plugin-string": "^3.0.0",
"sinon": "^21.0.0",
"svgo": "^4.0.0",
"tailwindcss": "^4.1.13",
"typescript": "^5.0.2",
"typescript-eslint": "^8.10.0",
"vitest": "^4.0.8",
"yalc": "^1.0.0-pre.50"
},
"peerDependencies": {
"preact": "^10.25.1"
},
"scripts": {
"build-lib": "babel src/ --out-dir lib/ --extensions '.js,.ts,.tsx' --source-maps --ignore '**/test'",
"build": "yarn build-lib && tsc --build src/tsconfig.json",
"build-pattern-lib": "yarn gulp bundle-css && yarn rollup -c rollup.config.js",
"typecheck": "tsc --build src/tsconfig.json",
"lint": "eslint --cache .",
"checkformatting": "prettier --cache --check '**/*.{css,js,scss,ts,tsx,md}'",
"format": "prettier --cache --list-different --write '**/*.{css,js,scss,ts,tsx,md}'",
"test": "gulp test",
"push": "yarn build && yalc push"
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true,
"importOrder": [
"^[./]"
],
"importOrderSeparation": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
},
"files": [
"lib",
"styles",
"images",
"src/tailwind-config.css"
],
"type": "module",
"main": "./lib/index.js",
"exports": {
".": "./lib/index.js",
"./pattern-library": "./lib/pattern-library/index.js",
"./tailwind-config.css": "./src/tailwind-config.css"
},
"browserslist": "chrome 70, firefox 70, safari 11.1",
"dependencies": {
"highlight.js": "^11.6.0",
"wouter-preact": "^3.0.0"
},
"packageManager": "yarn@3.6.0"
}