-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
149 lines (149 loc) · 5.73 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
{
"name": "preact-wmr-twind-zero",
"version": "0.0.0",
"description": "Preact WMR Twind 'zero runtime' monorepo",
"homepage": "https://github.com/danielweck/preact-wmr-twind-zero/blob/main/README.md",
"repository": "github:danielweck/preact-wmr-twind-zero/",
"bugs": "https://github.com/danielweck/preact-wmr-twind-zero/issues",
"author": "Daniel Weck (https://github.com/danielweck)",
"keywords": [
"Preact",
"WMR",
"Isomorphic Router",
"SSG",
"Static Site Generation",
"SSR",
"Server Side (pre)Rendering",
"Code Splitting",
"Dynamic Imports",
"Lazy Components",
"Progressive Hydration",
"Partial Hydration",
"Deferred Hydration",
"Twind",
"Tailwind",
"Styling",
"Stylesheet Prefetch",
"Critical CSS",
"Web Performance",
"Web Vitals",
"FCP",
"First Contentful Paint",
"TTI",
"Time To Interactive",
"TypeScript",
"JavaScript",
"Vitest",
"Rollup",
"Babel",
"Prettier",
"ESLint",
"Turbo",
"Monorepo",
"PNPM",
"Husky",
"CommitLint",
"LintStaged",
"Stylelint",
"PostCSS",
"ParcelCSS"
],
"license": "BSD3",
"private": true,
"workspaces": [
"packages/*"
],
"type": "module",
"engines": {
"node": ">=18",
"pnpm": ">=7"
},
"packageManager": "[email protected]",
"scripts": {
"prepare": "husky install",
"clean": "pnpm --recursive clean",
"clean_": "turbo run clean",
"clean-turbo": "rimraf \"node_modules/.cache/turbo\" && rimraf \"./.turbo\" && pnpm --recursive clean-turbo",
"__test-uvu": "uvu packages/shared \".test\\.ts\" --require tsm --bail --ignore dist",
"test-cjs": "pnpm vitest --run --config vitest.config.cjs",
"test-turbo": "turbo run test",
"test": "pnpm vitest --run --config vitest.config.js",
"test:watch": "pnpm vitest --watch --config vitest.config.js",
"test:ui": "pnpm vitest --ui --run --config vitest.config.js",
"test:coverage": "pnpm vitest --coverage --run --config vitest.config.js",
"test:related": "pnpm vitest related --run --config vitest.config.js",
"build_": "pnpm --recursive --if-present --filter=./packages/** build",
"build": "turbo run build",
"build-github": "turbo run build-github",
"typescript:pnpm": "pnpm --recursive typescript",
"typescript": "turbo run typescript",
"typescript:quick": "turbo run typescript --filter=wmr1^...",
"typescript:quick_": "turbo run typescript --filter={./packages/wmr1}^...",
"typescript:quick__": "turbo run typescript --filter=!wmr1",
"bundle_": "pnpm --recursive bundle",
"bundle": "turbo run bundle",
"serve": "pnpm --filter @preact-wmr-twind-zero/wmr1 serve",
"start": "pnpm --filter @preact-wmr-twind-zero/wmr1 start",
"lint:editorconfig__": "eclint check '**/*' '!vitest.config.ts.js' '!package-lock.json' '!yarn.lock' '!pnpm-lock.yaml' '!.husky/**/*' '!.vscode/**/*' '!.git/**/*' '!.github/**/*' '!**/.history/**/*' '!**/xpatched/**/*' '!packages/**/dist/**/*' '!**/.tmp/**/*' '!**/node_modules/**/*' '!**/.cache/**/*' '!**/package.json'",
"lint:eslint": "pnpm typescript && cross-env TIMING=1 eslint \"./**/*.{ts,tsx,js,jsx,mjs,cjs}\"",
"lint:prettier": "prettier --check --no-write --loglevel log \"./\"",
"lint:stylelint": "stylelint \"./packages/**/public/**/*.{html,htm,css,ts,tsx,js,jsx,mjs,cjs}\"",
"lint:all": "pnpm lint:eslint && pnpm lint:stylelint && pnpm lint:prettier",
"lint_": "pnpm --recursive lint",
"lint": "turbo run lint:eslint lint:prettier lint:stylelint",
"lint-fix:staged:eslint": "pnpm typescript && cross-env TIMING=1 eslint --cache --fix",
"lint-fix:staged:prettier": "prettier --ignore-unknown --write",
"lint-fix:staged:stylelint": "stylelint --fix",
"lint-fix:staged-if-needed:eslint": "(turbo run lint:eslint && echo NO_FIX_ESLINT) || pnpm lint-fix:staged:eslint",
"lint-fix:staged-if-needed:prettier": "(turbo run lint:prettier && echo NO_FIX_PRETTIER) || pnpm lint-fix:staged:prettier",
"lint-fix:staged-if-needed:stylelint": "(turbo run lint:stylelint && echo NO_FIX_STYLELINT) || pnpm lint-fix:staged:stylelint",
"lint-fix:all:eslint": "pnpm typescript && cross-env TIMING=1 eslint --cache --fix \"./**/*.{ts,tsx,js,jsx,mjs,cjs}\"",
"lint-fix:all:prettier": "prettier --ignore-unknown --write \"./**/*.{html,htm,css,json,md,yml,yaml,svg,xml,ts,tsx,js,jsx,mjs,cjs}\"",
"lint-fix:all:stylelint": "stylelint --fix \"./packages/**/public/**/*.{html,htm,css,ts,tsx,js,jsx,mjs,cjs}\"",
"lint-fix:all": "pnpm lint-fix:all:eslint && pnpm lint-fix:all:prettier && pnpm lint-fix:all:stylelint",
"lintstaged": "pnpm lint-staged --verbose",
"commit-lint": "pnpm commitlint"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/node": "^18.14.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"browserslist": "^4.21.5",
"cpy-cli": "^4.2.0",
"cross-env": "^7.0.3",
"csstype": "^3.1.1",
"enhanced-resolve": "^5.12.0",
"eslint": "^8.34.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-node": "^0.3.7",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"happy-dom": "^8.7.0",
"husky": "^8.0.3",
"kolorist": "^1.7.0",
"lint-staged": "^13.1.2",
"postcss": "^8.4.21",
"postcss-html": "^1.5.0",
"postcss-jsx": "^0.36.4",
"postcss-syntax": "^0.36.2",
"prettier": "^2.8.4",
"resolve.exports": "^2.0.0",
"rimraf": "^4.1.2",
"stylelint": "^15.2.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^30.0.1",
"tslib": "^2.5.0",
"turbo": "^1.8.1",
"typescript": "^4.9.5",
"vitest": "^0.28.5"
}
}