dyna3/package.json

40 lines
1.3 KiB
JSON

{
"name": "dyna3",
"version": "0.1.0",
"description": "Constraint-based three-dimensional dynamic geometry",
"private": "true",
"main": "dyna3.js",
"scripts": {
"clean": "rm -rf site docbuild",
"doc:extra":
"mkdir -p docbuild && coffee src/helpers/pkglock_to_externals.litcoffee --doc > docbuild/extlist.md",
"doc:collate":
"mkdir -p site/doc && coffee doc/gendoc.litcoffee > site/doc/dyna3.md",
"doc": "npm run doc:extra && npm run doc:collate",
"prebuild": "npm run clean",
"build:coffee": "coffee -o site -c -m src/*.litcoffee",
"build:ext":
"coffee src/helpers/pkglock_to_externals.litcoffee > site/externals.js",
"build:doc":
"npm run doc && pandoc -s --toc site/doc/dyna3.md > site/doc/dyna3.html",
"build:copy": "cp src/*.html site && cp -r node_modules site",
"build":
"npm run build:coffee && npm run build:ext && npm run build:doc && npm run build:copy",
"test": "qunit"
},
"repository": {
"type": "git",
"url": "https://code.studioinfinity.org/glen/dyna3.git"
},
"keywords": [
"webgl",
"geometry"
],
"author": "Glen Whitney",
"license": "GPL-3.0-or-later",
"dependencies": {
"three": "latest"
},
"//": "See doc/tech.md for an overview of the technical structure of dyna3"
}