/
package.json
58 lines (58 loc) · 1.64 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
{
"name": "use-memory-value",
"version": "2.0.2",
"description": "Hooks for global state in memory and localstorage",
"main": "index.cjs.js",
"types": "index.d.ts",
"author": "Derk-Jan Karrenbeld <derk-jan+github@karrenbeld.info>",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/SleeplessByte/use-memory-value.git"
},
"scripts": {
"build": "yarn build:main && yarn build:dts",
"build:main": "yarn tsc --module commonjs && move .\\index.js .\\index.cjs.js",
"build:dts": "yarn tsc --declaration --declarationMap --emitDeclarationOnly",
"prepare": "yarn build && yarn test",
"test": "yarn jest"
},
"peerDependencies": {
"localforage": "^1.9.0",
"react": "^17.0.1",
"react-fast-compare": "^3.2.0"
},
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.13.0",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.20",
"@types/react": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"babel-jest": "^26.6.3",
"eslint": "^7.21.0",
"eslint-config-universe": "^7.0.1",
"jest": "^26.6.3",
"localforage": "^1.9.0",
"prettier": "^2.2.1",
"react": "~17.0.1",
"react-dom": "~17.0.1",
"react-fast-compare": "^3.2.0",
"typescript": "~4.2.2"
},
"files": [
"index.cjs.js",
"index.ts",
"index.d.ts",
"index.d.ts.map",
"log.js",
"log.ts",
"log.d.ts",
"log.d.ts.map"
]
}