-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.31 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
{
"name": "css-gradient-parser",
"version": "0.0.16",
"description": "a css gradient parser",
"packageManager": "[email protected]",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"author": "Lynnnnnnxx<[email protected]>",
"scripts": {
"prepare": "simple-git-hooks",
"build": "tsup",
"test": "vitest",
"lint": "eslint . --ext .js,.jsx,.ts --quiet --cache",
"lint:fix": "pnpm lint --fix",
"r": "pnpm build && changelogen --release --push && pnpm publish"
},
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix --cache"
]
},
"devDependencies": {
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitest/coverage-v8": "^2.0.2",
"changelogen": "^0.5.5",
"eslint": "^8.57.0",
"lint-staged": "^14.0.1",
"simple-git-hooks": "^2.11.1",
"tsup": "^8.1.0",
"tsx": "^3.14.0",
"typescript": "^5.5.3",
"vitest": "^2.0.2"
},
"engines": {
"node": ">=16"
}
}