Glen Whitney
e56090cd7e
So far, plugin only handles VRML. But it loads as a temporary plugin in Firefox OK, and it generates viewers as necessary, including overlaying existing images that are links to VRML files.
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
{
|
|
name: 'archematics',
|
|
version: '0.1.0',
|
|
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 extension',
|
|
build: 'pnpm --sequential /build_/',
|
|
start: 'node public/js',
|
|
go: 'pnpm --sequential "/build|start/"',
|
|
serve: 'pnpm build && http-server',
|
|
clean: 'rm -rf tsbuild jsbuild public/js extension',
|
|
},
|
|
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.6.39',
|
|
'@types/firefox-webext-browser': '^111.0.2',
|
|
'@types/jquery': '^3.5.19',
|
|
'http-server': '^14.1.1',
|
|
rollup: '^3.29.3',
|
|
typescript: '^5.2.2',
|
|
},
|
|
dependencies: {
|
|
colorsea: '^1.2.1',
|
|
vrml1to97: '^0.2.2',
|
|
},
|
|
}
|