chore: make the npm run dev:site command executable on windows

pull/13/head
Rémi Doolaeghe 2024-04-26 09:43:42 +02:00
parent 11f7a7e20a
commit 95dfafe7d4
3 changed files with 10002 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,5 +3,4 @@
_site/ _site/
dist/ dist/
node_modules/ node_modules/
package-lock.json
src/compiled-assets src/compiled-assets

10000
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
"del:dist": "rimraf ./dist", "del:dist": "rimraf ./dist",
"dev": "npm run dev:assets & npm run dev:site", "dev": "npm run dev:assets & npm run dev:site",
"dev:assets": "webpack --config webpack.config.dev.js", "dev:assets": "webpack --config webpack.config.dev.js",
"dev:site": "ELEVENTY_ENV=development npx eleventy --serve", "dev:site": "cross-env ELEVENTY_ENV=development npx eleventy --serve",
"prod": "npm-run-all del:dist del:assets build:assets build:site", "prod": "npm-run-all del:dist del:assets build:assets build:site",
"serve:prod": "serve ./dist/" "serve:prod": "serve ./dist/"
}, },
@ -51,6 +51,7 @@
"webpack-merge": "^5.8.0" "webpack-merge": "^5.8.0"
}, },
"devDependencies": { "devDependencies": {
"cross-env": "^7.0.3",
"prettier": "^2.0.5" "prettier": "^2.0.5"
} }
} }