|
43 | 43 | "*.mjs" |
44 | 44 | ], |
45 | 45 | "scripts": { |
46 | | - "build": "pnpm dev:prepare && nuxt-module-build", |
| 46 | + "prepack": "nuxt-module-build", |
47 | 47 | "dev": "nuxi dev playground", |
48 | 48 | "dev:multiple-json": "MULTIPLE_LANG_FILES=true nuxi dev playground", |
49 | | - "dev:prepare": "nuxt-module-build --stub && nuxi prepare playground", |
50 | | - "dev:prepare:multiple-json": "nuxt-module-build --stub && MULTIPLE_LANG_FILES=true nuxi prepare playground", |
| 49 | + "dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground", |
| 50 | + "dev:prepare:multiple-json": "nuxt-module-build --stub && nuxt-module-build prepare && MULTIPLE_LANG_FILES=true nuxi prepare playground", |
51 | 51 | "dev:build": "nuxi build playground", |
52 | 52 | "dev:generate": "nuxi generate playground", |
53 | 53 | "dev:build:multiple-json": "MULTIPLE_LANG_FILES=true nuxi build playground", |
54 | 54 | "dev:generate:multiple-json": "MULTIPLE_LANG_FILES=true nuxi generate playground", |
55 | 55 | "dev:preview": "nuxi preview playground", |
56 | 56 | "docs:dev": "pnpm -C docs run dev", |
57 | | - "docs:build": "pnpm dev:prepare && pnpm -C docs run build", |
| 57 | + "docs:build": "nuxt-module-build prepare && pnpm -C docs run build", |
58 | 58 | "docs:serve": "pnpm -C docs run serve", |
59 | 59 | "lint": "eslint .", |
60 | 60 | "lint:fix": "nr lint --fix", |
|
0 commit comments