Skip to content

lib directory doesn't exist after npm install #14

@tynes

Description

@tynes

Something that I noticed is the browser key refers to a file that doesn't exist after running an npm install

{
  "_from": "@bpanel/bpanel-utils",
  "_id": "@bpanel/bpanel-utils@0.0.11",
  "_inBundle": false,
  "_integrity": "sha512-DLxXft9XVSJKctG1gdkfUWDqEES3YCPU8GVDaKgAzokOj7sWaE8WlTGp46a/RrP59Rm1mmiC8IxYpx46zmOP8g==",
  "_location": "/@bpanel/bpanel-utils",
  "_phantomChildren": {},
  "_requested": {
    "type": "tag",
    "registry": true,
    "raw": "@bpanel/bpanel-utils",
    "name": "@bpanel/bpanel-utils",
    "escapedName": "@bpanel%2fbpanel-utils",
    "scope": "@bpanel",
    "rawSpec": "",
    "saveSpec": null,
    "fetchSpec": "latest"
  },
  "_requiredBy": [
    "#USER",
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/@bpanel/bpanel-utils/-/bpanel-utils-0.0.11.tgz",
  "_shasum": "7e1b310ba5504fdd6e31643b7f7d262b233704e3",
  "_spec": "@bpanel/bpanel-utils",
  "_where": "/Users/marktyneway/Projects/github.com/bpanel-org/bpanel-ui",
  "author": {
    "name": "Buck Perley",
    "email": "bucko.perley@gmail.com"
  },
  "browser": {
    "./lib/fs": "./lib/fs-browser.js"    <---- HERE
  },
  "browserify": {
    "transform": [
      "babelify"
    ]
  },
  "bugs": {
    "url": "https://github.com/bcoin-org/bpanel-utils/issues"
  },
  "bundleDependencies": false,
  "dependencies": {
    "bcrypto": "^1.0.0",
    "bsert": "0.0.3",
    "bufio": "^1.0.1"
  },
  "deprecated": false,
  "description": "Utilities for bpanel ",
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.0",
    "babel-eslint": "^8.2.3",
    "babel-loader": "^7.1.2",
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-polyfill": "^6.26.0",
    "babel-preset-env": "^1.6.1",
    "babelify": "^8.0.0",
    "bclient": "^0.1.3",
    "bmultisig": "^0.0.3",
    "browserify": "^14.5.0",
    "chai": "^4.1.2",
    "eslint": "^4.14.0",
    "eslint-config-prettier": "^2.9.0",
    "eslint-plugin-prettier": "^2.6.0",
    "fetch-mock": "^6.0.0",
    "mocha": "^4.0.1",
    "node-fetch": "^2.0.0",
    "prettier": "^1.12.1",
    "uglify-es": "^3.1.3",
    "uglifyjs-webpack-plugin": "^1.1.5",
    "webpack": "^3.10.0"
  },
  "engines": {
    "node": ">=7.6.0"
  },
  "homepage": "http://bcoin.io/bpanel-docs",
  "keywords": [
    "bpanel",
    "bcoin"
  ],
  "license": "MIT",
  "main": "./dist/index.js",
  "name": "@bpanel/bpanel-utils",
  "peerDependencies": {
    "bclient": "^0.1.3",
    "bmultisig": "^0.0.2"
  },
  "prettier": {
    "singleQuote": true
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/bpanel-org/bpanel-utils.git"
  },
  "scripts": {
    "babel": "babel lib -d dist",
    "browserify": "browserify -s index lib/index.js | uglifyjs -c > index.js",
    "clean": "rm -f ./dist/*.js",
    "lint": "eslint lib/ test/ || exit 0",
    "prepublish": "make babel",
    "test": "mocha --reporter spec --compilers js:babel-core/register test/*-test.js",
    "webpack": "webpack --config webpack.config.js"
  },
  "version": "0.0.11"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions