/
package.json
77 lines (77 loc) · 2.36 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
{
"name": "detect-browser-es",
"type": "module",
"version": "0.1.0",
"packageManager": "pnpm@8.11.0",
"license": "MIT",
"homepage": "https://github.com/userquin/detect-browser-es#readme",
"repository": {
"type": "git",
"url": "https://github.com/userquin/detect-browser-es"
},
"bugs": "https://github.com/userquin/detect-browser-es/issues",
"sideEffects": false,
"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"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --no-splitting",
"dev": "vitest",
"lint": "eslint .",
"lint:fix": "nr lint --fix",
"release": "pnpm test && pnpm build && bumpp && npm publish",
"test": "pnpm lint && vitest run --coverage",
"test:chrome": "BROWSER=chrome vitest --c vitest-browser.config.mts",
"test:edge": "BROWSER=edge vitest --c vitest-browser.config.mts",
"test:firefox": "BROWSER=firefox vitest --c vitest-browser.config.mts",
"test:safari": "BROWSER=safari vitest --c vitest-browser.config.mts",
"wdio:chrome": "BROWSER=chrome wdio run ./wdio.conf.ts",
"wdio:edge": "BROWSER=edge wdio run ./wdio.conf.ts",
"wdio:firefox": "BROWSER=firefox wdio run ./wdio.conf.ts",
"wdio:safari": "BROWSER=safari wdio run ./wdio.conf.ts"
},
"dependencies": {
"std-env": "^3.4.3"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
"@antfu/ni": "^0.21.10",
"@types/mocha": "^10.0.2",
"@types/node": "^18.18.4",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@vitest/browser": "^1.0.0-beta.2",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/utils": "^0.34.6",
"@wdio/browser-runner": "^8.18.2",
"@wdio/cli": "^8.18.2",
"@wdio/globals": "^8.18.2",
"@wdio/mocha-framework": "^8.18.2",
"@wdio/spec-reporter": "^8.18.1",
"@wdio/types": "^8.17.0",
"bumpp": "^9.2.0",
"eslint": "^8.51.0",
"happy-dom": "^12.9.1",
"jsdom": "^22.1.0",
"publint": "^0.2.5",
"ts-node": "^10.9.1",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
"vitest": "^1.0.0-beta.5",
"webdriverio": "^8.18.0"
}
}