pidgin/nest

Run update-lastmod script while building container image

This will make sure that the creation date and last modified date of each markdown file matches to what the repository history says

Testing Done:
Built container image and verified the added script was indeed getting triggered.
Verified that the script was actually modified the markdown files with the correct creation and last updated date.

Bugs closed: NEST-44

Reviewed at https://reviews.imfreedom.org/r/521/
{
"private": true,
"dependencies": {
"js-beautify": "^1.8.9",
"js-yaml": "^3.13.1"
},
"devDependencies": {
"@types/jquery": "^3.3.31",
"cspell": "^4.0.23",
"differencify": "^1.5.3",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"front-matter": "^3.0.1",
"prettier": "^1.18.2",
"prettier-plugin-toml": "^0.3.1"
},
"scripts": {
"regression": "node tools/visual-diff.js",
"tidy": "node tools/pre-prod",
"lint": "npm run eslint && npm run prettier",
"eslint": "eslint hugo/static/**/*.js tools/**/*.js",
"prettier": "prettier --write ./**/*.{js,md,toml,css,json}",
"docker": "npm run docker:build && npm run docker:run",
"docker:build": "docker build -t pidgin/nest:latest .",
"docker:run": "docker run -it --rm -p 3000:3000 pidgin/nest:latest",
"hugo": "hugo -s hugo -D -v --verboseLog --i18n-warnings",
"hugo:new": "hugo -s hugo new",
"hugo:server": "hugo server -s hugo -D --disableFastRender -v --verboseLog --noHTTPCache --i18n-warnings",
"spelling": "cspell \"**/*\"",
"migration-tracker": "node tools/migrate-tracker.js"
}
}