-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 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
{
"name": "parse-err",
"description": "Parse errors in the Browser and Node. Made for Cabin.",
"version": "1.0.0",
"author": "Nick Baugh <[email protected]> (http://niftylettuce.com/)",
"bugs": {
"url": "https://github.com/cabinjs/parse-err/issues",
"email": "[email protected]"
},
"contributors": [
"Nick Baugh <[email protected]> (http://niftylettuce.com/)"
],
"dependencies": {
"iserror": "^0.0.2"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"ava": "^5.1.1",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.33.0",
"eslint-config-xo-lass": "^2.0.1",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-node": "^11.1.0",
"fixpack": "^4.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"nyc": "^15.1.0",
"remark-cli": "^11.0.0",
"remark-preset-github": "^4.0.4",
"rimraf": "^4.1.2",
"tinyify": "3.0.0",
"xo": "^0.53.1"
},
"engines": {
"node": ">=6.4.0"
},
"files": [
"lib",
"dist"
],
"homepage": "https://github.com/cabinjs/parse-err",
"jsdelivr": "dist/parse-err.min.js",
"keywords": [
"auth",
"authentication",
"browser",
"connect",
"consistent",
"err",
"errors",
"express",
"headers",
"koa",
"lad",
"lass",
"logger",
"logging",
"node",
"normalized",
"object",
"parse",
"passport",
"properties",
"req",
"user"
],
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/cabinjs/parse-err"
},
"scripts": {
"ava": "cross-env NODE_ENV=test ava",
"browserify": "browserify src/index.js -o dist/parse-err.js -s parseErr -g [ babelify --configFile ./.dist.babelrc ]",
"build": "npm run build:clean && npm run build:lib && npm run build:dist && npm run build:lint",
"build:clean": "rimraf lib dist",
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
"build:lint": "eslint -c .lib.eslintrc lib && eslint -c .dist.eslintrc dist",
"lint": "xo --fix && remark . -qfo && fixpack",
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/parse-err.min.js -s parseErr -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
"nyc": "cross-env NODE_ENV=test nyc ava",
"prepare": "husky install",
"pretest": "npm run lint",
"test": "npm run build && npm run nyc"
},
"unpkg": "dist/parse-err.min.js"
}