-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
138 lines (138 loc) · 3.37 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@logux/vuex",
"version": "0.10.3",
"description": "Vuex compatible API for Logux",
"keywords": [
"logux",
"client",
"vuex",
"websocket"
],
"scripts": {
"test:lint": "eslint .",
"test:coverage": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
"test:types": "check-dts",
"test:size": "size-limit",
"test": "pnpm run /^test:/"
},
"author": "Eduard Aksamitov <e@euaaaio.ru>",
"license": "MIT",
"homepage": "https://logux.org/",
"repository": "logux/vuex",
"sideEffects": false,
"type": "module",
"types": "./index.d.ts",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"engines": {
"node": "^16.0.0 || ^18.0.0 || >=20.0.0"
},
"peerDependencies": {
"@logux/client": ">=0.10.0",
"@logux/core": ">=0.7.0",
"vue": ">=3.2.30",
"vuex": ">=4.0.2"
},
"dependencies": {
"nanoevents": "^8.0.0"
},
"devDependencies": {
"@jest/globals": "^27.5.1",
"@logux/actions": "^0.3.1",
"@logux/client": "^0.18.4",
"@logux/core": "^0.8.5",
"@logux/eslint-config": "46.0.1",
"@size-limit/preset-small-lib": "^7.0.8",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"@vue/test-utils": "^2.4.1",
"check-dts": "^0.7.2",
"eslint": "^8.16.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.2.2",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-security": "^1.5.0",
"eslint-plugin-unicorn": "^42.0.0",
"jest": "^27.5.1",
"nano-staged": "^0.8.0",
"nanodelay": "^2.0.2",
"prettier": "^3.0.3",
"simple-git-hooks": "^2.9.0",
"size-limit": "^7.0.8",
"ts-jest": "^28.0.3",
"typescript": "^4.6.4",
"vue": "^3.3.8",
"vuex": "^4.1.0"
},
"simple-git-hooks": {
"pre-commit": "./node_modules/.bin/nano-staged"
},
"nano-staged": {
"*.{js,ts}": [
"prettier --write",
"eslint --fix"
]
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "jsdom",
"globals": {
"ts-jest": {
"useESM": true,
"isolatedModules": true
}
},
"transformIgnorePatterns": [
"node_modules/(?!@logux)"
],
"coverageThreshold": {
"global": {
"statements": 100
}
}
},
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"eslintConfig": {
"extends": "@logux/eslint-config/esm",
"rules": {
"jest/no-conditional-expect": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
"eslintIgnore": [
"**/errors.ts"
],
"size-limit": [
{
"name": "Client + Store",
"import": {
"@logux/client": "{ CrossTabClient }",
"./index.js": "{ createStoreCreator }"
},
"limit": "6 KB"
},
{
"name": "Client + Store + Helpers",
"import": {
"@logux/client": "{ CrossTabClient }",
"./index.js": "{ createStoreCreator, useStore, useSubscription }"
},
"limit": "7 KB"
}
]
}