-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.26 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.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
{
"name": "@bitecraft/jswhere",
"description": "JSWhere is a lightweight and precise JavaScript library that detects the exact runtime environment of your application, including React Native, Expo, Vite, Next.js, NestJS, and more.",
"version": "0.0.5",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"package.json",
"README.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "biome check ./src",
"lint:fix": "biome check --write ./src",
"format": "biome format ./src",
"format:fix": "biome format --write ./src",
"test": "vitest run --config vitest.config.ts",
"test:watch": "vitest --typecheck --config vitest.config.ts",
"test:unit": "vitest run --typecheck tests/unit --config vitest.config.ts",
"test:coverage": "vitest run --coverage --config vitest.config.ts",
"publish:local": "tsup && yalc publish",
"watch": "npm run build && tsup --watch --onSuccess \"yalc push\"",
"prepublishOnly": "npm run build"
},
"keywords": [
"environment",
"detect",
"runtime",
"framework",
"platform",
"JavaScript",
"JS",
"Node.js",
"React",
"React Native",
"Expo",
"Vite",
"Next.js",
"NestJS",
"frontend",
"backend",
"SSR",
"client-side",
"server-side",
"detection",
"env",
"check",
"where",
"JSWhere",
"cross-platform",
"universal"
],
"dependencies": {},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/node": "^22.10.10",
"@vitest/coverage-v8": "3.0.7",
"concurrently": "^9.1.2",
"tsup": "^8.3.5",
"typescript": "^5.7.3",
"vitest": "^3.0.4"
},
"author": "BiteCraft - Vinicius Borges <viniciusborgeis@gmail.com>",
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BiteCraft/jswhere.git"
},
"bugs": {
"url": "https://github.com/BiteCraft/jswhere/issues"
},
"engines": {
"node": ">=14.0.0"
},
"type": "module"
}