Skip to content

Commit

Permalink
chore: sort package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbruijn committed Jun 22, 2023
1 parent 5bb540f commit ad0cd93
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,20 @@
"./dist/**/!(*.test).{js,d.ts,cjs}"
],
"scripts": {
"prepare": "husky install .github/husky",
"lint": "npm run format:check && xo",
"lint:fix": "npm run format && xo --fix",
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.cjs",
"build:esm": "tsc",
"format": "prettier --ignore-path .gitignore --write \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
"format:check": "prettier --ignore-path .gitignore --check \"**/*.{vue,css,less,scss,html,htm,json,md,markdown,yml,yaml}\" --loglevel warn",
"lint": "npm run format:check && xo",
"lint:fix": "npm run format && xo --fix",
"prepare": "husky install .github/husky",
"test": "c8 ava"
},
"xo": {
"prettier": true,
"space": true
},
"prettier": {
"singleQuote": true,
"trailingComma": "all"
Expand Down Expand Up @@ -187,10 +191,6 @@
"text-summary"
]
},
"xo": {
"prettier": true,
"space": true
},
"devDependencies": {
"@ava/typescript": "4.0.0",
"@commitlint/cli": "17.6.5",
Expand Down

0 comments on commit ad0cd93

Please sign in to comment.