mock-async-storage
Version:
Its a mock of react-native AsyncStorage for jest tests
70 lines • 1.93 kB
JSON
{
"name": "mock-async-storage",
"title": "Jest Mock AsyncStorage for react-native",
"version": "2.9.0",
"description": "Its a mock of react-native AsyncStorage for jest tests",
"main": "lib/index.cjs",
"type": "module",
"keywords": [
"jest",
"react-native",
"mock",
"async-storage"
],
"tsup": {
"entry": [
"src/index.ts"
],
"splitting": false,
"sourcemap": true,
"clean": true
},
"author": "Metál Ádám <devmetal91@gmail.com> (https://github.com/devmetal)",
"repository": {
"type": "git",
"url": "https://github.com/devmetal/mock-async-storage.git"
},
"license": "MIT",
"engines": {
"node": ">=18"
},
"devDependencies": {
"@eslint/js": "^9.3.0",
"@types/jest": "^29.5.12",
"eslint": "^9.3.0",
"globals": "^15.3.0",
"jest": "^29.7.0",
"sinon": "^18.0.0",
"ts-jest": "^29.1.3",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0",
"@types/sinon": "^17.0.3"
},
"dependencies": {
"deepmerge": "^4.3.1"
},
"maintainers": [],
"contributors": [
"Metál Ádám <devmetal91@gmail.com> (https://github.com/devmetal)",
"Alexis Mangin (http://www.alexismangin.com/)",
"Kees Kluskens (http://webduck.nl)",
"Caleb Gregory (http://caleb-gregory.com)"
],
"bugs": {
"url": "https://github.com/devmetal/mock-async-storage/issues"
},
"scripts": {
"tsc": "tsc",
"build": "tsup -d ./lib --dts",
"tdd": "jest src/** --watch",
"lint": "eslint ./src/*.ts ./src/**/*.ts",
"test:src": "jest src/**",
"test": "pnpm run compile && pnpm run test:src && pnpm run examples",
"compile": "pnpm run lint && pnpm run build",
"example-jest": "jest ./examples/with-jest/**",
"example-sinon": "jest ./examples/with-sinon/**",
"examples": "pnpm run example-jest && pnpm run example-sinon",
"prepublish": "pnpm run build"
}
}