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 "node": true
}, },
"extends": "eslint:recommended", "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": { "parserOptions": {
"ecmaVersion": 9 "ecmaVersion": 10,
"ecmaFeatures": {
"globalReturn": true
},
"requireConfigFile": false,
"sourceType": "script"
}, },
"root": true, "root": true,
"rules": { "rules": {
@ -27,11 +72,20 @@
}], }],
"func-name-matching": "error", "func-name-matching": "error",
"indent": ["off", 2, { "indent": ["off", 2, {
"ArrayExpression": "off",
"SwitchCase": 1, "SwitchCase": 1,
"CallExpression": { "CallExpression": {
"arguments": "off" "arguments": "off"
}, },
"ArrayExpression": "off" "FunctionDeclaration": {
"parameters": "off"
},
"FunctionExpression": {
"parameters": "off"
},
"MemberExpression": "off",
"ObjectExpression": "off",
"ImportDeclaration": "off"
}], }],
"handle-callback-err": "off", "handle-callback-err": "off",
"linebreak-style": ["error", "unix"], "linebreak-style": ["error", "unix"],

1
.gitignore vendored
View File

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

View File

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

View File

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