-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 3.26 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 3.26 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "rvx",
"description": "A signal based rendering library",
"homepage": "https://mxjp.github.io/rvx",
"repository": {
"type": "git",
"url": "git+https://github.com/mxjp/rvx.git"
},
"keywords": [
"declarative",
"jsx",
"low-level",
"no-build",
"reactive",
"signals",
"synchronous",
"web-components"
],
"license": "MIT",
"version": "25.0.0",
"type": "module",
"main": "./dist/es/core/index.js",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/es/core/index.d.ts",
"default": "./dist/es/core/index.js"
},
"./jsx": {
"types": "./dist/es/core/jsx/legacy.d.ts",
"default": "./dist/es/core/jsx/legacy.js"
},
"./jsx-runtime": {
"types": "./dist/es/core/jsx/r17.d.ts",
"default": "./dist/es/core/jsx/r17.js"
},
"./jsx-dev-runtime": {
"types": "./dist/es/core/jsx/r17.d.ts",
"default": "./dist/es/core/jsx/r17.js"
},
"./async": {
"types": "./dist/es/async/index.d.ts",
"default": "./dist/es/async/index.js"
},
"./convert": {
"types": "./dist/es/convert/index.d.ts",
"default": "./dist/es/convert/index.js"
},
"./dom": {
"types": "./dist/es/dom/index.d.ts",
"default": "./dist/es/dom/index.js"
},
"./element": {
"types": "./dist/es/element/index.d.ts",
"default": "./dist/es/element/index.js"
},
"./router": {
"types": "./dist/es/router/index.d.ts",
"default": "./dist/es/router/index.js"
},
"./store": {
"types": "./dist/es/store/index.d.ts",
"default": "./dist/es/store/index.js"
},
"./test": {
"types": "./dist/es/test/index.d.ts",
"default": "./dist/es/test/index.js"
}
},
"scripts": {
"build": "mx-parallel npm:build:es npm:build:types && mx-parallel npm:build:bundles npm:build:tests npm:build:jsx-legacy-runtime-tests",
"build:es": "tsc -p tsconfig-es.json",
"build:types": "tsc -p tsconfig-types.json",
"build:tests": "tsc -p tests/tsconfig.json",
"build:jsx-legacy-runtime-tests": "tsc -p tests/jsx-legacy-runtime/tsconfig.json",
"build:bundles": "node scripts/bundle.js",
"start": "mx-parallel npm:start:*",
"start:es": "tsc -p tsconfig-es.json -w --preserveWatchOutput",
"start:types": "tsc -p tsconfig-types.json -w --preserveWatchOutput",
"start:tests": "tsc -p tests/tsconfig.json -w --preserveWatchOutput",
"start:jsx-legacy-runtime-tests": "tsc -p tests/jsx-legacy-runtime/tsconfig.json -w --preserveWatchOutput",
"test": "npm run test:dom && npm run test:env-jsdom && npm run test:env-jsdom-global && npm run test:env-rvxdom",
"test:dom": "cd tests_out && node --enable-source-maps --test \"dom/**/*.test.js\"",
"test:env-jsdom": "cd tests_out && node --enable-source-maps --import=./env-jsdom.js --test \"!(dom)/**/*.test.js\"",
"test:env-jsdom-global": "cd tests_out && node --enable-source-maps --import=./env-jsdom-global.js --test \"!(dom)/**/*.test.js\"",
"test:env-rvxdom": "cd tests_out && node --enable-source-maps --import=./env-rvxdom.js --test \"!(dom|element)/**/*.test.js\"",
"prepack": "npm run build && npm test && node scripts/prepack.js"
},
"devDependencies": {
"@mxjp/parallel": "^1.0.2",
"@rollup/plugin-terser": "^1.0.0",
"@types/jsdom": "^28.0.1",
"@types/node": "^24.12.0",
"jsdom": "^29.0.1",
"rollup": "^4.60.0",
"rollup-plugin-dts": "^6.4.1",
"rvx": "file:.",
"typescript": "^6.0.2"
}
}