-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
83 lines (83 loc) · 2.07 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
{
"name": "jest-localstorage-mock",
"version": "2.4.0",
"description": "Auto mock all localstorage and sessionstorage APIs for your Jest tests",
"main": "dist/setup.js",
"module": "src/setup.js",
"author": "Bryan Clark <[email protected]> (https://twitter.com/clarkbw)",
"maintainers": [
{
"name": "Bryan Clark",
"email": "[email protected]",
"web": "https://twitter.com/clarkbw"
}
],
"contributors": [],
"repository": {
"type": "git",
"url": "https://github.com/clarkbw/jest-localstorage-mock"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/clarkbw/jest-localstorage-mock.git"
}
],
"bugs": {
"url": "https://github.com/clarkbw/jest-localstorage-mock/issues"
},
"homepage": "https://github.com/clarkbw/jest-localstorage-mock",
"license": "BSD-3-Clause",
"licenses": [
{
"type": "BSD-3-Clause"
}
],
"keywords": [
"jest",
"test",
"mock",
"localstorage",
"sessionstorage",
"storage",
"node",
"browser"
],
"directories": {
"lib": "./src",
"test": "./__tests__"
},
"scripts": {
"test": "yarn test:node && yarn test:jsdom",
"test:node": "jest --env=node",
"test:jsdom": "jest --env=jsdom",
"build": "rollup -c",
"prettier": "prettier --single-quote --trailing-comma es5 --write \"{src,__{tests,setups}__}/**/*.js\" README.md CONTRIBUTING.md *.json rollup.config.js",
"version": "yarn run build"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-external-helpers": "^7.8.3",
"@babel/preset-env": "^7.9.5",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^25.4.0",
"jest": "^25.4.0",
"prettier": "^2.0.5",
"rollup": "^2.7.3",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0"
},
"engines": {
"node": ">=6.16.0"
},
"jest": {
"testURL": "http://localhost/",
"bail": true,
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"setupFiles": [
"./__setups__/localstorage.js"
]
}
}