-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
29 lines (29 loc) · 1.14 KB
/
package.json
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
{
"name": "democapsid",
"version": "2.2.2",
"author": "Daniel Antonio Negrón",
"license": "MIT",
"description": "Render viral capsids in the browser and export SVG.",
"type": "module",
"homepage": "https://github.com/dnanto/democapsid",
"repository": {
"type": "git",
"url": "git+https://github.com/dnanto/democapsid.git"
},
"bugs": {
"url": "https://github.com/dnanto/democapsid/issues"
},
"dependencies": {
"paper": "^0.12.18"
},
"devDependencies": {
"terser": "^5.31.6"
},
"scripts": {
"clean": "rm -f democapsid.tar.gz democapsid.zip js/democapsid.min.js",
"minify": "terser --ecma 5 --comments --compress ecma=5 --ie8 --safari10 --timings js/democapsid.js --mangle toplevel --keep-fnames -o js/$npm_package_name.min.js",
"update": "cp node_modules/paper/dist/paper-core.min.js js/lib/paperjs/paper-core.min.js",
"zip": "zip -j $npm_package_name-$npm_package_version.zip js/democapsid.js js/democapsid.min.js",
"tar": "tar cvzf $npm_package_name-$npm_package_version.tar.gz -C js democapsid.js democapsid.min.js"
}
}