diff --git a/app/index.js b/app/index.js index 4c826e5..90d0feb 100644 --- a/app/index.js +++ b/app/index.js @@ -1,7 +1,6 @@ 'use strict'; const superb = require('superb'); const normalizeUrl = require('normalize-url'); -const humanizeUrl = require('humanize-url'); const Generator = require('yeoman-generator'); const _s = require('underscore.string'); const utils = require('./utils'); @@ -89,7 +88,6 @@ module.exports = class extends Generator { name: this.user.git.name(), email: this.user.git.email(), website: props.website, - humanizedWebsite: humanizeUrl(props.website), cli, nyc, codecov diff --git a/app/templates/_package.json b/app/templates/_package.json index a41feec..cf62463 100644 --- a/app/templates/_package.json +++ b/app/templates/_package.json @@ -7,7 +7,7 @@ "author": { "name": "<%= name %>", "email": "<%= email %>", - "url": "<%= humanizedWebsite %>" + "url": "<%= website %>" },<% if (cli) { %> "bin": "cli.js",<% } %> "engines": { diff --git a/app/templates/license b/app/templates/license index 35356cf..76dcfda 100644 --- a/app/templates/license +++ b/app/templates/license @@ -1,6 +1,6 @@ MIT License -Copyright (c) <%= name %> <<%= email %>> (<%= humanizedWebsite %>) +Copyright (c) <%= name %> <<%= email %>> (<%= website %>) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/package.json b/package.json index 08b7723..ef137f4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" + "url": "https://sindresorhus.com" }, "engines": { "node": ">=8" @@ -32,7 +32,6 @@ "sindre" ], "dependencies": { - "humanize-url": "^2.1.0", "is-scoped": "^2.1.0", "normalize-url": "^4.3.0", "superb": "^4.0.0",