Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib directory doesn't exist after npm install #14

Open
tynes opened this issue Aug 10, 2018 · 1 comment
Open

lib directory doesn't exist after npm install #14

tynes opened this issue Aug 10, 2018 · 1 comment

Comments

@tynes
Copy link
Contributor

tynes commented Aug 10, 2018

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/[email protected]",
  "_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": "[email protected]"
  },
  "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"
}
@bucko13
Copy link
Contributor

bucko13 commented Aug 10, 2018

Yeah, I was getting this on bpanel-cli as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants