Skip to content

Commit

Permalink
chore: sort package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed May 31, 2024
1 parent 5bfa833 commit c21b62c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{
"private": true,
"name": "rslib-monorepo",
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
},
"private": true,
"scripts": {
"build": "pnpm -r --filter='./packages/*' run build",
"check-dependency-version": "check-dependency-version-consistency .",
"lint": "biome check . --diagnostic-level=warn",
"prepare": "pnpm run build && simple-git-hooks",
"test:unit": "vitest run --project unit",
"sort-package-json": "npx sort-package-json \"packages/*/package.json\"",
"test:artifact": "vitest run --project artifact",
"test:e2e": "cd e2e && pnpm run test",
"check-dependency-version": "check-dependency-version-consistency .",
"lint": "biome check . --diagnostic-level=warn"
"test:unit": "vitest run --project unit"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
Expand All @@ -35,5 +31,10 @@
"prettier": "^3.2.4",
"simple-git-hooks": "^2.10.0",
"vitest": "^1.5.0"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=9.0.0"
}
}
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "@rslib/core",
"type": "commonjs",
"bin": {
"rslib": "./bin/rslib.js"
},
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"types": "./dist/main.d.ts",
"default": "./dist/main.js"
}
},
"main": "./dist/main.js",
"types": "./dist/main.d.ts",
"bin": {
"rslib": "./bin/rslib.js"
},
"scripts": {
"build": "modern build",
"dev": "modern build --watch"
Expand Down

0 comments on commit c21b62c

Please sign in to comment.