-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 1.66 KB
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
{
"name": "prsh",
"version": "1.0.1",
"description": "Preact Redux Simple Hooks",
"type": "module",
"sideEffects": false,
"types": "prsh.d.ts",
"exports": {
".": {
"import": "./prsh.js",
"require": "./dist/prsh.cjs.js"
}
},
"scripts": {
"build": "npm run build:bundle && npm run build:types",
"postbuild": "terser -m -o dist/prsh.min.js dist/prsh.js",
"build:bundle": "rollup -c",
"build:types": "tsc -p tsconfig.decl.json",
"prepublishOnly": "npm run build",
"test": "npm run test:lint && npm run test:types && npm run test:unit",
"test:lint": "eslint *.js test/*.js",
"test:types": "tsc",
"test:unit": "mocha",
"size": "cat prsh.js | terser -m | gzip-size"
},
"keywords": [
"preact",
"redux",
"hooks"
],
"author": {
"name": "Andrew Duthie",
"email": "andrew@andrewduthie.com",
"url": "https://andrewduthie.com"
},
"homepage": "https://github.com/aduth/prsh",
"repository": {
"type": "git",
"url": "https://github.com/aduth/prsh.git"
},
"bugs": {
"url": "https://github.com/aduth/prsh/issues"
},
"license": "MIT",
"files": [
"dist",
"prsh.d.ts",
"prsh.js"
],
"peerDependencies": {
"preact": ">=10",
"redux": ">=4"
},
"devDependencies": {
"@aduth/eslint-config": "^4.1.0",
"@types/jsdom": "^16.2.11",
"@types/mocha": "^8.2.2",
"@types/sinon": "^10.0.2",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"esm": "^3.2.25",
"gzip-size-cli": "^5.0.0",
"jsdom": "^16.6.0",
"mocha": "^9.0.0",
"preact": "^10.5.13",
"prettier": "^2.3.1",
"redux": "^4.0.5",
"rollup": "^2.51.2",
"sinon": "^11.1.1",
"terser": "^5.7.0",
"typescript": "^4.3.2"
}
}