webtreemap
webtreemap copied to clipboard
package.json in published package is different
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"
}
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...
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?
Well, "main"
points to non-existing file meaning import { } from 'webtreemap'
doesn't work