99 lines
No EOL
2.3 KiB
JSON
99 lines
No EOL
2.3 KiB
JSON
{
|
|
"name": "sequelize-middleware",
|
|
"version": "0.1.0",
|
|
"description": "Middleware to automate tasks with Sequelize",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"lint": "./node_modules/.bin/eslint . --fix",
|
|
"test": "jest --forceExit --detectOpenHandles --maxWorkers=10"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@framagit.org:dbroqua/sequelize-middleware.git"
|
|
},
|
|
"author": "Damien Broqua <contact@darkou.fr>",
|
|
"license": "ISC",
|
|
"engines": {
|
|
"node": "13.x",
|
|
"yarn": "1.x"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"./node_modules/.bin/eslint --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"jest": {
|
|
"moduleFileExtensions": [
|
|
"js"
|
|
],
|
|
"verbose": true,
|
|
"roots": [
|
|
"<rootDir>",
|
|
"<rootDir>/test/"
|
|
],
|
|
"transform": {
|
|
"^.+\\.js$": "babel-jest"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"<rootDir>/node_modules/(?!(jest-test))"
|
|
],
|
|
"testEnvironment": "node",
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/test/utils/setup.js"
|
|
],
|
|
"coverageReporters": [
|
|
"html",
|
|
"cobertura",
|
|
"jest-junit"
|
|
],
|
|
"reporters": [
|
|
"default",
|
|
"jest-junit",
|
|
[
|
|
"./node_modules/jest-html-reporter",
|
|
{
|
|
"pageTitle": "Test Report",
|
|
"outputPath": "reports/html/test-results.html",
|
|
"includeFailureMsg": true,
|
|
"includeConsoleLog": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"nodemonConfig": {
|
|
"ext": "*.js,*.json,*yaml"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/plugin-transform-runtime": "^7.8.3",
|
|
"@babel/preset-env": "^7.8.4",
|
|
"@hapi/joi": "^16.1.8",
|
|
"babel-eslint": "^10.0.3",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb-base": "^14.0.0",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"eslint-plugin-jest": "^23.7.0",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"husky": "^4.2.1",
|
|
"jest": "^25.1.0",
|
|
"jest-html-reporter": "^2.8.0",
|
|
"jest-junit": "^10.0.0",
|
|
"lint-staged": "^10.0.7",
|
|
"pg": "^7.18.1",
|
|
"pg-hstore": "^2.3.3",
|
|
"prettier": "^1.19.1",
|
|
"sequelize": "^5.21.3",
|
|
"sequelize-cli": "^5.5.1",
|
|
"sinon": "^8.1.1",
|
|
"supertest": "^4.0.2",
|
|
"uuid": "^3.4.0"
|
|
}
|
|
} |