-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 2.83 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
105
106
107
108
109
110
{
"name": "@noctuatech/uswds",
"version": "0.0.32",
"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": {
"dependencies": ["tsc", "build-storybook", "rollup", "copy_icons"]
},
"preview": {
"command": "browser-sync start --server --files \"target/**\" \"index.html\"",
"service": true,
"dependencies": [
{
"script": "tsc",
"cascade": false
}
]
},
"build-storybook": {
"command": "storybook build"
},
"tsc": {
"command": "tsc --build --pretty",
"clean": "if-file-deleted",
"files": ["src/**", "tsconfig.json"],
"output": ["target/**", "tsconfig.tsbuildinfo"],
"dependencies": ["./packages/testing:build"]
},
"rollup": {
"command": "rollup -c rollup.config.js",
"files": ["target/**", "rollup.config.js"],
"output": ["assets/uswds.min.js"],
"dependencies": [
{
"script": "tsc",
"cascade": false
}
]
},
"copy_icons": {
"command": "cp -a node_modules/@uswds/uswds/dist/img/usa-icons/. assets/usa-icons/",
"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": {
"@biomejs/biome": "1.9.4",
"@open-wc/testing": "^4.0.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@storybook/addon-essentials": "^8.5.1",
"@storybook/web-components": "^8.5.1",
"@storybook/web-components-vite": "^8.5.1",
"@types/mocha": "^10.0.7",
"@types/node": "^22.0.0",
"@uswds/uswds": "^3.10.0",
"@web/test-runner": "^0.19.0",
"browser-sync": "^3.0.3",
"husky": "^9.0.11",
"js-beautify": "^1.15.1",
"lint-staged": "^15.2.2",
"lit": "^3.2.1",
"minify-html-literals": "^1.3.5",
"mocha": "^11.0.0",
"plop": "^4.0.1",
"rollup": "^4.28.0",
"storybook": "^8.5.1",
"typescript": "^5.6.3",
"wireit": "^0.14.9"
},
"lint-staged": {
"*": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
]
}
}