2023-08-28 15:33:10 +00:00
|
|
|
{
|
|
|
|
name: 'archematics',
|
|
|
|
version: '0.0.1',
|
|
|
|
description: 'Uncovering lost digital mathematical treasures',
|
|
|
|
scripts: {
|
2023-08-28 16:01:25 +00:00
|
|
|
test: 'echo "Error: no test specified" && exit 1',
|
2023-09-11 01:52:39 +00:00
|
|
|
// 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',
|
2023-09-05 01:50:52 +00:00
|
|
|
build: 'pnpm --sequential /build_/',
|
2023-08-29 01:29:08 +00:00
|
|
|
start: 'node public/js',
|
2023-08-28 16:01:25 +00:00
|
|
|
go: 'pnpm --sequential "/build|start/"',
|
2023-08-29 01:29:08 +00:00
|
|
|
serve: 'pnpm build && http-server',
|
2023-09-11 01:52:39 +00:00
|
|
|
clean: 'rm -rf tsbuild jsbuild public/js',
|
2023-08-28 15:33:10 +00:00
|
|
|
},
|
|
|
|
packageManager: 'pnpm',
|
2023-08-28 16:01:25 +00:00
|
|
|
keywords: [
|
|
|
|
'math',
|
|
|
|
'browser',
|
|
|
|
'plugin',
|
|
|
|
],
|
2023-08-28 15:33:10 +00:00
|
|
|
author: 'Glen Whitney',
|
|
|
|
license: 'MIT',
|
|
|
|
repository: {
|
|
|
|
type: 'git',
|
|
|
|
url: 'https://code.studioinfinity.org/glen/archematics.git',
|
|
|
|
},
|
2023-08-28 16:01:25 +00:00
|
|
|
devDependencies: {
|
2023-09-05 07:32:38 +00:00
|
|
|
'@danielx/civet': '^0.6.31',
|
2023-09-11 01:52:39 +00:00
|
|
|
'@types/jquery': '^3.5.18',
|
2023-08-28 17:31:35 +00:00
|
|
|
'http-server': '^14.1.1',
|
2023-09-11 01:52:39 +00:00
|
|
|
typescript: '^5.2.2',
|
2023-08-28 16:01:25 +00:00
|
|
|
},
|
2023-09-05 01:50:52 +00:00
|
|
|
dependencies: {
|
2023-09-05 07:32:38 +00:00
|
|
|
vrml1to97: '^0.1.3',
|
2023-09-05 01:50:52 +00:00
|
|
|
},
|
2023-08-28 15:33:10 +00:00
|
|
|
}
|