Glen Whitney
67a07e2000
Add the civet and typescript compilers, implement a build step, provide examples of using from es6, script, and command line. Of course, there is no actual behavior produced; convert always produces 'foo' at the moment.
34 lines
758 B
Plaintext
34 lines
758 B
Plaintext
{
|
|
name: 'vrml1to97',
|
|
version: '0.0.1',
|
|
description: 'JavaScript converter from VRML 1 to VRML97',
|
|
scripts: {
|
|
test: 'echo "Error: no test specified" && exit 1',
|
|
build_ts: 'civet -c -o build/.ts src/*civet',
|
|
build_js: 'tsc',
|
|
build_etc: 'cp etc/*.js* dist',
|
|
build: 'pnpm --sequential /build_/',
|
|
try: 'pnpm build && node dist/example.js',
|
|
},
|
|
keywords: [
|
|
'javascript',
|
|
'vrml',
|
|
'VRML97',
|
|
'wrl',
|
|
],
|
|
author: 'Glen Whitney',
|
|
license: 'MIT',
|
|
repository: {
|
|
type: 'git',
|
|
url: 'https://code.studioinfinity.org/glen/vrml1to97.git',
|
|
},
|
|
bin: {
|
|
vrml1to97: 'dist/vrml1to97.js',
|
|
},
|
|
devDependencies: {
|
|
'@danielx/civet': '^0.6.26',
|
|
'http-server': '^14.1.1',
|
|
typescript: '^5.2.2',
|
|
},
|
|
}
|