Comparing version 0.0.3 to 0.0.4
186
package.json
{ | ||
"name": "parse-err", | ||
"description": "Parse errors in the Browser and Node. Made for Cabin.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
"ava": { | ||
"failFast": true, | ||
"verbose": true | ||
}, | ||
"bugs": { | ||
@@ -16,28 +20,27 @@ "url": "https://github.com/niftylettuce/parse-err/issues", | ||
}, | ||
"ava": { | ||
"failFast": true, | ||
"verbose": true | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.2", | ||
"@babel/core": "^7.1.2", | ||
"@babel/preset-env": "^7.1.0", | ||
"ava": "^0.25.0", | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.2.2", | ||
"@babel/preset-env": "^7.2.3", | ||
"@commitlint/cli": "^7.2.1", | ||
"@commitlint/config-conventional": "^7.1.2", | ||
"ava": "^1.0.1", | ||
"babelify": "^10.0.0", | ||
"browserify": "^16.2.3", | ||
"caniuse-lite": "^1.0.30000888", | ||
"caniuse-lite": "^1.0.30000926", | ||
"codecov": "^3.1.0", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^5.6.1", | ||
"eslint-config-prettier": "^3.1.0", | ||
"eslint-plugin-compat": "^2.5.1", | ||
"eslint-plugin-prettier": "^2.7.0", | ||
"husky": "^1.0.1", | ||
"lint-staged": "^7.3.0", | ||
"nyc": "^13.0.1", | ||
"prettier": "^1.14.3", | ||
"remark-cli": "^5.0.0", | ||
"remark-preset-github": "^0.0.8", | ||
"rimraf": "^2.6.2", | ||
"tinyify": "^2.4.3", | ||
"eslint": "^5.11.1", | ||
"eslint-config-xo-lass": "^1.0.3", | ||
"eslint-plugin-compat": "^2.6.3", | ||
"eslint-plugin-node": "^8.0.0", | ||
"fixpack": "^2.3.1", | ||
"husky": "^1.3.1", | ||
"lint-staged": "^8.1.0", | ||
"nyc": "^13.1.0", | ||
"prettier": "^1.15.3", | ||
"remark-cli": "^6.0.1", | ||
"remark-preset-github": "^0.0.13", | ||
"rimraf": "^2.6.3", | ||
"tinyify": "^2.5.0", | ||
"xo": "^0.23.0" | ||
@@ -48,45 +51,61 @@ }, | ||
}, | ||
"files": [ | ||
"lib", | ||
"dist" | ||
], | ||
"homepage": "https://github.com/niftylettuce/parse-err", | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm test", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
}, | ||
"jsdelivr": "dist/parse-err.min.js", | ||
"keywords": [ | ||
"parse", | ||
"auth", | ||
"authentication", | ||
"browser", | ||
"connect", | ||
"consistent", | ||
"err", | ||
"errors", | ||
"properties", | ||
"express", | ||
"headers", | ||
"koa", | ||
"lad", | ||
"lass", | ||
"lad", | ||
"koa", | ||
"logger", | ||
"logging", | ||
"node", | ||
"normalized", | ||
"object", | ||
"parse", | ||
"passport", | ||
"auth", | ||
"authentication", | ||
"logging", | ||
"properties", | ||
"req", | ||
"express", | ||
"connect", | ||
"user", | ||
"object", | ||
"headers", | ||
"normalized", | ||
"consistent", | ||
"browser", | ||
"node" | ||
"user" | ||
], | ||
"license": "MIT", | ||
"lint-staged": { | ||
"*.{js,jsx,mjs,ts,tsx,css,less,scss,json,graphql}": [ | ||
"prettier --write --single-quote --trailing-comma none", | ||
"git add" | ||
], | ||
"*.md": [ | ||
"remark . -qfo", | ||
"git add" | ||
] | ||
"linters": { | ||
"*.js": [ | ||
"xo --fix", | ||
"git add" | ||
], | ||
"*.md": [ | ||
"remark . -qfo", | ||
"git add" | ||
], | ||
"package.json": [ | ||
"fixpack", | ||
"git add" | ||
] | ||
} | ||
}, | ||
"main": "lib/index.js", | ||
"unpkg": "dist/parse-err.min.js", | ||
"jsdelivr": "dist/parse-err.min.js", | ||
"files": [ | ||
"lib", | ||
"dist" | ||
], | ||
"prettier": { | ||
"singleQuote": true, | ||
"bracketSpacing": true, | ||
"trailingComma": "none" | ||
}, | ||
"remarkConfig": { | ||
@@ -101,51 +120,28 @@ "plugins": [ | ||
}, | ||
"scripts": { | ||
"ava": "cross-env NODE_ENV=test ava", | ||
"browserify": "browserify src/index.js -o dist/parse-err.js -s parseRequest -d -t babelify", | ||
"build": "npm run build:clean && npm run build:lib && npm run build:dist", | ||
"build:clean": "rimraf lib dist", | ||
"build:dist": "npm run browserify && npm run minify", | ||
"build:lib": "babel src --out-dir lib", | ||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"lint": "xo && remark . -qfo && eslint lib && eslint dist", | ||
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/parse-err.min.js -s parseRequest -d -t babelify -p tinyify", | ||
"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" | ||
}, | ||
"unpkg": "dist/parse-err.min.js", | ||
"xo": { | ||
"extends": "prettier", | ||
"plugins": [ | ||
"prettier" | ||
"prettier": true, | ||
"space": true, | ||
"extends": [ | ||
"xo-lass" | ||
], | ||
"parserOptions": { | ||
"sourceType": "script" | ||
}, | ||
"envs": [ | ||
"browser", | ||
"node" | ||
], | ||
"rules": { | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"singleQuote": true, | ||
"bracketSpacing": true, | ||
"trailingComma": "none" | ||
} | ||
], | ||
"max-len": [ | ||
"error", | ||
{ | ||
"code": 80, | ||
"ignoreUrls": true | ||
} | ||
], | ||
"capitalized-comments": "off", | ||
"camelcase": "off", | ||
"no-warning-comments": "off" | ||
}, | ||
"space": true | ||
}, | ||
"scripts": { | ||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"lint": "xo && remark . -qfo && eslint lib && eslint dist", | ||
"precommit": "lint-staged && npm test", | ||
"test": "npm run build && npm run lint && npm run ava", | ||
"test-coverage": "npm run build && npm run lint && npm run nyc", | ||
"ava": "cross-env NODE_ENV=test ava", | ||
"nyc": "cross-env NODE_ENV=test nyc ava", | ||
"build": "npm run build:clean && npm run build:lib && npm run build:dist", | ||
"build:clean": "rimraf lib dist", | ||
"build:lib": "babel src --out-dir lib", | ||
"build:dist": "npm run browserify && npm run minify", | ||
"browserify": "browserify src/index.js -o dist/parse-err.js -s parseRequest -d -t babelify", | ||
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/parse-err.min.js -s parseRequest -d -t babelify -p tinyify" | ||
] | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
368170
25