Change Licene and package name

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-31 19:28:15 +00:00
parent 53d7ffd02e
commit f89b3e5e88
3 changed files with 727 additions and 16 deletions

View File

@@ -1,26 +1,21 @@
{
"name": "d3-neighbour-sampling",
"version": "0.0.2",
"description": "A linear time algorithm for visualizing a high-dimensional data.",
"name": "d3-spring-model",
"version": "0.0.1",
"description": "A collection of algorithms for visualizing a high-dimensional data.",
"keywords": [
"d3",
"d3-module",
"d3-neighbour-sampling",
"d3-spring-model",
"force"
],
"license": "MIT",
"main": "build/d3-neighbour-sampling.js",
"license": "GPL-3.0-only",
"main": "build/d3-spring-model.js",
"jsnext:main": "index",
"homepage": "https://github.com/sReeper/d3-neighbour-sampling",
"repository": {
"type": "git",
"url": "https://github.com/sReeper/d3-neighbour-sampling.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && rollup -g d3-force:d3,d3-dispatch:d3,d3-quadtree:d3,d3-collection:d3 -f umd -n d3 -o build/d3-neighbour-sampling.js -- index.js",
"pretest": "rm -rf build && mkdir build && rollup -g d3-force:d3,d3-dispatch:d3,d3-quadtree:d3,d3-collection:d3 -f umd -n d3 -o build/d3-spring-model.js -- index.js",
"test": "tape 'test/**/*-test.js'",
"prepublish": "npm run test && node_modules/uglify-es/bin/uglifyjs build/d3-neighbour-sampling.js -c -m -o build/d3-neighbour-sampling.min.js",
"postpublish": "zip -j build/d3-neighbour-sampling.zip -- LICENSE README.md build/d3-neighbour-sampling.js build/d3-neighbour-sampling.min.js"
"prepublish": "npm run test && node_modules/uglify-es/bin/uglifyjs build/d3-spring-model.js -c -m -o build/d3-spring-model.min.js",
"postpublish": "zip -j build/d3-spring-model.zip -- LICENSE README.md build/d3-spring-model.js build/d3-spring-model.min.js"
},
"devDependencies": {
"rollup": "0.36",