Glen Whitney
4e2375b709
This is a stub/very preliminary implementation of calling JSXGraph for 3D Joyce applets. The only element/construction method implemented so far is a free point. NOTE: This implementation is so far extremely buggy. Loading a page with a 3D applet such as http://aleph0.clarku.edu/~djoyce/java/elements/bookXI/defXI9.html appears to enter a loop in which the div containing the JSXGraph Board progressively grows larger and larger, while using a tremendous amount of cpu.
54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
{
|
|
name: 'archematics',
|
|
version: '0.5.2',
|
|
description: 'Uncovering lost digital mathematical treasures',
|
|
scripts: {
|
|
test: 'echo "Error: no test specified" && exit 1',
|
|
// Obtain additional source code needed:
|
|
prebuild: 'bash tools/fetchDeps.bash',
|
|
// Use civet to create .ts files from the source...
|
|
build_ts1: 'mkdir -p tsbuild && civet -c -o tsbuild/.ts src/*.civet',
|
|
// ... but also grab other existing files:
|
|
build_ts2: 'cp -r etc/deps tsbuild',
|
|
build_ts3: 'bash tools/copyDeps.bash tsbuild/deps',
|
|
// Use the Typescript compiler to create the final .js files:
|
|
build_js: 'tsc && mkdir -p public/js && cp -r jsbuild/* public/js',
|
|
build_deps: 'bash tools/copyDeps.bash public/js/deps',
|
|
build_plugin: 'bash tools/makePlugin.bash archematicsFull full',
|
|
build_half: 'bash tools/makePlugin.bash archematics wrl',
|
|
build: 'pnpm --sequential /build_/',
|
|
locbuild: 'pnpm --sequential /build_/', // avoids fetch
|
|
start: 'node public/js',
|
|
go: 'pnpm --sequential "/build|start/"',
|
|
serve: 'pnpm build && http-server',
|
|
clean: 'rm -rf tsbuild jsbuild public/js archematics*',
|
|
},
|
|
packageManager: 'pnpm',
|
|
keywords: [
|
|
'math',
|
|
'browser',
|
|
'plugin',
|
|
],
|
|
author: 'Glen Whitney',
|
|
license: 'MIT',
|
|
repository: {
|
|
type: 'git',
|
|
url: 'https://code.studioinfinity.org/glen/archematics.git',
|
|
},
|
|
devDependencies: {
|
|
'@danielx/civet': '^0.7.11',
|
|
'@types/firefox-webext-browser': '^120.0.3',
|
|
'@types/jquery': '^3.5.30',
|
|
'@webcomponents/custom-elements': '^1.6.0',
|
|
'http-server': '^14.1.1',
|
|
rollup: '^4.18.0',
|
|
typescript: '^5.4.5',
|
|
'webextension-polyfill': '^0.12.0',
|
|
},
|
|
dependencies: {
|
|
colorsea: '^1.2.2',
|
|
jsxgraph: '^1.8.0',
|
|
vrml1to97: '^0.4.0',
|
|
},
|
|
}
|