mcfly/package.json
Ayo Ayco 56592bdeef
test(cli): add tests for cli commands (#37)
* 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
2024-12-07 02:44:38 +01:00

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"
}
}