generated from wayfair-incubator/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
77 lines (77 loc) · 1.71 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
{
"name": "expirable-storage",
"version": "1.0.0",
"description": "Expirable data storage based on localStorage and sessionStorage.",
"homepage": "https://github.com/wayfair-incubator/expirable-storage",
"repository": "github:wayfair-incubator/expirable-storage",
"license": "MIT",
"main": "./dist/index.js",
"exports": "./dist/index.js",
"types": "./index.d.ts",
"bugs": {
"url": "https://github.com/wayfair-incubator/expirable-storage/issues"
},
"scripts": {
"build": "webpack",
"lint": "eslint --ext .ts ./src",
"test": "jest --coverage"
},
"keywords": [
"expirable-storage",
"expirable",
"localstorage",
"sessionstorage"
],
"devDependencies": {
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.9.0",
"jest": "^27.5.1",
"ts-jest": "^27.1.3",
"ts-loader": "9.5.1",
"typescript": "4.9.5",
"webpack": "^5.68.0",
"webpack-cli": "^5.0.0"
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"no-empty": "warn"
}
},
"jest": {
"verbose": true,
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|tsx)?$": "ts-jest"
}
}
}