-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 2.85 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
{
"name": "reflex-dom",
"type": "module",
"version": "0.25.3",
"description": "Reflex is a tiny and fast reactive UI library.",
"author": "Alexis Bouhet (ZoulouX)",
"license": "MIT",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"unpkg": "./dist/reflex.es2017.min.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.mjs",
"./hmr-plugin": "./dist/hmr-plugin.mjs",
"./hmr-runtime": "./dist/hmr-runtime.mjs",
"./debug": "./dist/debug.mjs",
"./render-to-string": "./dist/render-to-string.mjs",
"./performance-helpers": "./dist/performance-helpers.mjs"
},
"typesVersions": {
"*": {
"hmr-plugin": [
"dist/hmr-plugin.d.ts"
],
"hmr-runtime": [
"dist/hmr-runtime.d.ts"
],
"debug": [
"dist/debug.d.ts"
],
"render-to-string": [
"dist/render-to-string.d.ts"
],
"performance-helpers": [
"dist/performance-helpers.d.ts"
]
}
},
"scripts": {
"reset": "rm -rf node_modules package-lock.json && npm i",
"clean": "rm -rf ./dist/*",
"build": "npm run clean --silent && tsbundle build",
"docs": "static-http docs/api/",
"dev": "cd reflex-dev && npm run dev --silent",
"dev-build": "cd reflex-dev && npm run build",
"learn": "cd reflex-learn && npm run build --silent",
"learn-dev": "cd reflex-learn && npm run dev --silent",
"__publish": "npm run clean --silent && npm run learn --silent && tsbundle publish",
"publish": "npm run clean --silent && tsbundle publish",
"deopt-build": "rm -rf ./deopt/dist ./v8-deopt-viewer && esbuild deopt/src/index.tsx --bundle --outfile=deopt/dist/index.js",
"deopt-run": "v8-deopt-viewer deopt/dist/index.js -o ./deopt/v8-deopt-viewer && npx @zouloux/static-http ./deopt/v8-deopt-viewer",
"deopt": "npm run deopt-build && npm run deopt-run"
},
"devDependencies": {
"@zouloux/static-http": "^1.0.1",
"@zouloux/store": "^0.1.2",
"@zouloux/tsbundle": "^1.5.1",
"esbuild": "^0.19.5",
"typescript": "^4.9.5",
"v8-deopt-viewer": "^0.3.0",
"vite": "^5.1.5"
},
"tsbundle": {
"exportMap": {
"Reflex": "./index"
},
"output": "./dist",
"formats": [
"es2020.mjs"
],
"files": [
{
"input": "./src/index.ts",
"formats": [
"es2017.min.js",
"es2020.min.js",
"es2022.min.js"
],
"outName": "reflex",
"exportBits": true
},
{
"input": "./src/index.ts"
},
{
"input": "./src/debug.ts"
},
{
"input": "./src/render-to-string.ts",
"filterGlob": "render-to-string.*",
"exportBits": true
},
{
"input": "./src/hmr-plugin.ts",
"outName": "hmr-plugin",
"filterGlob": "hmr-plugin.*"
},
{
"input": "./src/hmr-runtime.ts",
"outName": "hmr-runtime",
"filterGlob": "hmr-runtime.*"
},
{
"input": "./src/performance-helpers.ts",
"outName": "performance-helpers",
"filterGlob": "performance-helpers.*",
"exportBits": true
}
]
}
}