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

package.json in published package is different #26

Open
nikolay-borzov opened this issue May 12, 2019 · 3 comments
Open

package.json in published package is different #26

nikolay-borzov opened this issue May 12, 2019 · 3 comments

Comments

@nikolay-borzov
Copy link

nikolay-borzov commented May 12, 2019

package.json in the published package is different from one at master branch

{
  "author": {
    "name": "Evan Martin",
    "email": "[email protected]"
  },
  "bin": {
    "webtreemap": "build/cli.js"
  },
  "bugs": {
    "url": "https://github.com/evmar/webtreemap/issues"
  },
  "bundleDependencies": false,
  "dependencies": {
    "commander": "^2.11.0"
  },
  "deprecated": false,
  "description": "treemap visualization",
  "devDependencies": {
    "@types/commander": "^2.11.0",
    "@types/node": "^8.0.34",
    "prettier": "^1.7.0",
    "ts-loader": "^2.3.7",
    "typescript": "^2.5.2",
    "webpack": "^3.7.1"
  },
  "files": [
    "build/*.js",
    "build/*.d.ts",
    "dist/webtreemap.js"
  ],
  "homepage": "https://github.com/evmar/webtreemap#readme",
  "keywords": [
    "treemap",
    "visualization"
  ],
  "license": "Apache-2.0",
  "main": "treemap.js",
  "name": "webtreemap",
  "prettier": {
    "singleQuote": true,
    "trailingComma": "es5",
    "bracketSpacing": false,
    "parser": "typescript"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/evmar/webtreemap.git"
  },
  "scripts": {
    "build": "webpack --optimize-minimize",
    "demo": "du -ab node_modules/ | node build/cli.js --title 'node_modules for webtreemap' > docs/demo.html",
    "dev": "webpack --watch",
    "fmt": "prettier --write *.ts demo/*.ts",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "version": "2.0.1"
}
@evmar
Copy link
Owner

evmar commented May 12, 2019

Ugh, it looks like I made a quick fix and pushed it and forgot to commit it. Let me see if I can find what I did...

@evmar
Copy link
Owner

evmar commented May 12, 2019

Wait no, it's just that the version posted on npm is older than master, so it doesn't have more recent changes to package.json. I think this is to be expected. Was this causing a problem?

@nikolay-borzov
Copy link
Author

nikolay-borzov commented May 12, 2019

Well, "main" points to non-existing file meaning import { } from 'webtreemap' doesn't work

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