-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
122 lines (122 loc) · 3.71 KB
/
package.json
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"author": "Reddit",
"bugs": "https://github.com/reddit/play/issues",
"description": "A little playground for building apps on Reddit.",
"devDependencies": {
"@ampproject/filesize": "4.3.0",
"@codemirror/autocomplete": "6.18.1",
"@codemirror/lang-javascript": "6.2.2",
"@codemirror/language": "6.10.3",
"@codemirror/lint": "6.8.2",
"@codemirror/state": "6.4.1",
"@codemirror/view": "6.34.1",
"@devvit/previews": "0.11.0-next-2024-10-02-5c036f0ef.0",
"@devvit/protos": "0.11.0-next-2024-10-02-5c036f0ef.0",
"@devvit/public-api": "0.11.0-next-2024-10-02-5c036f0ef.0",
"@devvit/runtime-lite": "0.11.0-next-2024-10-02-5c036f0ef.0",
"@devvit/shared-types": "0.11.0-next-2024-10-02-5c036f0ef.0",
"@devvit/ui-renderer": "0.11.0-next-2024-10-02-5c036f0ef.0",
"@esm-bundle/chai": "4.3.4-fix.0",
"@types/jsdom": "21.1.7",
"@types/mocha": "10.0.8",
"@typescript/vfs": "1.6.0",
"@web/dev-server-esbuild": "1.0.2",
"@web/test-runner": "0.19.0",
"@zenfs/archives": "1.0.1",
"@zenfs/core": "1.6.17",
"@zenfs/dom": "1.0.3",
"codemirror": "6.0.1",
"esbuild": "0.24.0",
"idb-keyval": "6.2.1",
"jsdom": "25.0.1",
"lit": "3.1.4",
"lit-analyzer": "2.0.3",
"lz-string": "1.5.0",
"nice-grpc-web": "3.3.4",
"prettier": "3.3.3",
"typescript": "5.4.5",
"vitest": "1.6.0"
},
"engines": {
"node": ">=20"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/play.js"
},
"./pen": {
"types": "./dist/elements/play-pen.d.ts",
"import": "./dist/play-pen.js"
}
},
"files": [
"dist",
"!dist/**/tsconfig.tsbuildinfo"
],
"filesize": {
"dist/play.js": {
"none": "20.4 KB",
"gzip": "3.5 KB"
},
"dist/play-pen.js": {
"none": "26818 KB",
"gzip": "4826 KB"
}
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
],
"pen": [
"./dist/elements/play-pen.d.ts"
]
}
},
"homepage": "https://github.com/reddit/play",
"keywords": [
"devvit",
"playground"
],
"license": "BSD-3-Clause",
"main": "dist/play.js",
"name": "@devvit/play",
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.18.0"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": false,
"jsxSingleQuote": true,
"printWidth": 80,
"proseWrap": "always",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reddit/play.git"
},
"scripts": {
"build": "tools/build.js && tsc --build",
"clean": "rm -rf dist src/bundler/tsd.json",
"format": "npm run formatter -- --write",
"formatter": "prettier --cache --log-level warn './**/*.{css,html,js,json,md,ts,yaml}'",
"preversion": "[ -z \"$(git status -z)\" ]",
"prepublishOnly": "! git symbolic-ref --quiet HEAD || git push --follow-tags origin \"$(git branch --show-current)\"",
"start": "tools/build.js --watch",
"test": "npm run test:format && npm run test:unit && npm run build && npm run test:size && npm run test:types:ui && npm run test:ui",
"test:format": "npm run formatter -- --check",
"test:size": "filesize",
"test:types:ui": "lit-analyzer --maxWarnings=0 --rules.no-invalid-css=off --rules.no-missing-element-type-definition --rules.no-unknown-event --rules.no-unknown-attribute=false --strict",
"test:ui": "wtr --config=tools/web-test-runner.config.js",
"test:unit": "vitest --config=tools/vitest.config.ts run",
"version": "npm test",
"install:npmjs": "npm install --registry=https://registry.npmjs.org"
},
"type": "module",
"types": "dist/index.d.ts",
"version": "0.0.44"
}