-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 2.69 KB
/
package.json
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
{
"name": "@noctuatech/uswds",
"version": "0.0.36",
"type": "module",
"workspaces": ["packages/**"],
"main": "./target/lib.js",
"module": "./target/lib.js",
"exports": {
".": "./target/lib.js",
"./*": "./target/lib/*"
},
"files": ["src", "target", "assets"],
"scripts": {
"test": "wireit",
"build": "wireit",
"preview": "wireit",
"storybook": "storybook dev -p 6006",
"build_storybook": "wireit",
"gen": "plop",
"prepare": "wireit"
},
"wireit": {
"prepare": {
"command": "husky",
"dependencies": ["copy_icons"]
},
"test": {
"command": "wtr",
"dependencies": ["tsc", "build_testing_library"]
},
"build": {
"dependencies": ["build_storybook", "build_website"]
},
"preview": {
"command": "eleventy --serve --incremental",
"service": true,
"dependencies": [
{
"script": "tsc",
"cascade": false
}
]
},
"build_storybook": {
"command": "storybook build -o _site/storybook"
},
"build_website": {
"command": "eleventy --pathprefix=uswds",
"dependencies": ["tsc", "copy_icons"]
},
"build_testing_library": {
"command": "./scripts/build_testing_library.sh",
"files": ["node_modules/@testing-library/**"],
"output": ["testing-library/**"]
},
"tsc": {
"command": "tsc --build --pretty",
"clean": "if-file-deleted",
"files": ["src/**", "tsconfig.json"],
"output": ["target/**"]
},
"copy_icons": {
"command": "./scripts/copy_usa_icons.sh",
"files": ["node_modules/@uswds/uswds/dist/img/usa-icons/**"],
"output": ["assets/usa-icon/**"]
}
},
"author": "",
"license": "ISC",
"description": "",
"dependencies": {
"@joist/di": "^4.0.0",
"@joist/element": "^4.0.0",
"@joist/observable": "^4.0.0",
"tslib": "2.8.1"
},
"devDependencies": {
"@11ty/eleventy": "^3.0.0",
"@biomejs/biome": "1.9.4",
"@open-wc/testing": "^4.0.0",
"@storybook/addon-essentials": "^8.6.0",
"@storybook/web-components": "^8.6.0",
"@storybook/web-components-vite": "^8.6.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/user-event": "^14.6.1",
"@types/mocha": "^10.0.7",
"@types/node": "^22.0.0",
"@uswds/uswds": "^3.10.0",
"@web/dev-server-import-maps": "^0.2.1",
"@web/test-runner": "^0.20.0",
"husky": "^9.0.11",
"js-beautify": "^1.15.1",
"lint-staged": "^15.2.2",
"lit": "^3.2.1",
"mocha": "^11.0.0",
"plop": "^4.0.1",
"storybook": "^8.6.0",
"typescript": "^5.8.0",
"wireit": "^0.14.9"
},
"lint-staged": {
"*": ["biome check --write --no-errors-on-unmatched"]
}
}