{ "name": "api", "version": "1.0.0", "description": "", "scripts": { "type-check": "tsc --noEmit", "test": "echo \"Error: no test specified\" && exit 1", "babel-node": "npx babel-node --extensions \".ts,.tsx,.js\" -- src/server.ts", "dev": "nodemon ./src/server.ts --exec babel-node --extensions \".ts,.tsx,.js\"", "build:types": "tsc --emitDeclarationOnly", "compress:xslt": "./node_modules/xslt3/xslt3.js -xsl:datasetxml2oai-pmh.xslt -export:dist/controllers/datasetxml2oai.sef.json -t -nogo '-ns:##html5'", "build:js": "rm -rf dist && babel src --out-dir dist --extensions \".ts,.tsx,.js\" & npm run compress:xslt", "build": "rm -rf dist && tsc --build", "start": "node dist/server.js", "format": "prettier --config .prettierrc --check src/**/*.ts", "eslint:fix": "eslint ./src/ --fix --ext .js,.ts", "lint": "eslint ./src --ext .js,.ts" }, "keywords": [ "nodemon", "node", "babel", "babel/preset-typescript" ], "author": "", "license": "MIT", "dependencies": { "@overnightjs/core": "^1.7.6", "body-parser": "^1.20.0", "core-js": "^3.25.5", "cors": "^2.8.5", "dayjs": "^1.11.5", "dotenv": "^16.0.2", "express": "^4.18.1", "http-status-codes": "^2.2.0", "jet-logger": "^1.2.6", "pg": "^8.8.0", "pg-hstore": "^2.3.4", "redis": "^4.3.1", "regenerator-runtime": "^0.13.9", "saxon-js": "^2.5.0", "sequelize": "^6.21.6", "sequelize-typescript": "^2.1.3", "sprintf-js": "^1.1.2", "xmlbuilder2": "^3.0.2" }, "devDependencies": { "@babel/cli": "^7.18.10", "@babel/core": "^7.19.1", "@babel/node": "^7.19.1", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.19.3", "@babel/plugin-proposal-object-rest-spread": "^7.18.9", "@babel/preset-env": "^7.19.1", "@babel/preset-typescript": "^7.18.6", "@types/express": "^4.17.14", "@types/node": "^18.7.23", "@types/sprintf-js": "^1.1.2", "@typescript-eslint/eslint-plugin": "^5.40.1", "@typescript-eslint/parser": "^5.40.1", "eslint": "^8.25.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "nodemon": "^2.0.20", "prettier": "^2.7.1", "typescript": "^4.8.4", "xslt3": "^2.5.0" } }