2019-11-23 15:54:44 -05:00
|
|
|
{
|
|
|
|
"name": "dyna3",
|
2019-12-11 13:21:01 -05:00
|
|
|
"version": "0.1.1",
|
2019-11-23 15:54:44 -05:00
|
|
|
"description": "Constraint-based three-dimensional dynamic geometry",
|
2019-12-11 12:07:43 -05:00
|
|
|
"private": "true",
|
2019-11-23 15:54:44 -05:00
|
|
|
"main": "dyna3.js",
|
|
|
|
"scripts": {
|
2019-12-11 13:20:31 -05:00
|
|
|
"clean": "rm -rf site docbuild tmpproj __tests__ dyna3.zip coverage",
|
2019-12-11 12:07:43 -05:00
|
|
|
"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",
|
2019-12-09 20:52:42 -05:00
|
|
|
"doc": "npm run doc:extra && npm run doc:collate",
|
2019-12-09 12:08:05 -05:00
|
|
|
"prebuild": "npm run clean",
|
|
|
|
"build:coffee": "coffee -o site -c -m src/*.litcoffee",
|
2019-12-11 12:07:43 -05:00
|
|
|
"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",
|
2019-12-11 13:20:31 -05:00
|
|
|
"build:copy": "mkdir -p site && rm -rf tmpproj && cp src/*.html site && mkdir tmpproj && rsync -av . tmpproj --exclude tmpproj --exclude node_modules && cd tmpproj && npm install --production && cp -r node_modules ../site && cd ..",
|
2019-12-11 12:07:43 -05:00
|
|
|
"build": "npm run build:coffee && npm run build:ext && npm run build:doc && npm run build:copy",
|
|
|
|
"dist": "npm run build && zip -r dyna3.zip site",
|
|
|
|
"pretest": "npm run build && coffee -o __tests__ -c -m coffeetest/*.coffee",
|
|
|
|
"test": "ava"
|
2019-11-23 15:54:44 -05:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
},
|
2019-12-11 12:07:43 -05:00
|
|
|
"//": "See doc/tech.md for an overview of the technical structure of dyna3",
|
|
|
|
"devDependencies": {
|
|
|
|
"ava": "^2.4.0",
|
|
|
|
"esm": "^3.2.25"
|
|
|
|
},
|
|
|
|
"ava": {
|
|
|
|
"require": [
|
|
|
|
"esm"
|
|
|
|
]
|
|
|
|
}
|
2019-11-23 15:54:44 -05:00
|
|
|
}
|