276a72b4ce
* Migrated manual tests to jest and started working on better coverage * Added a bookmarklet and push key generation tool allowing URL pushing from bookmarklets * Updated web scraping with tons of bug fixes * Updated attachments page to handle new push links * Aggressive note change checking, if patches get out of sync, server overwrites bad updates.
11 lines
312 B
JavaScript
11 lines
312 B
JavaScript
const path = '../../'
|
|
const prefix = '/$1'
|
|
module.exports = {
|
|
moduleNameMapper: {
|
|
"@root/(.*)": ".",
|
|
"@models/(.*)": path+"server/models"+prefix,
|
|
"@routes/(.*)": path+"server/routes"+prefix,
|
|
"@helpers/(.*)": path+"server/helpers"+prefix,
|
|
"@config/(.*)": path+"server/config"+prefix,
|
|
}
|
|
} |