app/package.json
{
"name": "common-forms-toolkit-app",
"version": "1.0.0",
"private": true,
"license": "Apache-2.0",
"scripts": {
"all:build": "npm run build",
"all:ci": "npm ci && cd frontend && npm ci",
"all:clean": "npm run clean && cd frontend && npm run clean",
"all:fresh-start": "npm run all:reinstall && npm run all:rebuild && npm run all:start",
"all:install": "npm install && cd frontend && npm install",
"all:lint": "npm run lint && cd frontend && npm run lint",
"all:lint-fix": "npm run lint:fix && cd frontend && npm run lint:fix",
"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:start": "npm run start",
"all:test": "npm run test && cd frontend && npm run test",
"build": "cd frontend && npm run build",
"clean": "rm -rf coverage dist",
"lint": "eslint . **/www --no-fix --ext .js",
"lint:fix": "eslint . **/www --fix --ext .js",
"frontend:purge": "cd frontend && npm run purge",
"migrate": "npm run migrate:latest",
"migrate:down": "knex migrate:down",
"migrate:latest": "knex migrate:latest",
"migrate:make": "knex migrate:make",
"migrate:rollback": "knex migrate:rollback",
"migrate:rollback:all": "knex migrate:rollback --all",
"migrate:up": "knex migrate:up",
"posttest": "node ./lcov-fix.js",
"pretest": "npm run lint",
"purge": "rm -rf node_modules",
"rebuild": "npm run clean && npm run build",
"reinstall": "npm run purge && npm install",
"serve": "nodemon ./bin/www",
"start": "node ./bin/www",
"test": "jest --verbose --forceExit --detectOpenHandles --maxWorkers=10",
"test:short": "jest --forceExit --detectOpenHandles --maxWorkers=10"
},
"dependencies": {
"api-problem": "7.0.1",
"axios": "0.25.0",
"axios-oauth-client": "1.4.0",
"axios-token-interceptor": "0.2.0",
"body-parser": "1.19.0",
"compression": "1.7.4",
"config": "3.3.6",
"express": "4.17.1",
"express-rate-limit": "5.2.6",
"fast-deep-equal": "3.1.3",
"fs-extra": "9.1.0",
"js-yaml": "4.1.0",
"keycloak-admin": "1.14.12",
"keycloak-connect": "12.0.4",
"knex": "0.21.19",
"moment": "2.29.1",
"morgan": "1.10.0",
"npmlog": "4.1.2",
"objection": "2.2.18",
"openid-client": "4.6.0",
"pg": "8.6.0",
"uuid": "8.3.2"
},
"devDependencies": {
"eslint": "7.24.0",
"eslint-config-recommended": "4.1.0",
"eslint-plugin-prettier": "3.4.0",
"jest": "26.6.3",
"nodemon": "2.0.7",
"supertest": "6.1.3"
}
}