@devalade/algolang 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/cli.js +4553 -0
  2. package/dist/index.js +3275 -0
  3. package/package.json +47 -0
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@devalade/algolang",
3
+ "version": "1.0.0",
4
+ "description": "Compilateur AlgoLang — langage de programmation éducatif pour l'algorithmique",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "exports": {
8
+ ".": "./dist/index.js"
9
+ },
10
+ "bin": {
11
+ "algolang": "./dist/cli.js"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "engines": {
17
+ "node": ">=18.0.0"
18
+ },
19
+ "keywords": [
20
+ "algorithmique",
21
+ "algorithme",
22
+ "education",
23
+ "compiler",
24
+ "algolang",
25
+ "french",
26
+ "programmation"
27
+ ],
28
+ "author": "AlgoLang Team",
29
+ "license": "MIT",
30
+ "scripts": {
31
+ "build": "bun build src/cli.ts --outdir dist --outfile=cli.js --target=node && bun build src/index.ts --outdir dist --outfile=index.js --target=node && node -e \"const fs=require('fs');const f='dist/cli.js';fs.writeFileSync(f,'#!/usr/bin/env node\\n'+fs.readFileSync(f,'utf8'))\" && chmod +x dist/cli.js",
32
+ "prepublishOnly": "bun run build",
33
+ "dev": "bun --watch src/index.ts",
34
+ "test": "bun test",
35
+ "lint": "bunx @biomejs/biome check src/",
36
+ "format": "bunx @biomejs/biome format --write src/"
37
+ },
38
+ "devDependencies": {
39
+ "@biomejs/biome": "^1.8.3",
40
+ "@types/bun": "latest",
41
+ "typescript": "^5.5.4"
42
+ },
43
+ "dependencies": {
44
+ "chalk": "^5.6.2",
45
+ "commander": "^14.0.2"
46
+ }
47
+ }