-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
93 lines (93 loc) 路 2 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
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "solid-zustand",
"version": "1.5.0",
"description": "馃惢 State management in Solid using zustand.",
"publishConfig": {
"directory": "package"
},
"keywords": [
"solid",
"state",
"management",
"store",
"zustand"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wobsoriano/solid-zustand.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"test": "vitest run",
"test:watch": "vitest watch",
"release": "bumpp --commit --push --tag && npm publish",
"lint": "eslint --ext=js,ts,jsx,tsx .",
"lint:fix": "pnpm run lint --fix",
"prepublishOnly": "rimraf ./package && pnpm run build && clean-publish",
"postpublish": "rimraf ./package"
},
"clean-publish": {
"cleanDocs": true,
"withoutPublish": true,
"tempDir": "package"
},
"peerDependencies": {
"solid-js": ">=1.4.0",
"zustand": "^4.1.0"
},
"devDependencies": {
"@antfu/eslint-config-ts": "^0.20.6",
"bumpp": "^7.1.1",
"clean-publish": "^4.0.0",
"eslint": "^8.25.0",
"eslint-plugin-solid": "^0.7.3",
"jsdom": "^19.0.0",
"lint-staged": "^12.3.5",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.7.0",
"solid-js": "^1.6.0",
"tsup": "^5.12.6",
"typescript": "4.6.3",
"vite-plugin-solid": "^2.2.6",
"vitest": "^0.7.13",
"zustand": "^4.1.2"
},
"lint-staged": {
"{src,test}/**/*.{js,ts,jsx,tsx}": [
"eslint --fix"
]
},
"eslintConfig": {
"plugins": [
"solid"
],
"extends": [
"plugin:solid/typescript",
"@antfu/eslint-config-ts"
],
"rules": {
"semi": [
2,
"always"
],
"@typescript-eslint/semi": [
2,
"always"
]
}
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}