pkg: switch to bsert. update deps.
This commit is contained in:
parent
9d2439cdf4
commit
37e95bfcd9
|
@ -5,7 +5,7 @@
|
|||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 8
|
||||
"ecmaVersion": 9
|
||||
},
|
||||
"root": true,
|
||||
"rules": {
|
||||
|
|
|
@ -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');
|
||||
|
|
30
package.json
30
package.json
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue