Small technical changes for node.

This commit is contained in:
David Soulayrol 2024-05-01 10:39:22 +02:00
parent e7f10e1949
commit e2f9d2626c
3 changed files with 13723 additions and 1587 deletions

13
.gitignore vendored Normal file
View file

@ -0,0 +1,13 @@
.DS_Store
.idea
*.log
tmp/
*.tern-port
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.tsbuildinfo
.npm
.eslintcache

15295
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -7,7 +7,7 @@
"scripts": {
"build": "DEBUG=metalsmith* npm run clean && npm run build:metalsmith",
"build:prod": "NODE_ENV=production npm run build",
"build:metalsmith": "nodejs src/scripts/build-metalsmith.js",
"build:metalsmith": "node src/scripts/build-metalsmith.js",
"clean": "rimraf dist",
"dev": "npm run build && DEBUG=metalsmith* nodemon --watch src/scripts --exec node src/scripts/run-dev-server.js",
"server": "npm run build && http-server dist",