|
18 | 18 | "repository": "nuxt-modules/web-vitals",
|
19 | 19 | "license": "MIT",
|
20 | 20 | "exports": {
|
21 |
| - ".": "./dist/index.js", |
22 |
| - "./*": "./*", |
23 |
| - "./dist/runtime/*": "./dist/runtime/*.mjs" |
| 21 | + ".": "./dist/module.mjs", |
| 22 | + "./*": "./*" |
24 | 23 | },
|
25 |
| - "main": "./dist/index.js", |
26 |
| - "types": "./dist/index.d.ts", |
| 24 | + "main": "./dist/module.cjs", |
| 25 | + "types": "./dist/module.d.ts", |
27 | 26 | "files": [
|
28 | 27 | "dist"
|
29 | 28 | ],
|
30 | 29 | "scripts": {
|
31 |
| - "build": "siroc build", |
32 |
| - "dev": "nuxt playground", |
| 30 | + "build": "nuxt build-module", |
| 31 | + "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground", |
| 32 | + "dev": "nuxt dev playground", |
| 33 | + "dev:build": "nuxt build playground", |
33 | 34 | "lint": "eslint --ext .ts .",
|
34 |
| - "prepublishOnly": "yarn build", |
35 |
| - "release": "yarn test && standard-version && npm publish && git push --follow-tags", |
36 |
| - "test": "yarn lint" |
| 35 | + "release": "pnpm test && standard-version && npm publish && git push --follow-tags", |
| 36 | + "test": "pnpm lint" |
37 | 37 | },
|
38 | 38 | "dependencies": {
|
| 39 | + "@nuxt/kit": "^3.0.0", |
39 | 40 | "defu": "^6.1.1",
|
| 41 | + "pathe": "^1.0.0", |
40 | 42 | "ufo": "^1.0.0",
|
41 | 43 | "web-vitals": "^3.1.0"
|
42 | 44 | },
|
43 | 45 | "devDependencies": {
|
44 |
| - "@nuxt/types": "latest", |
45 |
| - "@nuxtjs/eslint-config-typescript": "latest", |
46 |
| - "babel-eslint": "latest", |
47 |
| - "eslint": "latest", |
48 |
| - "nuxt-edge": "latest", |
49 |
| - "nuxt-swc": "latest", |
50 |
| - "siroc": "latest", |
51 |
| - "standard-version": "latest", |
52 |
| - "typescript": "latest" |
| 46 | + "@nuxt/module-builder": "^0.2.1", |
| 47 | + "@nuxtjs/eslint-config-typescript": "^12.0.0", |
| 48 | + "eslint": "^8.28.0", |
| 49 | + "nuxt": "^3.0.0", |
| 50 | + "standard-version": "^9.5.0", |
| 51 | + "typescript": "^4.9.3" |
53 | 52 | }
|
54 | 53 | }
|
0 commit comments