@craft-native/craft 0.0.5

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.
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@craft-native/craft",
3
+ "version": "0.0.5",
4
+ "type": "module",
5
+ "description": "Build desktop apps with web languages - TypeScript SDK for Craft",
6
+ "author": "Chris Breuer <chris@stacksjs.org>",
7
+ "license": "MIT",
8
+ "homepage": "https://github.com/stacksjs/craft#readme",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/stacksjs/craft.git",
12
+ "directory": "packages/typescript"
13
+ },
14
+ "bugs": {
15
+ "url": "https://github.com/stacksjs/craft/issues"
16
+ },
17
+ "keywords": [
18
+ "desktop",
19
+ "app",
20
+ "framework",
21
+ "webview",
22
+ "zig",
23
+ "native",
24
+ "cross-platform",
25
+ "electron-alternative",
26
+ "tauri-alternative",
27
+ "gui",
28
+ "typescript",
29
+ "bun"
30
+ ],
31
+ "exports": {
32
+ ".": {
33
+ "import": "./dist/index.js",
34
+ "types": "./dist/index.d.ts"
35
+ }
36
+ },
37
+ "module": "./dist/index.js",
38
+ "types": "./dist/index.d.ts",
39
+ "files": [
40
+ "bin",
41
+ "dist",
42
+ "README.md",
43
+ "LICENSE.md"
44
+ ],
45
+ "bin": {
46
+ "craft-sdk": "./bin/cli.ts"
47
+ },
48
+ "scripts": {
49
+ "build": "bun run build:lib && bun run build:types",
50
+ "build:lib": "bun build src/index.ts --outdir dist --format esm --target bun --external archiver && bun build src/index.ts --outdir dist --format cjs --target node --outfile index.cjs --external archiver",
51
+ "build:types": "bun run tsc --emitDeclarationOnly --declaration --declarationMap",
52
+ "dev": "bun --watch src/index.ts",
53
+ "lint": "bunx --bun pickier lint . --config ../../pickier.config.ts --max-warnings 9999",
54
+ "lint:fix": "bunx --bun pickier lint . --fix --config ../../pickier.config.ts --max-warnings 9999",
55
+ "test": "bun test",
56
+ "typecheck": "tsc --noEmit",
57
+ "prepublishOnly": "bun run build"
58
+ },
59
+ "dependencies": {
60
+ "archiver": "^7.0.1"
61
+ },
62
+ "devDependencies": {
63
+ "@stacksjs/clapp": "^0.2.0",
64
+ "@types/archiver": "^6.0.2",
65
+ "@types/bun": "^1.2.0",
66
+ "@types/node": "^22.0.0",
67
+ "better-dx": "^0.2.6"
68
+ }
69
+ }