-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.14 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "scissors",
"version": "0.2.0",
"description": "Compute a layout for cutting up polygon and rearranging the pieces to form another polygon of equal area.",
"keywords": [
"d3",
"triangulate",
"geometry",
"shape",
"equidecomposability",
"equidecompose"
],
"homepage": "https://github.com/bmershon/scissors",
"license": "MIT",
"author": {
"name": "Brooks Mershon and Joy Patel"
},
"main": "build/scissors.js",
"jsnext:main": "index",
"repository": {
"type": "git",
"url": "https://github.com/scissors.git"
},
"scripts": {
"pretest": "rm -rf build && mkdir build && json2module package.json > build/package.js && rollup -f umd -g d3-polygon:d3,d3-array:d3,earcut:earcut -n scissors -o build/scissors.js -- index.js",
"prepublish": "npm run test && uglifyjs build/scissors.js -c -m -o build/scissors.min.js",
"test": "tape 'test/**/*-test.js' && eslint index.js src"
},
"dependencies": {
"d3-array": "^1.0.0",
"d3-polygon": "^1.0.0"
},
"devDependencies": {
"json2module": "0.0",
"rollup": "0.25",
"tape": "4",
"uglify-js": "2",
"eslint": "^3.0.0"
}
}