Skip to content

Commit cf591ff

Browse files
authored
chore: sort package.json (#1181)
1 parent 26e2791 commit cf591ff

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
],
2222
"scripts": {
2323
"build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf lib/__tests__ 'lib/**/__tests__'",
24+
"postinstall": "is-ci || husky install",
2425
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
2526
"prepack": "rimraf lib && yarn build",
27+
"prepublishOnly": "pinst --disable",
2628
"prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
2729
"prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
30+
"postpublish": "pinst --enable",
2831
"test": "jest",
2932
"tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
30-
"typecheck": "tsc -p .",
31-
"postinstall": "is-ci || husky install",
32-
"prepublishOnly": "pinst --disable",
33-
"postpublish": "pinst --enable"
33+
"typecheck": "tsc -p ."
3434
},
3535
"commitlint": {
3636
"extends": [
@@ -48,6 +48,23 @@
4848
"singleQuote": true,
4949
"trailingComma": "all"
5050
},
51+
"release": {
52+
"branches": [
53+
"main",
54+
{
55+
"name": "next",
56+
"prerelease": true
57+
}
58+
],
59+
"plugins": [
60+
"@semantic-release/commit-analyzer",
61+
"@semantic-release/release-notes-generator",
62+
"@semantic-release/changelog",
63+
"@semantic-release/npm",
64+
"@semantic-release/git",
65+
"@semantic-release/github"
66+
]
67+
},
5168
"jest": {
5269
"coverageThreshold": {
5370
"global": {
@@ -134,25 +151,8 @@
134151
"optional": true
135152
}
136153
},
154+
"packageManager": "[email protected]",
137155
"engines": {
138156
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
139-
},
140-
"release": {
141-
"branches": [
142-
"main",
143-
{
144-
"name": "next",
145-
"prerelease": true
146-
}
147-
],
148-
"plugins": [
149-
"@semantic-release/commit-analyzer",
150-
"@semantic-release/release-notes-generator",
151-
"@semantic-release/changelog",
152-
"@semantic-release/npm",
153-
"@semantic-release/git",
154-
"@semantic-release/github"
155-
]
156-
},
157-
"packageManager": "[email protected]"
157+
}
158158
}

0 commit comments

Comments
 (0)