bcfg: pkg: upgrade deps. update ignore and rc files.
This commit is contained in:
parent
fd114544a8
commit
6e5bc8a2df
|
@ -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": {
|
||||
"ecmaVersion": 9
|
||||
"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": 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,4 +1,3 @@
|
|||
build/
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
package-lock.json
|
||||
|
|
13
.npmignore
13
.npmignore
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue