-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
108 lines (108 loc) · 3.08 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "redux-remember",
"version": "5.2.0",
"description": "Saves and loads your redux state from a key-value store of your choice",
"author": "Iskren Slavov <iskren.s@gmail.com>",
"license": "MIT",
"types": "dist/types/index.d.ts",
"main": "dist/cjs/index.cjs",
"module": "dist/mjs/index.mjs",
"react-native": "src/index.ts",
"source": "src/index.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.cjs",
"import": "./dist/mjs/index.mjs",
"default": "./dist/cjs/index.cjs"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"scripts": {
"clean": "rimraf -V dist",
"typecheck": "tsc --noEmit",
"build:cjs": "BABEL_ENV=cjs babel --extensions '.ts' src --source-maps --out-file-extension '.cjs' --out-dir dist/cjs",
"build:mjs": "BABEL_ENV=mjs babel --extensions '.ts' src --source-maps --out-file-extension '.mjs' --out-dir dist/mjs",
"build:types": "tsc --pretty --declaration --declarationMap --emitDeclarationOnly --outDir dist/types && rimraf -V dist/types/__tests__",
"build": "npm run build:cjs && npm run build:mjs && npm run build:types",
"prepare": "npm run clean && npm run typecheck && npm run test && npm run build",
"lint": "eslint ./src/*.ts",
"test": "npm run lint && jest ./src/__tests__/*.test.ts"
},
"jest": {
"collectCoverage": true,
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true,
"extensionsToTreatAsEsm": [
".js",
".ts"
]
}
]
}
},
"files": [
"src",
"dist",
"LICENSE",
"README.md",
"!**/__tests__"
],
"repository": {
"type": "git",
"url": "https://github.com/zewish/redux-remember.git"
},
"bugs": {
"url": "https://github.com/zewish/redux-remember/issues"
},
"homepage": "https://github.com/zewish/redux-remember/",
"keywords": [
"redux",
"remember",
"storage",
"persist",
"persistance",
"rehydrate",
"rehydration",
"localstorage",
"sessionstorage",
"asyncstorage",
"react",
"react-native"
],
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.9.7",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"babel-plugin-module-extension-resolver": "^1.0.0",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"jest": "^29.7.0",
"redux": ">=5.0.1",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.6.3"
},
"peerDependencies": {
"redux": ">=5.0.0"
}
}