-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.49 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 2.49 KB
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
{
"name": "@react-text-game/ui",
"version": "0.7.0",
"description": "Themeable React UI component library for text-based games with Tailwind CSS v4, featuring story passages, interactive maps, and customizable game interfaces",
"private": false,
"sideEffects": [
"./dist/styles/index.css"
],
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/laruss/react-text-game.git",
"directory": "packages/ui"
},
"homepage": "https://reacttextgame.dev/",
"scripts": {
"dev": "tsc -p tsconfig.build.json --watch & tsc-alias -p tsconfig.build.json --watch & bun run build:css",
"build": "rm -rf dist && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && bun run build:css",
"build:css": "mkdir -p dist/styles && cp src/styles/index.css dist/styles/index.css",
"test": "bun test --cwd ../.. packages/ui/src/tests",
"test:coverage": "bun test --cwd ../.. --coverage --coverage-dir packages/ui/coverage packages/ui/src/tests && bun ../../scripts/check-coverage.ts packages/ui",
"check-types": "tsc --noEmit",
"lint": "biome check --error-on-warnings .",
"prepack": "bun ../../scripts/assert-built.ts",
"test-pack": "bun pm pack --dry-run && bunx --bun publint"
},
"author": "laruss",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"files": [
"dist"
],
"dependencies": {
"tailwind-merge": "^3.3.1"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0",
"tailwindcss": "^4.0.0",
"i18next": "^25.0.0",
"react-i18next": "^16.0.0",
"@react-text-game/core": "latest"
},
"devDependencies": {
"@types/node": "^24.6.2",
"@types/bun": "1.3.9",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.5",
"tsc-alias": "^1.8.16",
"@react-text-game/core": "workspace:*"
},
"imports": {
"#*": "./dist/*"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./styles": "./dist/styles/index.css",
"./i18n": {
"types": "./dist/i18n/index.d.ts",
"import": "./dist/i18n/index.js"
}
}
}