-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
81 lines (81 loc) · 2.23 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
{
"name": "remix-themes",
"version": "0.0.0-semantically-released",
"description": "An abstraction for themes in your Remix_run app.",
"keywords": [
"remix",
"remix.run",
"react",
"themes",
"dark mode",
"light mode"
],
"homepage": "https://github.com/abereghici/remix-themes#readme",
"bugs": {
"url": "https://github.com/abereghici/remix-themes/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abereghici/remix-themes.git"
},
"license": "MIT",
"author": "Alexandru Bereghici",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"workspaces": [
"test-apps/*",
"."
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean --external=react",
"format": "biome format . --write && prettier -w \"**/*\" \"!**/*.{md,mdx}\" --ignore-unknown --cache",
"lint": "biome lint .",
"test": "vitest run",
"app:dev": "npm run dev -w test-apps/react-router-app",
"app:build": "npm run build -w test-apps/react-router-app",
"app:start": "npm run app:build && npm run start -w test-apps/react-router-app start",
"test:e2e:dev": "playwright test",
"pretest:e2e:run": "npm-run-all --parallel build app:build",
"test:e2e:run": "cross-env CI=true playwright test",
"typecheck": "tsc",
"validate": "npm-run-all --parallel typecheck lint test"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@playwright/test": "1.49.1",
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.1.0",
"@types/node": "22.10.5",
"@types/react": "19.0.4",
"@types/react-dom": "19.0.2",
"@vitest/coverage-v8": "2.1.8",
"cross-env": "7.0.3",
"happy-dom": "16.5.3",
"npm-run-all": "4.1.5",
"prettier": "3.4.2",
"react-router": "7.1.1",
"tsup": "8.3.5",
"typescript": "5.7.3",
"vitest": "2.1.8"
},
"peerDependencies": {
"react-router": ">=7.0.0"
}
}