Skip to content

Commit ad0cd93

Browse files
committed
chore: sort package.json
1 parent 5bb540f commit ad0cd93

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,20 @@
2929
"./dist/**/!(*.test).{js,d.ts,cjs}"
3030
],
3131
"scripts": {
32-
"prepare": "husky install .github/husky",
33-
"lint": "npm run format:check && xo",
34-
"lint:fix": "npm run format && xo --fix",
35-
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
36-
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
3732
"build": "npm run build:esm && npm run build:cjs",
38-
"build:esm": "tsc",
3933
"build:cjs": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs",
34+
"build:esm": "tsc",
35+
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
36+
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
37+
"lint": "npm run format:check && xo",
38+
"lint:fix": "npm run format && xo --fix",
39+
"prepare": "husky install .github/husky",
4040
"test": "c8 ava"
4141
},
42+
"xo": {
43+
"prettier": true,
44+
"space": true
45+
},
4246
"prettier": {
4347
"singleQuote": true,
4448
"trailingComma": "all"
@@ -187,10 +191,6 @@
187191
"text-summary"
188192
]
189193
},
190-
"xo": {
191-
"prettier": true,
192-
"space": true
193-
},
194194
"devDependencies": {
195195
"@ava/typescript": "4.0.0",
196196
"@commitlint/cli": "17.6.5",

0 commit comments

Comments
 (0)