-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
220 lines (220 loc) · 8.58 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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
{
"private": true,
"description": "monorepo for TypeScript projects",
"license": "MIT",
"author": "noshiro-pf <[email protected]>",
"sideEffects": true,
"type": "module",
"workspaces": [
"packages/**",
"scripts"
],
"scripts": {
"build:mono-utils": "yarn workspace @noshiro/mono-utils build",
"ci": "run-s setup zz:check:no-diff fmt:all zz:check:no-diff ws:gi zz:check:no-diff ws:build zz:check:no-diff ci:lint-and-test zz:check:no-diff",
"ci:clean-build-and-cache": "run-s clean:build-and-cache ci",
"ci:clean-gitignored": "run-s clean:gitignored ci:install ci",
"ci:clean-install": "run-s clean ci:install ci",
"ci:install": "yarn",
"ci:lint-and-test": "run-p ws:type-check ws:test ws:lint:fix fmt:all",
"clean": "run-s clean:build-and-cache clean:node_modules",
"clean:build-and-cache": "run-p ws:clean:build clean:caches",
"clean:caches": "run-p ws:clean:wireit",
"clean:gitignored": "git clean -xfd",
"clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"create:preact-app": "zx scripts/commands/create-new-preact-app.mjs",
"create:react-app": "zx scripts/commands/create-new-react-app.mjs",
"create:slides": "zx scripts/commands/create-new-slides.mjs",
"create:util": "zx scripts/commands/create-new-util.mjs",
"create:playground": "zx scripts/commands/create-new-ts-playground.mjs",
"fmt": "yarn fmt:diff:from-main",
"fmt:all": "yarn zz:prettier:cache . > /dev/null",
"fmt:all:no-cache": "yarn zz:prettier . > /dev/null",
"fmt:all:print": "yarn zz:prettier:cache .",
"fmt:diff:from-main": "yarn zz:prettier $(git diff --name-only main)",
"fmt:diff": "yarn zz:prettier $(git status --short --porcelain | awk -F ' ' '{print $2}')",
"generate-configs": "wireit",
"lint:cspell": "cspell \"**\" --gitignore --gitignore-root ./ --no-progress",
"pub:all": "zx scripts/commands/publish-packages.mjs",
"setup": "run-s build:mono-utils generate-configs ws:build:utils",
"type-check-eslint-configs": "tsc --noEmit",
"type-check-eslint-configs:watch": "tsc --noEmit --watch",
"ws:build": "yarn zz:wsrun-stages build",
"ws:build:apps": "wireit",
"ws:build:globals": "yarn zz:wsrun-stages -p '@noshiro/global-*' -c build",
"ws:build:non-utils": "wireit",
"ws:build:utils": "wireit",
"ws:clean": "yarn zz:wsrun-parallel clean",
"ws:clean:build": "yarn zz:wsrun-parallel clean:build",
"ws:clean:wireit": "yarn zz:wsrun-parallel clean:wireit",
"ws:gi": "yarn zz:wsrun-parallel gi",
"ws:lint": "yarn zz:wsrun-parallel lint",
"ws:lint:apps": "wireit",
"ws:lint:fix": "yarn zz:wsrun-parallel lint:fix",
"ws:lint:utils": "wireit",
"ws:setup": "yarn zz:wsrun-parallel z:setup",
"ws:test": "yarn zz:wsrun-parallel test",
"ws:test:utils": "wireit",
"ws:type-check": "yarn zz:wsrun-parallel type-check",
"ws:type-check:apps": "wireit",
"ws:type-check:non-utils": "wireit",
"ws:type-check:utils": "wireit",
"zz:check:no-diff": "scripts/bash/git_no_changes.sh",
"zz:prettier": "prettier --ignore-unknown --no-error-on-unmatched-pattern --write",
"zz:prettier:cache": "yarn zz:prettier --cache --cache-strategy content",
"zz:wsrun": "wsrun --exclude-missing --fast-exit --prefix --ifDependency --report",
"zz:wsrun-parallel": "yarn zz:wsrun --parallel --concurrency 5",
"zz:wsrun-stages": "yarn zz:wsrun --stages"
},
"dependencies": {
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.4.3",
"caniuse-lite": "^1.0.30001639"
},
"devDependencies": {
"@google/clasp": "^2.4.2",
"@mdx-js/rollup": "^3.1.0",
"@playwright/test": "^1.49.1",
"@preact/preset-vite": "^2.9.2",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@types/argparse": "^2.0.16",
"@types/google-apps-script": "^1.0.83",
"@types/node": "^22.10.6",
"@types/nodemailer": "^6.4.4",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.3.1",
"@types/styled-components": "^5.1.29",
"@types/uuid": "^9.0.8",
"@typescript/lib-decorators": "file:./packages/strict-ts-lib/output-branded/packages/decorators",
"@typescript/lib-dom": "file:./packages/strict-ts-lib/output-branded/packages/dom",
"@typescript/lib-es2015": "file:./packages/strict-ts-lib/output-branded/packages/es2015",
"@typescript/lib-es2016": "file:./packages/strict-ts-lib/output-branded/packages/es2016",
"@typescript/lib-es2017": "file:./packages/strict-ts-lib/output-branded/packages/es2017",
"@typescript/lib-es2018": "file:./packages/strict-ts-lib/output-branded/packages/es2018",
"@typescript/lib-es2019": "file:./packages/strict-ts-lib/output-branded/packages/es2019",
"@typescript/lib-es2020": "file:./packages/strict-ts-lib/output-branded/packages/es2020",
"@typescript/lib-es2021": "file:./packages/strict-ts-lib/output-branded/packages/es2021",
"@typescript/lib-es2022": "file:./packages/strict-ts-lib/output-branded/packages/es2022",
"@typescript/lib-es2023": "file:./packages/strict-ts-lib/output-branded/packages/es2023",
"@typescript/lib-es2024": "file:./packages/strict-ts-lib/output-branded/packages/es2024",
"@typescript/lib-es5": "file:./packages/strict-ts-lib/output-branded/packages/es5",
"@typescript/lib-es6": "file:./packages/strict-ts-lib/output-branded/packages/es6",
"@typescript/lib-esnext": "file:./packages/strict-ts-lib/output-branded/packages/esnext",
"@typescript/lib-scripthost": "file:./packages/strict-ts-lib/output-branded/packages/scripthost",
"@typescript/lib-webworker": "file:./packages/strict-ts-lib/output-branded/packages/webworker",
"@vitejs/plugin-legacy": "^6.0.0",
"@vitejs/plugin-react-swc": "^3.7.2",
"argparse": "^2.0.1",
"clasp": "^1.0.0",
"command-line-args": "^6.0.0",
"cpx2": "^8.0.0",
"cross-env": "^7.0.3",
"cspell": "^8.14.2",
"css-loader": "^6.2.0",
"dotenv": "^16.0.3",
"esbuild": "^0.25.0",
"file-loader": "^6.2.0",
"firebase-admin": "^12.0.0",
"firebase-functions-test": "^3.3.0",
"firebase-tools": "^13.6.0",
"glob": "^10.4.1",
"globals": "^15.3.0",
"happy-dom": "^15.10.2",
"http-server": "^14.1.1",
"immer": "^10.1.1",
"json-schema": "^0.4.0",
"json-schema-to-typescript": "^15.0.2",
"npm-run-all2": "^7.0.1",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.2",
"prettier-plugin-organize-imports": "^4.1.0",
"prettier-plugin-packagejson": "^2.5.3",
"react-codemod": "^5.4.4",
"rimraf": "^5.0.5",
"rollup": "^4.30.1",
"sort-package-json": "^2.10.1",
"style-loader": "^4.0.0",
"terser": "^5.21.0",
"ts-morph": "^22.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.4.0",
"typescript": "^5.7.2",
"unplugin-auto-import": "^19.0.0",
"vite": "^6.0.9",
"vite-plugin-markdown": "^2.2.0",
"vitest": "^2.1.9",
"wireit": "^0.14.9",
"wsrun": "^5.2.4",
"zenn-cli": "^0.1.153",
"zx": "^8.3.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"wireit": {
"generate-configs": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/generate-configs-and-scripts-main.mjs"
},
"ws:type-check:apps": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/type-check-apps.mjs"
},
"ws:type-check:utils": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/type-check-utils.mjs"
},
"ws:type-check:non-utils": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/type-check-non-utils.mjs"
},
"ws:build:apps": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/build-apps.mjs"
},
"ws:build:utils": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/build-utils.mjs"
},
"ws:build:non-utils": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/build-non-utils.mjs"
},
"ws:lint:apps": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/lint-apps.mjs"
},
"ws:lint:utils": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/lint-utils.mjs"
},
"ws:test:utils": {
"dependencies": [
"build:mono-utils"
],
"command": "zx scripts/commands/test-utils.mjs"
}
}
}