-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.12 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.12 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
{
"name": "@bipboys/browser",
"version": "0.0.5",
"description": "A package providing a simple wrapper around ua-parser-js.",
"author": "Bipboys Dev Team",
"sideEffects": false,
"main": "./build/node/index.js",
"module": "./build/esm/index.js",
"types": "./types/index.d.ts",
"files": [
"build/",
"build/node",
"build/esm",
"!build/*.tsbuildinfo",
"!build/**/tests/",
"index.js",
"index.esnext"
],
"scripts": {
"build": "npm run build:clean && npm run build-esm && npm run build-node && npm run build:types",
"build-esm": "swc ./src -d build/esm -C module.type=es6",
"build-node": "swc ./src -d build/node -C module.type=commonjs",
"build:clean": "rimraf ./build && mkdir build",
"build:types": "tsc -p tsconfig.json",
"clean": "rimraf ./node_modules && npm run build:clean"
},
"dependencies": {
"tslib": "^2.8.1",
"ua-parser-js": "^2.0.6"
},
"devDependencies": {
"@bipboys/typescript-preset": "0.0.1",
"@swc/cli": "^0.7.8",
"@swc/core": "^1.13.5",
"@types/ua-parser-js": "^0.7.39",
"rimraf": "^6.0.1",
"typescript": "5.9.3"
}
}