Skip to content

Commit

Permalink
Merge pull request #26 from HMPO/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
SamChatfield authored Aug 2, 2024
2 parents a4e186c + 6647755 commit b9fdf27
Show file tree
Hide file tree
Showing 4 changed files with 1,379 additions and 2,372 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
7 changes: 4 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
"description": "Example hmpo-app",
"main": "app.js",
"scripts": {
"start": "node app.js",
"postinstall": "npm run build",
"build": "npm run build:sass && npm run build:js",
"build:sass": "mkdir -p public/stylesheets; node-sass assets/stylesheets/app.scss --output-style compressed public/stylesheets/application.css",
"build:sass": "mkdir -p public/stylesheets; sass -q -I . -s compressed --no-source-map assets/stylesheets/app.scss public/stylesheets/application.css",
"build:js": "mkdir -p public/javascripts; uglifyjs node_modules/govuk-frontend/govuk/all.js node_modules/hmpo-components/all.js assets/javascripts/*.js -o public/javascripts/application.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "HMPO",
"license": "MIT",
"dependencies": {
"express": "4",
"govuk-frontend": "4.0.x",
"govuk-frontend": "4.8.x",
"hmpo-app": "latest",
"hmpo-components": "latest",
"hmpo-config": "latest",
Expand All @@ -24,7 +25,7 @@
"nunjucks": "3"
},
"devDependencies": {
"node-sass": "latest",
"sass": "latest",
"uglify-js": "latest"
}
}
Loading

0 comments on commit b9fdf27

Please sign in to comment.