|
1 | 1 | {
|
2 | 2 | "name": "@publicodes/tools",
|
3 |
| - "version": "1.2.5", |
4 |
| - "description": "A set of utility functions to build tools around Publicodes models", |
| 3 | + "version": "1.4.0", |
| 4 | + "description": "A CLI tool for Publicodes", |
5 | 5 | "type": "module",
|
6 |
| - "main": "dist/index.js", |
7 |
| - "scripts": { |
8 |
| - "build": "tsup", |
9 |
| - "watch": "tsup --watch", |
10 |
| - "clean": "rm -rf dist docs", |
11 |
| - "test": "jest", |
12 |
| - "docs": "typedoc", |
13 |
| - "format": "prettier --write .", |
14 |
| - "format:check": "prettier --check ." |
15 |
| - }, |
16 |
| - "engines": { |
17 |
| - "node": ">=17" |
| 6 | + "main": "publicodes-build/index.js", |
| 7 | + "bin": { |
| 8 | + "publicodes": "./bin/run.js" |
18 | 9 | },
|
| 10 | + "files": [ |
| 11 | + "publicodes-build", |
| 12 | + "dist", |
| 13 | + "bin", |
| 14 | + "quick-doc" |
| 15 | + ], |
19 | 16 | "exports": {
|
20 | 17 | ".": {
|
21 | 18 | "import": "./dist/index.js",
|
|
38 | 35 | "types": "./dist/migration/index.d.ts"
|
39 | 36 | }
|
40 | 37 | },
|
41 |
| - "files": [ |
42 |
| - "dist" |
43 |
| - ], |
44 | 38 | "repository": {
|
45 | 39 | "type": "git",
|
46 | 40 | "url": "git+ssh://[email protected]/publicodes/tools.git"
|
|
55 | 49 | ],
|
56 | 50 | "author": "Emile Rolley <[email protected]>",
|
57 | 51 | "license": "MIT",
|
| 52 | + "scripts": { |
| 53 | + "build": "tsup", |
| 54 | + "watch": "tsup --watch", |
| 55 | + "clean": "rm -rf dist docs", |
| 56 | + "test": "vitest run --globals", |
| 57 | + "docs": "typedoc", |
| 58 | + "format": "prettier --write .", |
| 59 | + "format:check": "prettier --check .", |
| 60 | + "compile": "publicodes compile", |
| 61 | + "dev": "publicodes dev" |
| 62 | + }, |
| 63 | + "engines": { |
| 64 | + "node": ">=17" |
| 65 | + }, |
58 | 66 | "dependencies": {
|
| 67 | + "@clack/prompts": "^0.7.0", |
| 68 | + "@oclif/core": "^4.0.23", |
| 69 | + "@publicodes/react-ui": "^1.5.4", |
| 70 | + "@tailwindcss/typography": "^0.5.16", |
| 71 | + "@tailwindcss/vite": "^4.0.0", |
59 | 72 | "@types/node": "^18.11.18",
|
| 73 | + "chalk": "^5.3.0", |
| 74 | + "chokidar": "^4.0.3", |
60 | 75 | "glob": "^10.4.1",
|
61 | 76 | "path": "^0.12.7",
|
62 |
| - "publicodes": "^1.3.3", |
63 |
| - "yaml": "^2.4.5" |
| 77 | + "publicodes": "^1.6.1", |
| 78 | + "react": "^19.0.0", |
| 79 | + "react-dom": "^19.0.0", |
| 80 | + "react-router-dom": "^7.1.3", |
| 81 | + "tailwindcss": "^4.0.0", |
| 82 | + "vite": "^6.0.11", |
| 83 | + "yaml": "^2.7.0" |
64 | 84 | },
|
65 | 85 | "devDependencies": {
|
66 |
| - "@types/jest": "^29.2.5", |
| 86 | + "@oclif/test": "^4.0.9", |
| 87 | + "@types/jest": "^29.5.13", |
| 88 | + "@types/react": "^19.0.8", |
67 | 89 | "docdash": "^2.0.1",
|
68 |
| - "jest": "^29.4.1", |
69 |
| - "prettier": "^3.0.0", |
70 |
| - "ts-jest": "^29.0.4", |
| 90 | + "prettier": "^3.4.2", |
71 | 91 | "ts-node": "^10.9.2",
|
72 | 92 | "tsup": "^8.0.2",
|
73 | 93 | "typedoc": "^0.24.8",
|
74 | 94 | "typedoc-plugin-export-functions": "^1.0.0",
|
75 |
| - "typescript": "^4.9.4" |
| 95 | + "typescript": "^4.9.4", |
| 96 | + "vitest": "^2.1.2" |
76 | 97 | },
|
77 | 98 | "tsup": {
|
78 | 99 | "entry": [
|
79 | 100 | "src/index.ts",
|
80 | 101 | "src/optims/index.ts",
|
81 | 102 | "src/compilation/index.ts",
|
82 |
| - "src/migration/index.ts" |
| 103 | + "src/migration/index.ts", |
| 104 | + "src/commands" |
83 | 105 | ],
|
84 | 106 | "format": [
|
85 | 107 | "cjs",
|
|
90 | 112 | "clean": true,
|
91 | 113 | "cjsInterop": true
|
92 | 114 | },
|
| 115 | + "oclif": { |
| 116 | + "bin": "publicodes", |
| 117 | + "commands": "./dist/commands", |
| 118 | + "dirname": "publicodes", |
| 119 | + "topicSeparator": ":" |
| 120 | + }, |
93 | 121 | "publishConfig": {
|
94 | 122 | "access": "public"
|
| 123 | + }, |
| 124 | + "packageManager": "[email protected]+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447", |
| 125 | + "types": "publicodes-build/index.d.ts", |
| 126 | + "peerDependencies": { |
| 127 | + "publicodes": "^1.5.1" |
95 | 128 | }
|
96 | 129 | }
|
0 commit comments