This repository was archived by the owner on Sep 6, 2023. It is now read-only.
forked from koajs/csrf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 2.64 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
{
"name": "@lookio/koa-csrf",
"description": "CSRF tokens for Koa",
"version": "3.0.8-1",
"author": {
"name": "Jonathan Ong",
"email": "[email protected]",
"url": "http://jongleberry.com",
"twitter": "https://twitter.com/jongleberry"
},
"bugs": "koajs/csrf/issues",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"contributors": [
{
"name": "Nick Baugh",
"email": "[email protected]",
"url": "https://github.com/niftylettuce"
}
],
"dependencies": {
"csrf": "^3.1.0",
"debug": "^3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"ava": "2.3.0",
"codecov": "latest",
"cross-env": "latest",
"eslint": "latest",
"eslint-config-xo-lass": "latest",
"eslint-plugin-node": "^10.0.0",
"fixpack": "latest",
"husky": "latest",
"koa": "^2.8.1",
"koa-bodyparser": "^4.2.1",
"koa-convert": "^1.2.0",
"koa-generic-session": "^2.0.1",
"lint-staged": "latest",
"nyc": "latest",
"remark-cli": "latest",
"remark-preset-github": "latest",
"supertest": "^4.0.2",
"xo": "latest"
},
"engines": {
"node": ">= 6.4"
},
"files": [
"lib"
],
"homepage": "https://github.com/koajs/csrf",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"keywords": [
"cross",
"csrf",
"forgery",
"koa",
"koa2",
"koa@2",
"koa@next",
"koanext",
"next",
"request",
"security",
"site"
],
"license": "MIT",
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
],
"*.md": [
"remark . -qfo",
"git add"
],
"package.json": [
"fixpack",
"git add"
]
},
"main": "lib/index.js",
"remarkConfig": {
"plugins": [
"preset-github"
]
},
"repository": "https://github.com/lookio/csrf",
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"build": "npm run build:clean && npm run build:lib",
"build:clean": "rimraf lib",
"build:lib": "babel src --out-dir lib",
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "xo && remark . -qfo && eslint lib",
"nyc": "cross-env NODE_ENV=test nyc ava",
"test": "npm run build && npm run lint && npm run ava",
"test-coverage": "npm run build && npm run lint && npm run nyc"
},
"xo": {
"prettier": true,
"space": true,
"extends": [
"xo-lass"
]
}
}