-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 1.79 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
{
"name": "@zcorky/storage",
"version": "1.4.7",
"description": "A minimal API wrapper for localStorage",
"keywords": [
"zcorky",
"storage",
"store",
"lockr",
"typescript"
],
"homepage": "https://github.com/zcorky/storage",
"bugs": {
"url": "https://github.com/zcorky/storage/issues"
},
"repository": "https://github.com/zcorky/storage",
"license": "MIT",
"author": "Zero <uniquecolesmith@gmail.com> (https://moeover.com)",
"main": "lib/index.js",
"files": [
"lib/"
],
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf -rf lib",
"test": "jest -w 1",
"coverage": "jest -w 1 && codecov",
"prepublishOnly": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"jest": {
"roots": [
"test"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "test/.*\\.spec\\.(ts|tsx)$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 10,
"functions": 10,
"lines": 10,
"statements": 10
}
},
"setupFiles": [
"<rootDir>/test/browser/mock.ts"
]
},
"dependencies": {
"@zcorky/fz": "^1.2.15"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^10.9.4",
"codecov": "^3.2.0",
"cross-env": "^5.2.0",
"husky": "^1.2.1",
"jest": "^24.5.0",
"rimraf": "^2.6.2",
"ts-jest": "^24.0.0",
"ts-node": "^7.0.1",
"typescript": "^4.9.5"
},
"publishConfig": {
"access": "public"
}
}