app/package.json
{
"name": "document-generation-showcase-backend",
"version": "2.0.0",
"private": true,
"description": "Documentation, Code Templates and a Showcase application to demonstrate features of the Natural Resources' Document Generation Service",
"repository": {
"type": "git",
"url": "git+https://github.com/bcgov/document-generation-showcase.git"
},
"author": "NR Common Service Showcase <NR.CommonServiceShowcase@gov.bc.ca>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/bcgov/document-generation-showcase/issues"
},
"homepage": "https://github.com/bcgov/document-generation-showcase",
"scripts": {
"serve": "nodemon ./bin/www",
"build": "cd frontend && npm run build",
"start": "node ./bin/www",
"test": "jest --verbose --forceExit --detectOpenHandles --maxWorkers=10",
"lint": "eslint . **/www --no-fix --ext .js",
"lint:fix": "eslint . **/www --fix --ext .js",
"pretest": "npm run lint",
"posttest": "node ./lcov-fix.js",
"clean": "rm -rf coverage dist",
"purge": "rm -rf node_modules",
"rebuild": "npm run clean && npm run build",
"reinstall": "npm run purge && npm install",
"all:build": "npm run build",
"all:start": "npm run start",
"all:test": "npm run test && cd frontend && npm run test:unit",
"all:lint": "npm run lint && cd frontend && npm run lint",
"all:lint-fix": "npm run lint:fix && cd frontend && npm run lint:fix",
"all:ci": "npm ci && cd frontend && npm ci",
"all:install": "npm install && cd frontend && npm install",
"all:clean": "npm run clean && cd frontend && npm run clean",
"all:purge": "npm run purge && cd frontend && npm run purge",
"all:rebuild": "npm run rebuild && cd frontend && npm run rebuild",
"all:reinstall": "npm run reinstall && cd frontend && npm run reinstall",
"all:fresh-start": "npm run all:reinstall && npm run all:rebuild && npm run all:start",
"frontend:purge": "cd frontend && npm run purge"
},
"dependencies": {
"api-problem": "^9.0.2",
"axios": "^1.7.7",
"axios-token-interceptor": "^0.2.0",
"body-parser": "^1.20.2",
"compression": "^1.7.4",
"config": "^3.3.12",
"cors": "^2.8.5",
"express": "^4.19.2",
"express-winston": "^4.2.0",
"helmet": "^7.1.0",
"jsonwebtoken": "^9.0.2",
"winston": "^3.14.2",
"winston-transport": "^4.7.1"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-recommended": "^4.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"nodemon": "^3.1.4",
"supertest": "^6.3.4"
}
}