[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-workers. SSR-safe, zero-config Web Workers integration for Nuxt.
2.0 kB
78 lines
1{
2 "name": "nuxt-workers",
3 "version": "0.1.0",
4 "license": "MIT",
5 "description": "Easily run code in web workers in Nuxt.",
6 "repository": {
7 "type": "git",
8 "url": "git+https://github.com/danielroe/nuxt-workers.git"
9 },
10 "keywords": [
11 "nuxt",
12 "module",
13 "nuxt-module",
14 "web-workers",
15 "performance"
16 ],
17 "author": {
18 "name": "Daniel Roe <daniel@roe.dev>",
19 "url": "https://github.com/danielroe"
20 },
21 "type": "module",
22 "exports": {
23 ".": {
24 "types": "./dist/types.d.mts",
25 "import": "./dist/module.mjs"
26 }
27 },
28 "files": [
29 "dist"
30 ],
31 "scripts": {
32 "build": "pnpm dev:prepare && nuxt-module-build build",
33 "dev": "nuxt dev playground",
34 "dev:build": "nuxt build playground",
35 "dev:prepare": "simple-git-hooks && pnpm nuxt-module-build build --stub && pnpm nuxt-module-build prepare && nuxt prepare playground",
36 "docs:dev": "nuxt dev docs",
37 "docs:build": "nuxt generate docs",
38 "lint": "eslint .",
39 "prepack": "pnpm build",
40 "prepublishOnly": "pnpm lint && pnpm test",
41 "test": "vitest run --coverage",
42 "test:types": "tsc --noEmit"
43 },
44 "dependencies": {
45 "@nuxt/kit": "^4.0.0",
46 "magic-string": "^1.0.0",
47 "mlly": "^1.7.4",
48 "pathe": "^2.0.3",
49 "ufo": "^1.5.4",
50 "unplugin": "^3.0.0"
51 },
52 "devDependencies": {
53 "@nuxt/eslint-config": "1.16.0",
54 "@nuxt/module-builder": "1.0.2",
55 "@nuxt/test-utils": "4.0.0",
56 "@vitest/coverage-v8": "4.1.10",
57 "@vue/test-utils": "2.4.11",
58 "eslint": "10.7.0",
59 "happy-dom": "20.11.1",
60 "knip": "6.26.0",
61 "nano-staged": "1.0.2",
62 "nuxt": "4.1.1",
63 "playwright": "1.61.1",
64 "rollup": "4.62.2",
65 "simple-git-hooks": "2.13.1",
66 "typescript": "6.0.3",
67 "vitest": "4.1.10"
68 },
69 "simple-git-hooks": {
70 "pre-commit": "npx nano-staged"
71 },
72 "packageManager": "pnpm@11.15.1",
73 "nano-staged": {
74 "*.{js,ts,mjs,cjs,json,.*rc}": [
75 "npx eslint --fix"
76 ]
77 }
78}