@enbox/browser 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +9 -20
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@enbox/browser",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "Web5 tools and features to use in the browser",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
7
7
  "module": "./dist/esm/index.js",
8
8
  "types": "./dist/types/index.d.ts",
9
9
  "scripts": {
10
- "clean": "rimraf dist tests/compiled",
11
- "build:tests": "rimraf tests/compiled && bun build/esbuild-tests.cjs",
10
+ "clean": "rimraf dist",
12
11
  "build:esm": "rimraf dist/esm dist/types && bun tsc -p tsconfig.json",
13
12
  "build:browser": "bun run build:esm",
14
13
  "build": "bun run clean && bun run build:esm",
15
14
  "lint": "eslint . --max-warnings 0",
16
15
  "lint:fix": "eslint . --fix",
17
- "test:browser": "bun run build:tests && bunx web-test-runner"
16
+ "test:browser": "bunx --bun vitest --config vitest.browser.config.ts --run",
17
+ "test:browser:coverage": "bunx --bun vitest --config vitest.browser.config.ts --run --coverage --coverage.provider=istanbul --coverage.reportsDirectory=./coverage-browser"
18
18
  },
19
19
  "homepage": "https://github.com/enboxorg/enbox/tree/main/packages/browser#readme",
20
20
  "bugs": "https://github.com/enboxorg/enbox/issues",
@@ -55,27 +55,16 @@
55
55
  "access": "public"
56
56
  },
57
57
  "dependencies": {
58
- "@enbox/dids": "0.0.3"
58
+ "@enbox/dids": "0.0.5"
59
59
  },
60
60
  "devDependencies": {
61
- "@playwright/test": "1.45.3",
62
- "@types/chai": "4.3.6",
63
- "@types/mocha": "10.0.1",
64
- "@types/sinon": "17.0.3",
65
61
  "@typescript-eslint/eslint-plugin": "8.32.1",
66
62
  "@typescript-eslint/parser": "8.32.1",
67
- "@web/test-runner": "0.18.2",
68
- "@web/test-runner-playwright": "0.11.0",
69
- "chai": "4.3.10",
70
- "esbuild": "0.19.8",
63
+ "@vitest/browser-playwright": "4.0.18",
64
+ "@vitest/coverage-istanbul": "4.0.18",
71
65
  "eslint": "9.7.0",
72
- "eslint-plugin-mocha": "10.4.3",
73
- "mocha": "10.2.0",
74
- "mocha-junit-reporter": "2.2.1",
75
- "playwright": "1.45.3",
76
66
  "rimraf": "4.4.0",
77
- "sinon": "18.0.0",
78
- "source-map-loader": "4.0.2",
79
- "typescript": "5.5.4"
67
+ "typescript": "5.5.4",
68
+ "vitest": "4.0.18"
80
69
  }
81
70
  }