-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: preserve new line at the end of package.json
- Loading branch information
1 parent
d6852da
commit 8ebaa39
Showing
3 changed files
with
127 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
test/data/underscore_field_no_end_newline/module/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"_from": "removeNPMAbsolutePaths", | ||
"_id": "removeNPMAbsolutePaths@0.0.3", | ||
"_inBundle": false, | ||
"_integrity": "sha1-NkErwn66yL4JsbULf3MIl5K4xfE=", | ||
"_location": "/removeNPMAbsolutePaths", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "tag", | ||
"registry": true, | ||
"raw": "removeNPMAbsolutePaths", | ||
"name": "removeNPMAbsolutePaths", | ||
"escapedName": "removeNPMAbsolutePaths", | ||
"rawSpec": "", | ||
"saveSpec": null, | ||
"fetchSpec": "latest" | ||
}, | ||
"_requiredBy": [ | ||
"#USER", | ||
"/" | ||
], | ||
"_resolved": "https://registry.npmjs.org/removeNPMAbsolutePaths/-/removeNPMAbsolutePaths-0.0.3.tgz", | ||
"_shasum": "36412bc27ebac8be09b1b50b7f73089792b8c5f1", | ||
"_spec": "removeNPMAbsolutePaths", | ||
"_where": "/Users/juanjo/test", | ||
"author": { | ||
"name": "Juanjo Diaz", | ||
"email": "juanjo.diazmo@gmail.com" | ||
}, | ||
"bin": { | ||
"removeNPMAbsolutePaths": "bin/removeNPMAbsolutePaths" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/removeNPMAbsolutePaths/issues", | ||
"email": "juanjo.diazmo@gmail.com" | ||
}, | ||
"bundleDependencies": false, | ||
"deprecated": false, | ||
"description": "Remove the fields containing local aboslute paths created by NPM", | ||
"homepage": "https://github.com/juanjoDiaz/removeNPMAbsolutePaths#readme", | ||
"keywords": [ | ||
"npm", | ||
"modules" | ||
], | ||
"license": "MIT", | ||
"main": "src/removeNPMAbsolutePaths.js", | ||
"name": "removeNPMAbsolutePaths", | ||
"preferGlobal": "true", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/juanjoDiaz/removeNPMAbsolutePaths.git" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"version": "0.0.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters