-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.02 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
{
"name": "kabinet",
"version": "1.4.0",
"description": "Observable key-value stores",
"main": "dist/store.js",
"files": [
"dist"
],
"engines": {
"node": ">=6"
},
"scripts": {
"clean": "rm -rf dist *.tgz",
"fix": "prettier -w src/",
"test": "npm run test:prettier && npm run test:eslint && npm run test:unit",
"test:eslint": "eslint src",
"test:unit": "ava src/",
"test:prettier": "prettier -c src/",
"prepare:demo": "rm -rf demo/node_modules/ && npm pack && cd demo && npm install && cd ..",
"demo": "npm run prepare:demo && cd demo && npm run dev",
"compile": "tsc",
"prepare": "npm run compile",
"prepublishOnly": "npm run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mvhenten/kabinet.git"
},
"keywords": [
"flux",
"store",
"observable",
"state",
"exernal state",
"custom hook",
"react",
"useSyncExternalStore"
],
"author": "Matthijs van Henten <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/mvhenten/kabinet/issues"
},
"homepage": "https://github.com/mvhenten/kabinet#readme",
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 4,
"singleQuote": false
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {}
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"ava": "^5.0.1",
"eslint": "^8.27.0",
"prettier": "^2.8.1",
"ts-node": "^10.9.1",
"ts-sinon": "^2.0.2",
"typescript": "^4.8.4"
}
}