forked from jesseduffield/lazynpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e16454
commit 868a953
Showing
1 changed file
with
3 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ func TestUnmarshalPackageConfig(t *testing.T) { | |
&PackageConfig{Name: "body", Version: "5.1.0", License: "", Private: false, Description: "Body parsing", Files: []string(nil), Keywords: nil, Os: []string(nil), Cpu: []string(nil), Main: "index", Engines: struct { | ||
Node string | ||
Npm string | ||
}{Node: "", Npm: ""}, Scripts: map[string]string{"test": "node ./test/index.js"}, Repository: Repository{Type: "", Url: "", SingleLine: "git://github.com/Raynos/body.git"}, Author: Author{Name: "", Email: "", Url: "", SingleLine: "Raynos <[email protected]>"}, Contributors: []Author{Author{Name: "Jake Verbaten", Email: "", Url: "", SingleLine: ""}}, Bugs: struct { | ||
}{Node: "", Npm: ""}, Scripts: map[string]string{"test": "node ./test/index.js"}, Repository: Repository{Type: "", Url: "", SingleLine: "git://github.com/Raynos/body.git"}, Author: Author{Name: "", Email: "", Url: "", SingleLine: "Raynos <[email protected]>"}, Contributors: []Author{{Name: "Jake Verbaten", Email: "", Url: "", SingleLine: ""}}, Bugs: struct { | ||
Url string "json:\"url\"" | ||
}{Url: "https://github.com/Raynos/body/issues"}, Deprecated: false, Homepage: "https://github.com/Raynos/body", Directories: map[string]string(nil), Dependencies: map[string]string{"continuable-cache": "^0.3.1", "error": "^7.0.0", "raw-body": "~1.1.0", "safe-json-parse": "~1.0.1"}, DevDependencies: map[string]string{"after": "~0.7.0", "hammock": "^1.0.0", "process": "~0.5.1", "send-data": "~1.0.1", "tape": "~2.3.0", "test-server": "~0.1.3"}, PeerDependencies: map[string]string(nil), OptionalDependencies: map[string]string(nil), BundledDependencies: []string(nil)}, | ||
}, | ||
|
@@ -29,7 +29,7 @@ func TestUnmarshalPackageConfig(t *testing.T) { | |
&PackageConfig{Name: "lodash", Version: "4.17.5", License: "MIT", Private: false, Description: "Lodash modular utilities.", Files: []string(nil), Keywords: []string{"modules, stdlib, util"}, Os: []string(nil), Cpu: []string(nil), Main: "lodash.js", Engines: struct { | ||
Node string | ||
Npm string | ||
}{Node: "", Npm: ""}, Scripts: map[string]string{"test": `echo "See https://travis-ci.org/lodash-archive/lodash-cli for testing details."`}, Repository: Repository{Type: "", Url: "", SingleLine: "lodash/lodash"}, Author: Author{Name: "", Email: "", Url: "", SingleLine: "John-David Dalton <[email protected]> (http://allyoucanleet.com/)"}, Contributors: []Author{Author{Name: "", Email: "", Url: "", SingleLine: "John-David Dalton <[email protected]> (http://allyoucanleet.com/)"}, Author{Name: "", Email: "", Url: "", SingleLine: "Mathias Bynens <[email protected]> (https://mathiasbynens.be/)"}}, Bugs: struct { | ||
}{Node: "", Npm: ""}, Scripts: map[string]string{"test": `echo "See https://travis-ci.org/lodash-archive/lodash-cli for testing details."`}, Repository: Repository{Type: "", Url: "", SingleLine: "lodash/lodash"}, Author: Author{Name: "", Email: "", Url: "", SingleLine: "John-David Dalton <[email protected]> (http://allyoucanleet.com/)"}, Contributors: []Author{{Name: "", Email: "", Url: "", SingleLine: "John-David Dalton <[email protected]> (http://allyoucanleet.com/)"}, {Name: "", Email: "", Url: "", SingleLine: "Mathias Bynens <[email protected]> (https://mathiasbynens.be/)"}}, Bugs: struct { | ||
Url string "json:\"url\"" | ||
}{Url: ""}, Deprecated: false, Homepage: "https://lodash.com/", Directories: map[string]string(nil), Dependencies: map[string]string(nil), DevDependencies: map[string]string(nil), PeerDependencies: map[string]string(nil), OptionalDependencies: map[string]string(nil), BundledDependencies: []string(nil)}, | ||
}, | ||
|
@@ -38,7 +38,7 @@ func TestUnmarshalPackageConfig(t *testing.T) { | |
&PackageConfig{Name: "moment-range", Version: "2.2.0", License: "", Private: false, Description: "Fancy date ranges for Moment.js", Files: []string(nil), Keywords: []string(nil), Os: []string(nil), Cpu: []string(nil), Main: "./dist/moment-range", Engines: struct { | ||
Node string | ||
Npm string | ||
}{Node: "*", Npm: ""}, Scripts: map[string]string{"build": "grunt es6transpiler replace umd uglify", "jsdoc": "jsdoc -c .jsdoc", "test": "grunt mochaTest"}, Repository: Repository{Type: "git", Url: "https://[email protected]/gf3/moment-range.git", SingleLine: ""}, Author: Author{Name: "", Email: "", Url: "", SingleLine: "Gianni Chiappetta <[email protected]> (http://butt.zone)"}, Contributors: []Author{Author{Name: "", Email: "", Url: "", SingleLine: "Adam Biggs <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Matt Patterson <[email protected]> (http://reprocessed.org/)"}, Author{Name: "", Email: "", Url: "", SingleLine: "Stuart Kelly <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Kevin Ross <[email protected]> (http://www.alienfast.com)"}, Author{Name: "", Email: "", Url: "", SingleLine: "Scott Hovestadt <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Nebel <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Aristide Niyungeko <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Tymon Tobolski <[email protected]> (http://teamon.eu)"}, Author{Name: "", Email: "", Url: "", SingleLine: "Bradley Ayers <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Thomas Walpole <[email protected]>"}, Author{Name: "", Email: "", Url: "", SingleLine: "Daniel Sarfati <[email protected]>"}}, Bugs: struct { | ||
}{Node: "*", Npm: ""}, Scripts: map[string]string{"build": "grunt es6transpiler replace umd uglify", "jsdoc": "jsdoc -c .jsdoc", "test": "grunt mochaTest"}, Repository: Repository{Type: "git", Url: "https://[email protected]/gf3/moment-range.git", SingleLine: ""}, Author: Author{Name: "", Email: "", Url: "", SingleLine: "Gianni Chiappetta <[email protected]> (http://butt.zone)"}, Contributors: []Author{{Name: "", Email: "", Url: "", SingleLine: "Adam Biggs <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Matt Patterson <[email protected]> (http://reprocessed.org/)"}, {Name: "", Email: "", Url: "", SingleLine: "Stuart Kelly <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Kevin Ross <[email protected]> (http://www.alienfast.com)"}, {Name: "", Email: "", Url: "", SingleLine: "Scott Hovestadt <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Nebel <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Aristide Niyungeko <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Tymon Tobolski <[email protected]> (http://teamon.eu)"}, {Name: "", Email: "", Url: "", SingleLine: "Bradley Ayers <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Thomas Walpole <[email protected]>"}, {Name: "", Email: "", Url: "", SingleLine: "Daniel Sarfati <[email protected]>"}}, Bugs: struct { | ||
Url string "json:\"url\"" | ||
}{Url: "https://github.com/gf3/moment-range/issues"}, Deprecated: false, Homepage: "https://github.com/gf3/moment-range", Directories: map[string]string{"lib": "./lib"}, Dependencies: map[string]string(nil), DevDependencies: map[string]string{"grunt": "~0.4.1", "grunt-cli": "^0.1.13", "grunt-contrib-uglify": "^0.6.0", "grunt-es6-transpiler": "^1.0.2", "grunt-mocha-test": "~0.7.0", "grunt-text-replace": "^0.4.0", "grunt-umd": "^2.3.3", "jsdoc": "^3.3.0", "mocha": "^2.1.0", "moment": ">= 1", "should": "^5.0.1"}, PeerDependencies: map[string]string{"moment": ">= 1"}, OptionalDependencies: map[string]string(nil), BundledDependencies: []string(nil)}, | ||
}, | ||
|