forked from trussworks/react-uswds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 4.7 KB
/
package.json
File metadata and controls
141 lines (141 loc) · 4.7 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "@trussworks/react-uswds",
"version": "10.0.2",
"description": "React USWDS 3 component library",
"keywords": [
"react",
"uswds",
"uswds 3",
"react component",
"us web design",
"design system",
"component library"
],
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.cjs"
}
},
"./lib/index.css": "./lib/index.css",
"./lib/uswds.css": "./lib/uswds.css"
},
"files": [
"lib"
],
"engines": {
"node": ">= 20"
},
"scripts": {
"test": "vitest --run",
"test:debug": "vitest --inspect --pool threads --poolOptions.threads.singleThread",
"test:watch": "vitest",
"test:coverage": "vitest --run --coverage",
"test:bundles": "vitest --run bundles.test.tsx --mode bundles",
"test:serverside": "yarn build && node src/serverSideTest.js",
"storybook": "storybook dev -p 9009",
"build-storybook": "storybook build",
"build": "vite build && yarn run build:uswds && yarn run test:bundles",
"build:uswds": "vite build --mode uswds",
"build:watch": "vite dev",
"lint": "tsc && eslint src && stylelint \"src/**/*.{css,scss}\"",
"lint:fix": "tsc && eslint src --fix && stylelint \"src/**/*.{css,scss}\" --fix",
"format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,css,scss,json,md}\"",
"format:fix": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,scss,json,md}\"",
"prepack": "yarn lint && yarn test && yarn build",
"happo": "happo run --config ./.happo.js",
"happo-ci": "HAPPO_CONFIG_FILE='./.happo.js' npx -p happo.io happo-ci-github-actions --config ./.happo.js",
"contributors:add": "all-contributors add"
},
"repository": {
"type": "git",
"url": "github:trussworks/react-uswds"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/trussworks/react-uswds/issues"
},
"homepage": "https://github.com/trussworks/react-uswds#readme",
"peerDependencies": {
"@types/react": "^16.x || ^17.x || ^18.x || ^19.x",
"@types/react-dom": "^16.x || ^17.x || ^18.x || ^19.x",
"@uswds/uswds": "^3.7.1",
"focus-trap-react": "^10.2.3",
"react": "^16.x || ^17.x || ^18.x || ^19.x",
"react-dom": "^16.x || ^17.x || ^18.x || ^19.x"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@eslint/compat": "^1.2.9",
"@eslint/eslintrc": "^3.3.0",
"@eslint/js": "^9.22.0",
"@laynezh/vite-plugin-lib-assets": "^2.1.0",
"@storybook/addon-a11y": "^8.6.11",
"@storybook/addon-essentials": "^8.6.11",
"@storybook/addon-interactions": "^8.6.11",
"@storybook/addon-links": "^8.6.11",
"@storybook/blocks": "^8.6.11",
"@storybook/manager-api": "^8.6.11",
"@storybook/react": "^8.6.11",
"@storybook/react-vite": "^8.6.11",
"@storybook/test": "^8.6.11",
"@storybook/theming": "^8.6.11",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@typescript-eslint/eslint-plugin": "^8.29.0",
"@typescript-eslint/parser": "^8.29.0",
"@uswds/uswds": "3.7.1",
"@vitejs/plugin-react": "^5.0.0",
"@vitest/coverage-istanbul": "^3.1.3",
"@vitest/eslint-plugin": "^1.1.44",
"all-contributors-cli": "^6.24.0",
"babel-loader": "^10.0.0",
"classnames": "^2.3.2",
"danger": "^13.0.4",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-storybook": "^0.12.0",
"focus-trap-react": "^11.0.3",
"globals": "^16.0.0",
"happo-plugin-storybook": "^4.4.3",
"happo.io": "^12.1.0",
"jsdom": "^26.1.0",
"prettier": "^3.2.5",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"sass-embedded": "^1.86.0",
"storybook": "^8.6.11",
"stylelint": "^16.16.0",
"stylelint-config-css-modules": "^4.4.0",
"stylelint-config-recommended": "^17.0.0",
"stylelint-config-sass-guidelines": "^12.1.0",
"stylelint-config-standard-scss": "^15.0.1",
"typescript": "^5.8.3",
"vite": "^7.0.2",
"vite-plugin-checker": "^0.10.0",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-svgr": "^4.3.0",
"vitest": "^3.1.3",
"webpack": "^5.90.1"
},
"packageManager": "yarn@3.8.7"
}