forked from vvo/iron-session
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 2.67 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "next-iron-session",
"version": "0.0.0-development",
"private": false,
"description": "Next.js stateless session utility using signed and encrypted cookies to store data",
"repository": {
"type": "git",
"url": "https://github.com/vvo/next-iron-session.git"
},
"license": "MIT",
"author": "Vincent Voyer <vincent@codeagain.com>",
"main": "dist/",
"types": "lib/index.d.ts",
"files": [
"dist/",
"lib/",
"LICENSE",
"README.md"
],
"scripts": {
"build": "babel lib/ -d dist/ --source-maps --ignore '**/*.test.js' --delete-dir-on-start",
"format": "prettier --write '**/*.*' && eslint . --fix",
"lint": "prettier --check '**/*.*' && eslint .",
"prepublishOnly": "yarn build",
"semantic-release": "semantic-release",
"test": "jest --coverage && yarn lint"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
}
}
]
]
},
"prettier": {
"trailingComma": "all"
},
"eslintConfig": {
"env": {
"es6": true,
"jest": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": [
"jest"
],
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"plugin:import/recommended"
],
"rules": {
"arrow-body-style": [
"error",
"always"
],
"curly": "error",
"import/order": [
"error",
{
"newlines-between": "always"
}
]
}
},
"jest": {
"setupFiles": [
"jest-date-mock"
]
},
"dependencies": {
"@types/cookie": "^0.4.0",
"array.prototype.flat": "^1.2.4",
"clone": "^2.1.2",
"cookie": "^0.4.1",
"debug": "^4.3.1",
"iron-store": "^1.3.0"
},
"devDependencies": {
"@babel/cli": "7.14.3",
"@babel/core": "7.14.3",
"@babel/preset-env": "7.14.4",
"@types/jest": "26.0.23",
"babel-eslint": "10.1.0",
"babel-jest": "27.0.2",
"eslint": "7.28.0",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"jest": "27.0.4",
"jest-date-mock": "1.0.8",
"prettier": "2.3.1",
"prettier-plugin-packagejson": "2.2.11",
"semantic-release": "17.4.3"
},
"engines": {
"node": ">=0.11.0"
},
"engineStrict": true,
"renovate": {
"extends": [
"config:js-lib",
":automergePatch",
":automergeBranch",
":automergeLinters",
":automergeTesters",
":automergeTypes"
],
"ignorePaths": []
}
}