Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.26 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 3.26 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
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
{
"name": "koin.js",
"version": "1.5.0",
"description": "The drop-in React component for browser-based retro game emulation. 28 systems. Cloud saves. Zero backend required.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./systems": {
"types": "./dist/systems.d.ts",
"import": "./dist/systems.mjs",
"require": "./dist/systems.js"
},
"./netplay": {
"types": "./dist/netplay.d.ts",
"import": "./dist/netplay.mjs",
"require": "./dist/netplay.js"
},
"./styles.css": "./dist/styles.css"
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/muditjuneja/koin"
},
"style": "dist/styles.css",
"scripts": {
"build": "tsup && tailwindcss -i ./src/styles.css -o ./dist/styles.css && npm run build:element",
"build:element": "tsup --config tsup.element.config.ts",
"dev": "tsup --watch",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:e2e": "vitest run --config vitest.e2e.config.mts",
"test:dist": "vitest run tests/exports.test.ts tests/server-safety.test.ts",
"verify": "npm run lint && npm run typecheck && npm run build && npm test && npm run test:dist && npm run size",
"size": "size-limit",
"postinstall": "node -e \"if (require('fs').existsSync('node_modules/nostalgist')) require('child_process').execSync('npx patch-package', {stdio: 'inherit'})\""
},
"keywords": [
"retro",
"emulator",
"nostalgist",
"react",
"game",
"koin",
"koin.js"
],
"author": "Mudit Juneja",
"license": "MIT",
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"clsx": "^2.0.0",
"framer-motion": "^11.0.0",
"lucide-react": "^0.300.0",
"nostalgist": "0.21.1",
"patch-package": "^8.0.1",
"tailwind-merge": "^2.0.0"
},
"devDependencies": {
"@size-limit/preset-big-lib": "^11.2.0",
"@testing-library/react": "^16.3.3",
"@types/node": "^26.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^8.70.0",
"@typescript-eslint/parser": "^8.70.0",
"autoprefixer": "^10.0.0",
"esbuild": "^0.27.1",
"eslint": "^10.11.0",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^29.1.1",
"playwright": "1.56.1",
"postcss": "^8.0.0",
"size-limit": "^11.2.0",
"tailwindcss": "^3.0.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"vitest": "^5.0.1"
},
"optionalDependencies": {
"@rolldown/binding-darwin-arm64": "^1.2.9",
"@rolldown/binding-linux-x64-gnu": "^1.2.9",
"@rolldown/binding-wasm32-wasi": "^1.2.9"
}
}