bcfg: pkg: upgrade deps. update ignore and rc files.

This commit is contained in:
Christopher Jeffrey 2019-03-21 12:02:55 -07:00
parent fd114544a8
commit 6e5bc8a2df
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
4 changed files with 69 additions and 7 deletions

View File

@ -4,8 +4,53 @@
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readable",
"BigInt": "readable",
"BigInt64Array": "readable",
"BigUint64Array": "readable",
"queueMicrotask": "readable",
"SharedArrayBuffer": "readable",
"TextEncoder": "readable",
"TextDecoder": "readable"
},
"overrides": [
{
"files": ["*.mjs"],
"parserOptions": {
"sourceType": "module"
}
},
{
"files": ["*.cjs"],
"parserOptions": {
"sourceType": "script"
}
},
{
"files": [
"test/{,**/}*.{mjs,cjs,js}"
],
"env": {
"mocha": true
},
"globals": {
"register": "readable"
},
"rules": {
"max-len": "off",
"prefer-arrow-callback": "off"
}
}
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 9
"ecmaVersion": 10,
"ecmaFeatures": {
"globalReturn": true
},
"requireConfigFile": false,
"sourceType": "script"
},
"root": true,
"rules": {
@ -27,11 +72,20 @@
}],
"func-name-matching": "error",
"indent": ["off", 2, {
"ArrayExpression": "off",
"SwitchCase": 1,
"CallExpression": {
"arguments": "off"
},
"ArrayExpression": "off"
"FunctionDeclaration": {
"parameters": "off"
},
"FunctionExpression": {
"parameters": "off"
},
"MemberExpression": "off",
"ObjectExpression": "off",
"ImportDeclaration": "off"
}],
"handle-callback-err": "off",
"linebreak-style": ["error", "unix"],

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
build/
node_modules/
npm-debug.log
package-lock.json

View File

@ -1,8 +1,17 @@
.babel*
.bmocharc*
.bpkgignore
.editorconfig
.eslint*
.git*
.mocharc*
.yarnignore
bench/
docs/
build/
test/
docs/
node_modules/
npm-debug.log
package-lock.json
test/
webpack.*.js
yarn.lock

View File

@ -19,10 +19,10 @@
"test": "bmocha --reporter spec test/*-test.js"
},
"dependencies": {
"bsert": "~0.0.8"
"bsert": "~0.0.9"
},
"devDependencies": {
"bmocha": "^1.0.0"
"bmocha": "^2.1.0"
},
"engines": {
"node": ">=8.0.0"