chore: Set up simple civet build
This commit is contained in:
parent
b9cd84eae3
commit
3a14bb1e89
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,3 +1,9 @@
|
|||||||
|
# Object files
|
||||||
|
obj
|
||||||
|
|
||||||
|
# Editor backups
|
||||||
|
*~
|
||||||
|
|
||||||
# ---> Node
|
# ---> Node
|
||||||
# Logs
|
# Logs
|
||||||
logs
|
logs
|
||||||
|
@ -3,14 +3,24 @@
|
|||||||
version: '0.0.1',
|
version: '0.0.1',
|
||||||
description: 'Uncovering lost digital mathematical treasures',
|
description: 'Uncovering lost digital mathematical treasures',
|
||||||
scripts: {
|
scripts: {
|
||||||
"test": 'echo "Error: no test specified" && exit 1'
|
test: 'echo "Error: no test specified" && exit 1',
|
||||||
|
build: 'civet --js -c src/*.civet -o obj/.js',
|
||||||
|
start: 'node obj',
|
||||||
|
go: 'pnpm --sequential "/build|start/"',
|
||||||
},
|
},
|
||||||
packageManager: 'pnpm',
|
packageManager: 'pnpm',
|
||||||
keywords: ['math', 'browser', 'plugin'],
|
keywords: [
|
||||||
|
'math',
|
||||||
|
'browser',
|
||||||
|
'plugin',
|
||||||
|
],
|
||||||
author: 'Glen Whitney',
|
author: 'Glen Whitney',
|
||||||
license: 'MIT',
|
license: 'MIT',
|
||||||
repository: {
|
repository: {
|
||||||
type: 'git',
|
type: 'git',
|
||||||
url: 'https://code.studioinfinity.org/glen/archematics.git',
|
url: 'https://code.studioinfinity.org/glen/archematics.git',
|
||||||
},
|
},
|
||||||
|
devDependencies: {
|
||||||
|
'@danielx/civet': '^0.6.26',
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
43
pnpm-lock.yaml
Normal file
43
pnpm-lock.yaml
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
lockfileVersion: '6.0'
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: true
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
devDependencies:
|
||||||
|
'@danielx/civet':
|
||||||
|
specifier: ^0.6.26
|
||||||
|
version: 0.6.26
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
/@cspotcode/source-map-support@0.8.1:
|
||||||
|
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/trace-mapping': 0.3.9
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@danielx/civet@0.6.26:
|
||||||
|
resolution: {integrity: sha512-YQKANR9Ow3NvzOZAVjTpiniSRWBjIWW8v6KAgVIlrzd8XBbAP1cyeAaWFXzAqOXylzL0map0gyw2tQO5pQq7bw==}
|
||||||
|
engines: {node: '>=19 || ^18.6.0 || ^16.17.0'}
|
||||||
|
hasBin: true
|
||||||
|
dependencies:
|
||||||
|
'@cspotcode/source-map-support': 0.8.1
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@jridgewell/resolve-uri@3.1.1:
|
||||||
|
resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==}
|
||||||
|
engines: {node: '>=6.0.0'}
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@jridgewell/sourcemap-codec@1.4.15:
|
||||||
|
resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@jridgewell/trace-mapping@0.3.9:
|
||||||
|
resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==}
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/resolve-uri': 3.1.1
|
||||||
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
dev: true
|
4
src/index.civet
Normal file
4
src/index.civet
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
console.log """
|
||||||
|
Hello, world --
|
||||||
|
This is the beginning of something!
|
||||||
|
"""
|
9
src/tsconfig.json
Normal file
9
src/tsconfig.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"strict": true,
|
||||||
|
"lib": ["esnext"],
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"esModuleInterop": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user