npm run serve démarre php -S localhost:8000 et BrowserSync en parallèle. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
871 B
JSON
36 lines
871 B
JSON
{
|
|
"name": "hecq-lesort",
|
|
"version": "1.0.0",
|
|
"description": "<img src=\"http://getkirby.com/assets/images/github/plainkit.jpg\" width=\"300\">",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"serve": "concurrently \"npm run serve-php\" \"npm run sync\"",
|
|
"serve-php": "php -S localhost:8000 kirby/router.php",
|
|
"sync": "node browsersync.js"
|
|
},
|
|
"browserSync": {
|
|
"proxy": "localhost:8000",
|
|
"watch": [
|
|
"assets",
|
|
"content",
|
|
"site/snippets",
|
|
"site/templates",
|
|
"site/blueprints",
|
|
"site/languages"
|
|
],
|
|
"ignore": [
|
|
"**/.lock",
|
|
"**/.DS_Store"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "ssh://git@forge.studio-variable.com/studio-variable/hecq-et-lesort.git"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"browser-sync": "^3.0.4",
|
|
"concurrently": "^10.0.3"
|
|
}
|
|
}
|