Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Lar committed Nov 3, 2024
0 parents commit 6e262f5
Show file tree
Hide file tree
Showing 7 changed files with 651 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependency directories
/node_modules/

# Optional npm cache directory
.npm

# dotenv environment variables file
.env

# Source
.vscode
dist
**/*.css
!*.config.js
!**/*-*.js
!**/*.index.bundle.js
!**/*-*.css
service-worker.js
!*.index.bundle.js
*.data
lib/

# Other
docs/
.docs
.nyc_output
demo/
notes
2 changes: 2 additions & 0 deletions bin/jslox
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require("../lib/index.js");
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "jslox",
"version": "0.0.1",
"description": "TypeScript Implementation of the Lox language interpreter",
"main": "./lib/index.js",
"bin": {
"jslox": "bin/ucv"
},
"scripts": {
"start": "pnpm run build && pnpm run global",
"build": "pnpm run clean:some && tsc -p .",
"global": "pnpm i -g && jslox",
"clean:some": "rmdir -rf ./lib ./docs",
"clean:all": "rmdir -rf ./node_modules ./package-lock.json ./lib ./docs",
"refresh": "pnpm run clean:all && pnpm install",
"docs": "typedoc --out docs ./src"
},
"keywords": [],
"author": "Alexander Larin",
"license": "ISC",
"devDependencies": {
"@types/node": "^22.8.7",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typedoc": "^0.26.11",
"typescript": "^5.6.3"
}
}
Loading

0 comments on commit 6e262f5

Please sign in to comment.