-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.33 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.33 KB
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
{
"name": "devvit-state",
"version": "0.3.0",
"description": "Atomic, versioned state sync for Devvit apps.",
"license": "BSD-3-Clause",
"type": "module",
"sideEffects": false,
"homepage": "https://github.com/foreverest/devvit-state#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/foreverest/devvit-state.git"
},
"bugs": {
"url": "https://github.com/foreverest/devvit-state/issues"
},
"keywords": [
"devvit",
"reddit",
"state",
"atomic",
"realtime",
"redis",
"sync",
"zod"
],
"files": [
"dist",
"README.md",
"LICENSE",
"package.json"
],
"exports": {
"./server": {
"types": "./dist/server/index.d.ts",
"import": "./dist/server/index.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.js"
},
"./shared": {
"types": "./dist/shared/index.d.ts",
"import": "./dist/shared/index.js"
},
"./package.json": "./package.json"
},
"types": "./dist/shared/index.d.ts",
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.shared.json && tsc -p tsconfig.build.server.json && tsc -p tsconfig.build.client.json",
"ci": "npm run type-check && npm run lint && npm run test && npm run build && npm run test:consumer && npm run pack:dry-run",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"pack:dry-run": "npm pack --dry-run --cache .npm-cache",
"prepublishOnly": "npm run ci",
"prettier": "prettier --write .",
"test": "vitest run --config vitest.config.ts",
"test:consumer": "npm run build && tsc -p test/consumer/tsconfig.json",
"type-check": "tsc -p tsconfig.shared.json --noEmit && tsc -p tsconfig.server.json --noEmit && tsc -p tsconfig.client.json --noEmit"
},
"peerDependencies": {
"@devvit/web": ">=0.12.0-0 <0.13.0",
"zod": "^4.0.0"
},
"devDependencies": {
"@devvit/test": "0.12.22-next-2026-04-29-22-14-53-959af9a1c.0",
"@devvit/web": "0.12.22-next-2026-04-29-22-14-53-959af9a1c.0",
"@eslint/js": "9.39.2",
"@types/node": "^22.19.7",
"eslint": "9.39.2",
"globals": "17.2.0",
"prettier": "3.8.1",
"typescript": "5.8.3",
"typescript-eslint": "8.54.0",
"vitest": "^4.1.5",
"zod": "^4.3.6"
},
"engines": {
"node": ">=22.2.0"
},
"publishConfig": {
"access": "public"
}
}