pkg: switch to bsert. update deps.

This commit is contained in:
Christopher Jeffrey 2018-07-19 02:07:29 -07:00
parent 9d2439cdf4
commit 37e95bfcd9
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
3 changed files with 9 additions and 25 deletions

View File

@ -5,7 +5,7 @@
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8
"ecmaVersion": 9
},
"root": true,
"rules": {

View File

@ -6,7 +6,7 @@
'use strict';
const assert = require('assert');
const assert = require('bsert');
const Path = require('path');
const os = require('os');
const fs = require('./fs');

View File

@ -15,36 +15,20 @@
"author": "Christopher Jeffrey <chjjeffrey@gmail.com>",
"main": "./lib/bcfg.js",
"scripts": {
"browserify": "browserify -s bcfg lib/bcfg.js | uglifyjs -c > bcfg.js",
"clean": "rm -f bcfg.js",
"lint": "eslint lib/ test/ || exit 0",
"test": "mocha --reporter spec test/*-test.js",
"webpack": "webpack --mode production --config webpack.config.js"
"lint": "eslint lib/ || exit 0",
"test": "mocha --reporter spec test/*-test.js"
},
"dependencies": {
"bsert": "~0.0.3"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babelify": "^8.0.0",
"browserify": "^16.2.2",
"eslint": "^4.19.1",
"mocha": "^5.2.0",
"uglify-es": "^3.3.9",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.11.1",
"webpack-cli": "^3.0.3"
"eslint": "^5.1.0",
"mocha": "^5.2.0"
},
"engines": {
"node": ">=8.0.0"
},
"browser": {
"./lib/fs": "./lib/fs-browser.js"
},
"browserify": {
"transform": [
"babelify"
]
}
}