Skip to content

Commit

Permalink
pkg: switch to bsert. update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jul 19, 2018
1 parent 9d2439c commit 37e95bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Expand Up @@ -5,7 +5,7 @@
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 8
"ecmaVersion": 9
},
"root": true,
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion lib/config.js
Expand Up @@ -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');
Expand Down
30 changes: 7 additions & 23 deletions package.json
Expand Up @@ -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"
]
}
}

0 comments on commit 37e95bf

Please sign in to comment.