Cleanup local paths from extra fields

This commit is contained in:
CrazyMax
2020-05-06 23:29:41 +02:00
parent 7d241840cb
commit 2555b3b392
3 changed files with 12 additions and 4 deletions
+4 -2
View File
@@ -7,7 +7,8 @@
"test": "jest --coverage",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"pre-checkin": "npm run format && npm run build"
"cleanup-paths": "removeNPMAbsolutePaths ./ --force --fields _where _args",
"pre-checkin": "npm run format && npm run cleanup-paths && npm run build"
},
"repository": {
"type": "git",
@@ -36,8 +37,9 @@
"jest-circus": "^25.5.4",
"jest-runtime": "^25.5.4",
"prettier": "^2.0.5",
"removeNPMAbsolutePaths": "^2.0.0",
"ts-jest": "^25.5.0",
"typescript": "^3.8.3",
"typescript-formatter": "^7.2.2"
}
}
}