-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
81 lines (81 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@configurajs/prettier",
"version": "0.1.4",
"description": "A simple prettier flat configuration",
"keywords": [
"prettier",
"preset",
"config"
],
"bugs": {
"url": "https://github.com/configurajs/prettier/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/configurajs/prettier.git"
},
"license": "MIT",
"author": "haoziqaq <[email protected]>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"clean": "rimraf node_modules dist",
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
"format": "prettier --write .",
"lint": "eslint . --fix",
"prepare": "simple-git-hooks && pnpm build",
"release": "vr release",
"test": "vitest run",
"test:watch": "vitest"
},
"simple-git-hooks": {
"pre-commit": "pnpm exec nano-staged --allow-empty",
"commit-msg": "pnpm exec vr commit-lint -p $1"
},
"nano-staged": {
"*.{md}": "prettier --write",
"*.{ts}": [
"prettier --write",
"eslint --fix"
]
},
"dependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"prettier-plugin-packagejson": "^2.5.8",
"prettier-plugin-tailwindcss": "^0.6.9",
"rattail": "^1.0.18"
},
"devDependencies": {
"@configurajs/eslint": "^0.0.7",
"@types/node": "^22.8.1",
"@varlet/release": "^0.3.1",
"eslint": "^9.17.0",
"nano-staged": "0.8.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"tsup": "8.3.5",
"typescript": "5.3.3",
"vitest": "2.1.8"
},
"peerDependencies": {
"prettier": "^3.4.2"
},
"packageManager": "[email protected]",
"engines": {
"pnpm": ">=9.0"
}
}