Skip to content

Commit

Permalink
(pkg): reorder package.json fields
Browse files Browse the repository at this point in the history
- deps at the bottom always with scripts just above
  - peerDeps, then deps, then devDeps
    - add empty deps field for now as well
- usage at the top and other info below
  - homepage above repository and bugs
  - author and license above homepage

- basically just categorized this way for now
  • Loading branch information
agilgur5 committed Jul 27, 2019
1 parent 9e01cef commit 4706dad
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"files": [
"dist/"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "npm run build && npm pack",
"changelog": "changelog-maker"
},
"author": "Anton Gilgur",
"license": "Apache-2.0",
"homepage": "https://github.com/agilgur5/mst-persist",
"repository": {
"type": "git",
"url": "https://github.com/agilgur5/mst-persist.git"
},
"bugs": {
"url": "https://github.com/agilgur5/mst-persist/issues"
},
"keywords": [
"mobx",
"mobx-state-tree",
Expand All @@ -26,15 +26,16 @@
"hydrate",
"storage"
],
"author": "Anton Gilgur",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/agilgur5/mst-persist/issues"
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "npm run build && npm pack",
"changelog": "changelog-maker"
},
"homepage": "https://github.com/agilgur5/mst-persist",
"peerDependencies": {
"mobx-state-tree": "^3.2.1"
},
"dependencies": {},
"devDependencies": {
"@agilgur5/changelog-maker": "^3.0.0",
"mobx": "^5.11.0",
Expand Down

0 comments on commit 4706dad

Please sign in to comment.