Skip to content

Commit

Permalink
chore: packlint로 package.json들을 정렬합니다 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli authored Apr 17, 2024
1 parent 5599961 commit 52b9d55
Show file tree
Hide file tree
Showing 4 changed files with 253 additions and 40 deletions.
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
"name": "docs",
"version": "0.1.0",
"private": true,
"packageManager": "[email protected]",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"dev": "next dev",
"lint": "next lint",
"start": "next start"
},
"dependencies": {
"next": "14.1.4",
Expand All @@ -25,6 +26,5 @@
"postcss": "^8",
"tailwindcss": "^3.3.0",
"typescript": "^5"
},
"packageManager": "[email protected]"
}
}
68 changes: 35 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"name": "es-hangul",
"workspaces": [
".",
"docs"
],
"version": "1.0.9",
"keywords": [
"한글",
"한국어",
"텍스트 처리",
"초성 검색",
"조사 처리",
"문자 분해",
"한국어 처리",
"hangul",
"korean",
"text processing",
"korean-language"
],
"license": "MIT",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version"
},
"packageManager": "[email protected]",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand All @@ -22,6 +25,21 @@
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"files": [
"dist/*"
],
"workspaces": [
".",
"docs"
],
"scripts": {
"build": "tsup",
"changeset:publish": "changeset publish",
"changeset:version": "changeset version",
"packlint": "packlint sort -R",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
Expand All @@ -31,16 +49,16 @@
"@typescript-eslint/parser": "^5.39.0",
"eslint": "^7",
"eslint-config-prettier": "^8.5.0",
"packlint": "^0.2.4",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.3",
"vitest": "^1.4.0"
},
"files": [
"dist/*"
],
"publishConfig": {
"access": "public",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"require": "./dist/index.js",
Expand All @@ -49,23 +67,7 @@
},
"./package.json": "./package.json"
},
"import": "./dist/index.mjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"keywords": [
"한글",
"한국어",
"텍스트 처리",
"초성 검색",
"조사 처리",
"문자 분해",
"한국어 처리",
"hangul",
"korean",
"text processing",
"korean-language"
],
"packageManager": "[email protected]"
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
}
}
3 changes: 3 additions & 0 deletions packlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
files: ['./docs/package.json', './package.json'],
};
Loading

0 comments on commit 52b9d55

Please sign in to comment.