Skip to content

Commit 54aded6

Browse files
committed
(pkg): reorder package.json fields
- deps at the bottom always with scripts just above - devDeps last, then deps, then peerDeps - usage at the top and other info below - author and license above repository - keywords below repository and before scripts - basically just categorized this way for now
1 parent 5f1116e commit 54aded6

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@
77
"src/",
88
"build/"
99
],
10-
"scripts": {
11-
"lint": "standard --parser babel-eslint",
12-
"lint:fix": "standard --parser babel-eslint --fix",
13-
"test": "npm run dist && npm pack",
14-
"start": "webpack-dev-server -d --inline --hot",
15-
"dist": "webpack -p --config webpack.production.config.js",
16-
"pub": "npm run dist && npm publish",
17-
"changelog": "changelog-maker"
10+
"author": "Anton Gilgur",
11+
"license": "Apache-2.0",
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/agilgur5/react-signature-canvas.git"
1815
},
1916
"keywords": [
2017
"react",
@@ -33,12 +30,24 @@
3330
"signature-pad",
3431
"react-signature-pad"
3532
],
36-
"repository": {
37-
"type": "git",
38-
"url": "https://github.com/agilgur5/react-signature-canvas.git"
33+
"scripts": {
34+
"lint": "standard --parser babel-eslint",
35+
"lint:fix": "standard --parser babel-eslint --fix",
36+
"test": "npm run dist && npm pack",
37+
"start": "webpack-dev-server -d --inline --hot",
38+
"dist": "webpack -p --config webpack.production.config.js",
39+
"pub": "npm run dist && npm publish",
40+
"changelog": "changelog-maker"
41+
},
42+
"peerDependencies": {
43+
"prop-types": "^15.5.8",
44+
"react": "0.14 - 16",
45+
"react-dom": "0.14 - 16"
46+
},
47+
"dependencies": {
48+
"signature_pad": "^2.3.2",
49+
"trim-canvas": "^0.1.0"
3950
},
40-
"author": "Anton Gilgur",
41-
"license": "Apache-2.0",
4251
"devDependencies": {
4352
"@agilgur5/changelog-maker": "^3.0.0",
4453
"babel-core": "^6.26.3",
@@ -55,14 +64,5 @@
5564
"style-loader": "^0.13.1",
5665
"webpack": "^1.12.2",
5766
"webpack-dev-server": "^1.10.1"
58-
},
59-
"peerDependencies": {
60-
"prop-types": "^15.5.8",
61-
"react": "0.14 - 16",
62-
"react-dom": "0.14 - 16"
63-
},
64-
"dependencies": {
65-
"signature_pad": "^2.3.2",
66-
"trim-canvas": "^0.1.0"
6767
}
6868
}

0 commit comments

Comments
 (0)