kios-webapp/package.json
2024-03-07 15:31:41 +01:00

47 lines
1.3 KiB
JSON

{
"name": "turbopress",
"description": "A web + headless CMS turborepo",
"private": true,
"scripts": {
"prepare": "husky install",
"build": "turbo build",
"build:api": "dotenv -- turbo build --filter=api",
"build:web": "dotenv -- turbo build --filter=web",
"dev": "dotenv -- turbo dev",
"dev:api": "dotenv -- turbo dev --filter=api",
"dev:web": "dotenv -- turbo dev --filter=web",
"test": "turbo test",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md,astro}\"",
"generate:types": "dotenv -- pnpm --filter=api generate:types ",
"serve:api": "dotenv -- turbo serve --filter=api",
"serve:web": "dotenv -- turbo serve --filter=web",
"serve": "dotenv -- turbo serve"
},
"devDependencies": {
"@turbo/gen": "^1.9.7",
"dotenv": "^8.2.0",
"dotenv-cli": "^7.2.1",
"eslint": "latest",
"eslint-config-custom": "*",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"prettier": "latest",
"prettier-plugin-astro": "latest",
"prettier-plugin-svelte": "latest",
"turbo": "latest"
},
"preinstall": "npx only-allow pnpm",
"lint-staged": {
"apps/**/*.{js,ts,astro}": [
"eslint --fix"
],
"packages/**/*.{js,ts,astro}": [
"eslint --fix"
],
"*.json": [
"prettier --write"
]
}
}