Glen Whitney
c9e53b7152
This commit adds pnpm scripts for compiling and running the typocomath package, and a convenience script `pnpm go` that does both in succession. It also configure pnpm to use a shell emulator so that it should work on Windows as well. Finally, it changes the directory for object files from obj to build. Resolves #9.
30 lines
740 B
Plaintext
30 lines
740 B
Plaintext
{
|
|
name: 'typocomath',
|
|
version: '0.0.1',
|
|
description: 'A hopeful final typescipt-pragmatic mathjs proof-of-concept',
|
|
main: 'index.ts',
|
|
scripts: {
|
|
test: 'echo "Error: no test specified" && exit 1',
|
|
build: 'tsc && cp etc/package.json build',
|
|
exec: 'node build',
|
|
go: 'pnpm --sequential "/build|exec/"',
|
|
},
|
|
packageManager: 'pnpm',
|
|
keywords: [
|
|
'math',
|
|
'algebra',
|
|
'typescript',
|
|
],
|
|
author: 'Jos de Jong and Glen Whitney',
|
|
license: 'Apache 2.0',
|
|
repository: {
|
|
type: 'git',
|
|
url: 'https://code.studioinfinity.org/glen/typocomath.git',
|
|
},
|
|
devDependencies: {
|
|
'@types/node': '^20.5.0',
|
|
'source-map': '^0.7.4',
|
|
typescript: '^5.1.6',
|
|
},
|
|
}
|