File size: 3,225 Bytes
61d39e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
  "name": "puter.com",
  "version": "2.5.1",
  "author": "Puter Technologies Inc.",
  "license": "AGPL-3.0-only",
  "description": "Desktop environment in the browser!",
  "homepage": "https://puter.com",
  "type": "module",
  "main": "exports.js",
  "directories": {
    "lib": "lib"
  },
  "devDependencies": {
    "@eslint/js": "^9.35.0",
    "@playwright/test": "^1.56.1",
    "@stylistic/eslint-plugin": "^5.3.1",
    "@types/mime-types": "^3.0.1",
    "@types/uuid": "^10.0.0",
    "@typescript-eslint/eslint-plugin": "^8.46.1",
    "@typescript-eslint/parser": "^8.46.1",
    "@vitest/coverage-v8": "^4.0.14",
    "@vitest/ui": "^4.0.14",
    "chalk": "^4.1.0",
    "clean-css": "^5.3.2",
    "dotenv": "^16.4.5",
    "eslint": "^9.35.0",
    "eslint-rule-composer": "^0.3.0",
    "express": "^4.18.2",
    "globals": "^15.15.0",
    "html-entities": "^2.3.3",
    "html-webpack-plugin": "^5.6.0",
    "husky": "^9.1.7",
    "license-check-and-add": "^4.0.5",
    "mocha": "^10.6.0",
    "nodemon": "^3.1.0",
    "ts-proto": "^2.8.0",
    "typescript": "^5.4.5",
    "uglify-js": "^3.17.4",
    "vite-plugin-static-copy": "^3.1.3",
    "vitest": "^4.0.14",
    "webpack": "^5.88.2",
    "webpack-cli": "^5.1.1",
    "yaml": "^2.8.1"
  },
  "scripts": {
    "test": "npx vitest run --config=src/backend/vitest.config.ts && node src/backend/tools/test.mjs",
    "test:puterjs-api": "vitest run tests/puterJsApiTests",
    "test:backend": "npm run build:ts; vitest run --config=src/backend/vitest.config.ts",
    "test:backend-coverage": "npm run build:ts; vitest run --config=src/backend/vitest.config.ts",
    "start=gui": "nodemon --exec \"node dev-server.js\" ",
    "start": "node ./tools/run-selfhosted.js",
    "prestart": "npm run build:ts",
    "dev": "npm run build:ts && DEVCONSOLE=1 node ./tools/run-selfhosted.js",
    "build": "npx eslint --quiet -c eslint/mandatory.eslint.config.js src/backend/src extensions && npm run build:ts && cd src/gui && node ./build.js",
    "check-translations": "node tools/check-translations.js",
    "prepare": "husky",
    "build:ts": "tsc -p tsconfig.build.json",
    "gen": "./scripts/gen.sh"
  },
  "workspaces": [
    "src/*",
    "tools/*",
    "experiments/js-parse-and-output"
  ],
  "nodemonConfig": {
    "ext": "js, json, mjs, jsx, svg, css",
    "ignore": [
      "./dist/",
      "./node_modules/"
    ]
  },
  "dependencies": {
    "@anthropic-ai/sdk": "^0.68.0",
    "@aws-sdk/client-secrets-manager": "^3.879.0",
    "@aws-sdk/client-sns": "^3.907.0",
    "@google/genai": "^1.19.0",
    "@heyputer/putility": "^1.0.2",
    "@paralleldrive/cuid2": "^2.2.2",
    "@stylistic/eslint-plugin-js": "^4.4.1",
    "dedent": "^1.5.3",
    "express-xml-bodyparser": "^0.4.1",
    "ioredis": "^5.6.0",
    "javascript-time-ago": "^2.5.11",
    "json-colorizer": "^3.0.1",
    "open": "^10.1.0",
    "parse-domain": "^8.2.2",
    "simple-git": "^3.25.0",
    "string-template": "^1.0.0",
    "uuid": "^9.0.1"
  },
  "optionalDependencies": {
    "sharp": "^0.34.4",
    "sharp-bmp": "^0.1.5",
    "sharp-ico": "^0.1.5"
  },
  "engines": {
    "node": ">=20.19.5"
  }
}