This repository has been archived by the owner on Sep 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.39 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
{
"name": "@preact-hooks/unistore",
"version": "1.1.2",
"description": "A custom Preact hook to wire up components to Unistore.",
"main": "dist/hooks.umd.js",
"module": "dist/hooks.modern.js",
"unpkg": "dist/hooks.umd.js",
"types": "types/index.d.ts",
"license": "MIT",
"author": "Rahim Alwer <[email protected]>",
"engines": {
"node": ">= 8"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"homepage": "https://github.com/mihar-22/preact-hooks-unistore#readme",
"repository": {
"type": "git",
"url": "https://github.com/mihar-22/preact-hooks-unistore"
},
"bugs": {
"url": "https://github.com/mihar-22/preact-hooks-unistore/issues"
},
"keywords": [
"unistore",
"store",
"preact-hooks",
"preact",
"hooks"
],
"files": [
"dist",
"types"
],
"scripts": {
"toc": "doctoc README.md",
"lint": "standard --parser babel-eslint --fix --env jest",
"clean": "rimraf dist",
"build:shallowEqual": "microbundle src/shallowEqual.js -o dist/shallowEqual.js --name shallowEqual --sourcemap false -f modern,umd",
"build:core": "microbundle src/index.js --name unistoreHooks --sourcemap false --compress --globals preact/hooks=preactHooks -f modern,umd",
"build": "yarn clean && yarn build:core && yarn build:shallowEqual",
"test": "jest src/__tests__",
"test:watch": "yarn test --watch",
"test:update": "yarn test --updateSnapshot --coverage",
"setup": "yarn && yarn validate",
"validate": "yarn lint && yarn test && yarn build",
"release": "yarn validate && standard-version"
},
"peerDependencies": {
"preact": ">=10 || ^10.0.0-alpha.0 || ^10.0.0-beta.0",
"unistore": "^3.4.1"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.6.2",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/preact": "^1.0.1",
"@types/jest": "^24.0.18",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"doctoc": "^1.4.0",
"jest": "^24.9.0",
"microbundle": "^0.12.0-next.6",
"preact": "^10.0.0-rc.3",
"rimraf": "^3.0.0",
"standard": "^14.3.1",
"standard-version": "^8.0.1",
"unistore": "^3.4.1"
},
"standard": {
"parser": "babel-eslint",
"env": [
"jest"
]
},
"publishConfig": {
"access": "public"
}
}