Skip to content

Commit

Permalink
sort package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sadorlovsky committed Feb 22, 2020
1 parent cf02a55 commit cfc7663
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 58 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,3 @@ license('MIT', {
author: 'Zach Orlovsky'
})
```

### Magic :sparkles:

`lissie` can guess your full name, email and the name of project you want license for. So run just

```bash
$ npx lissie
```

and `lissie` will display `MIT License` text with your full name and current year. Also you can disable magic with `--no-magic` option. In this case you have to change some info on your own.
93 changes: 46 additions & 47 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,57 +2,36 @@
"name": "lissie",
"version": "0.9.0",
"description": "CLI tool that displays a LICENSE text",
"scripts": {
"lint": "eslint source --ext .ts",
"test": "nyc ava",
"pretest": "del coverage",
"prebuild": "del dist",
"build": "tsc",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"check-coverage": true,
"reporter": [
"lcovonly",
"text"
],
"include": [
"source"
],
"branches": 100,
"functions": 100
},
"files": [
"dist"
"keywords": [
"license",
"cli"
],
"engines": {
"node": ">=10.0.0"
"homepage": "https://github.com/sadorlovsky/lissie",
"bugs": {
"url": "https://github.com/sadorlovsky/lissie/issues"
},
"author": "Zach Orlovsky <sadorlovsky@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sadorlovsky/lissie.git"
},
"keywords": [
"license",
"generator",
"cli"
"license": "MIT",
"author": "Zach Orlovsky <sadorlovsky@gmail.com>",
"files": [
"dist"
],
"bugs": {
"url": "https://github.com/sadorlovsky/lissie/issues"
"scripts": {
"prebuild": "del dist",
"build": "tsc",
"lint": "eslint source --ext .ts",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"pretest": "del coverage",
"test": "nyc ava"
},
"dependencies": {
"chalk": "^3.0.0",
"common-tags": "^1.8.0",
"meow": "^6.0.0"
},
"homepage": "https://github.com/sadorlovsky/lissie",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/common-tags": "^1.8.0",
Expand All @@ -71,9 +50,29 @@
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
},
"dependencies": {
"chalk": "^3.0.0",
"common-tags": "^1.8.0",
"meow": "^6.0.0"
"engines": {
"node": ">=10.0.0"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"check-coverage": true,
"reporter": [
"lcovonly",
"text"
],
"include": [
"source"
],
"branches": 100,
"functions": 100
}
}
16 changes: 15 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ camelcase@^5.0.0, camelcase@^5.3.1:
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==

chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.2:
chalk@^2.0.0, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
Expand Down Expand Up @@ -2257,6 +2257,11 @@ node-preload@^0.2.0:
dependencies:
process-on-spawn "^1.0.0"

normalize-newline@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/normalize-newline/-/normalize-newline-3.0.0.tgz#1cbea804aba436001f83938ab21ec039d69ae9d3"
integrity sha1-HL6oBKukNgAfg5OKsh7AOdaa6dM=

normalize-package-data@^2.3.2, normalize-package-data@^2.3.4:
version "2.3.5"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.5.tgz#8d924f142960e1777e7ffe170543631cc7cb02df"
Expand Down Expand Up @@ -2594,6 +2599,15 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0:
dependencies:
find-up "^4.0.0"

pkg-ok@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/pkg-ok/-/pkg-ok-2.3.1.tgz#d6dc4f079445a540db3656c1fc158517bc9f33c4"
integrity sha512-ObdQTDZO+zUJpljXM5HZdx+354o5qbQUs05oilAp2WisGoAmFw80y4RKMduZOmGpuXV1DWJ7PkZnkybd8QB68g==
dependencies:
chalk "^2.4.1"
meow "^5.0.0"
normalize-newline "^3.0.0"

plur@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/plur/-/plur-3.1.1.tgz#60267967866a8d811504fe58f2faaba237546a5b"
Expand Down

0 comments on commit cfc7663

Please sign in to comment.