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", "extends": "eslint:recommended",
"parserOptions": { "parserOptions": {
"ecmaVersion": 8 "ecmaVersion": 9
}, },
"root": true, "root": true,
"rules": { "rules": {

View File

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

View File

@ -15,36 +15,20 @@
"author": "Christopher Jeffrey <chjjeffrey@gmail.com>", "author": "Christopher Jeffrey <chjjeffrey@gmail.com>",
"main": "./lib/bcfg.js", "main": "./lib/bcfg.js",
"scripts": { "scripts": {
"browserify": "browserify -s bcfg lib/bcfg.js | uglifyjs -c > bcfg.js", "lint": "eslint lib/ || exit 0",
"clean": "rm -f bcfg.js", "test": "mocha --reporter spec test/*-test.js"
"lint": "eslint lib/ test/ || exit 0", },
"test": "mocha --reporter spec test/*-test.js", "dependencies": {
"webpack": "webpack --mode production --config webpack.config.js" "bsert": "~0.0.3"
}, },
"devDependencies": { "devDependencies": {
"babel-core": "^6.26.3", "eslint": "^5.1.0",
"babel-loader": "^7.1.4", "mocha": "^5.2.0"
"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"
}, },
"engines": { "engines": {
"node": ">=8.0.0" "node": ">=8.0.0"
}, },
"browser": { "browser": {
"./lib/fs": "./lib/fs-browser.js" "./lib/fs": "./lib/fs-browser.js"
},
"browserify": {
"transform": [
"babelify"
]
} }
} }