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

Merged
nicolas.doby merged 1 commits from chore/run-on-windows into main 2024-04-29 11:04:14 +00:00
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"
} }
} }