-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.75 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
{
"name": "context-storage",
"version": "0.1.1",
"description": "react hook for localstorage",
"source": "src/index.tsx",
"main": "dist/index.js",
"module": "dist/index.mjs",
"umd:main": "dist/index.umd.js",
"typings": "dist/index.d.ts",
"repository": "https://github.com/leonardodino/context-storage",
"author": "Leonardo Dino",
"license": "MIT",
"scripts": {
"build": "microbundle --name createContext",
"postbuild": "rm dist/*.test.* dist/*.mock.* && bundlesize",
"type-check": "tsc --noEmit",
"type-check:watch": "tsc --noEmit --watch --preserveWatchOutput",
"test": "jest",
"test:watch": "jest --watchAll",
"prepublishOnly": "yarn test && yarn type-check && yarn build",
"dev": "concurrently -kn 'jest,type' -c 'bgGreen,bgCyan' 'yarn test:watch' 'yarn type-check:watch'"
},
"files": [
"dist/"
],
"keywords": [
"react",
"react-hooks",
"hooks",
"localstorage",
"browser"
],
"bundlesize": [
{
"path": "./dist/*.{js,mjs}",
"maxSize": "600B"
}
],
"jest": {
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"preset": "jest-preset-typescript"
},
"peerDependencies": {
"react": "^16.8.0"
},
"devDependencies": {
"@testing-library/react": "^8.0.1",
"@types/jest": "^24.0.13",
"@types/react-dom": "^16.8.4",
"bundlesize": "^0.17.2",
"concurrently": "^4.1.0",
"jest": "^24.8.0",
"jest-localstorage-mock": "^2.4.0",
"jest-preset-typescript": "^1.2.0",
"microbundle": "^0.9.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
}
}