/
package.json
69 lines (69 loc) · 1.5 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
{
"author": "C. Lewis <ctj.lewis@icloud.com>",
"description": "Cross-platform support for easy disk caching in React Native.",
"version": "0.1.0",
"license": "MIT",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"test": "tsdx test",
"posttest": "node test/import.mjs && node test/require.cjs"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-stage": "tsdx build"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "rn-disk-cache",
"size-limit": [
{
"path": "dist/rn-disk-cache.production.min.cjs",
"limit": "10 KB"
},
{
"path": "dist/rn-disk-cache.mjs",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^5.0.1",
"husky": "^7.0.1",
"size-limit": "^5.0.1",
"tsdx": "ctjlewis/tsdx",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
},
"dependencies": {
"jest": "^27.0.6",
"jest-watch-typeahead": "^0.6.4",
"react-native-fs": "ctjlewis/react-native-fs"
}
}