
* chore(cli): add vitest & add test script * chore: add test:cli script * test(cli): initial tests for build command * chore(cli): add nitropack as devDepencency for tests * chore(cli): add vitest config * test(cli): add tests for build command * test(cli): add tests for new command
15 lines
690 B
JSON
15 lines
690 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"start": "pnpm --filter @mcflyjs/landing-page start",
|
|
"site": "pnpm --filter @mcflyjs/landing-page start",
|
|
"build": "pnpm --filter @mcflyjs/landing-page build",
|
|
"build:preview": "pnpm --filter @mcflyjs/landing-page build:preview",
|
|
"template:basic": "pnpm --filter @templates/basic dev",
|
|
"create": "node ./packages/create-mcfly",
|
|
"cli": "node ./packages/cli",
|
|
"patch:all": "npm version patch -w @mcflyjs/cli && npm version patch -w @mcflyjs/core && npm version patch -w @mcflyjs/config && npm version patch -w create-mcfly",
|
|
"test:cli": "cd packages/cli && pnpm run test"
|
|
}
|
|
}
|