Add start script for Docker image, pre-commit lint check, package.json scripts cleanup

This commit is contained in:
Maksim Eltyshev
2020-04-24 21:44:54 +05:00
parent 5e17a4880a
commit e0dee1efef
11 changed files with 1236 additions and 11 deletions

View File

@@ -10,6 +10,10 @@ module.exports = {
connection: process.env.DATABASE_URL,
migrations: {
tableName: 'migration',
directory: path.join(__dirname, 'migrations'),
},
seeds: {
directory: path.join(__dirname, 'seeds'),
},
wrapIdentifier: (value, origImpl) => origImpl(_.snakeCase(value)),
};