File size: 1,721 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
{
    "name": "@heyputer/puter.js",
    "version": "2.2.0",
    "description": "Puter.js - A JavaScript library for interacting with Puter services.",
    "homepage": "https://developer.puter.com",
    "main": "src/index.js",
    "types": "./index.d.ts",
    "typings": "./index.d.ts",
    "type": "module",
    "files": [
        "dist/puter.cjs",
        "src/",
        "types/",
        "index.d.ts"
    ],
    "publishConfig": {
        "registry": "https://registry.npmjs.org/"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/HeyPuter/puter.git",
        "directory": "src/puter-js"
    },
    "keywords": [
        "puter",
        "puter.js",
        "puterjs"
    ],
    "scripts": {
        "start-server": "npx http-server --cors -c-1",
        "start-webpack": "webpack --stats=errors-only && webpack --output-filename puter.dev.js --watch --devtool source-map --stats=errors-only",
        "start": "concurrently \"npm run start-server\" \"npm run start-webpack\"",
        "test": "npx http-server --cors -c-1 -o /test",
        "build": "webpack && { echo \"// Copyright 2024-present Puter Technologies Inc. All rights reserved.\"; echo \"// Generated on $(date '+%Y-%m-%d %H:%M')\n\"; cat ./dist/puter.js; } > temp && mv temp ./dist/puter.js",
        "prepublishOnly": "npm run build && mv dist/puter.js dist/puter.cjs && npm version patch"
    },
    "author": "Puter Technologies Inc.",
    "license": "Apache-2.0",
    "devDependencies": {
        "concurrently": "^8.2.2",
        "http-server": "^14.1.1",
        "webpack-cli": "^5.1.4"
    },
    "dependencies": {
        "@heyputer/kv.js": "^0.2.1"
    }
}