-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.3 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 4.3 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
101
102
103
104
{
"author": "Enonic",
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties"
]
},
"contributors": [
"Espen Norderud",
"Christian Andreas Westgaard <cwe@enonic.com>",
"Pavel Milkevich <pmi@enonic.com>"
],
"dependencies": {
"@enonic/js-utils": "^1.9.0"
},
"description": "XP serverside runtime, handles the bulk of the React4xp work: server-side rendering, and handling and serving of client-side components and dependency chunks to the client, including the React4xp front-end rendering wrapper itself.\"",
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/preset-env": "^7.29.5",
"@enonic-types/core": "^8.0.0-B4",
"@enonic-types/global": "^8.0.0-B4",
"@enonic-types/lib-content": "^8.0.0-B4",
"@enonic-types/lib-context": "^8.0.0-B4",
"@enonic-types/lib-io": "^8.0.0-B4",
"@enonic-types/lib-portal": "^8.0.0-B4",
"@enonic/mock-xp": "^1.1.0-B4",
"@enonic/react-components": "^7.0.0-B1",
"@enonic/react4xp": "6.1.0",
"@jest/globals": "^30.2.0",
"@jest/types": "^30.4.1",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.2",
"@rollup/plugin-node-resolve": "^16.0.3",
"@sinonjs/text-encoding": "^0.7.3",
"@swc/core": "^1.15.33",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.14",
"@typescript-eslint/eslint-plugin": "^8.59.4",
"@typescript-eslint/parser": "^8.59.2",
"bun": "^1.3.14",
"concurrently": "^9.2.1",
"core-js": "3.49.0",
"eslint": "^10.4.0",
"eslint-formatter-pretty": "^7.1.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"make-dir-cli": "^4.0.0",
"properties-reader": "^2.3.0",
"rimraf": "^6.1.3",
"rollup": "^4.60.4",
"rollup-plugin-esbuild": "^6.2.1",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"main": "src/main/resources/lib/enonic/react4xp/index.es6",
"name": "lib-react4xp",
"keywords": [
"React4xp",
"Enonic",
"XP",
"React"
],
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "concurrently -c auto -g --timings npm:rollup:nodePolyfills npm:tsup:server npm:build:types",
"build:types": "tsc -p types/tsconfig.types.json && bun types/process.ts",
"check:types": "concurrently -c auto -g --timings npm:check:types:*",
"check:types:graal": "npx tsc --noEmit -p tsconfig.graal.json",
"check:types:nashorn": "npx tsc --noEmit -p tsconfig.nashorn.json",
"clean": "rimraf build",
"cleanAll": "rimraf build node_modules && ./gradlew clean --refresh-dependencies --info",
"cov": "deno coverage build/deno/coverage",
"lcov": "make-dir coverage && deno coverage build/deno/coverage --lcov --output=coverage/lcov.info",
"dev": "npm run clean && npm run local:watch",
"jest": "npx jest",
"lint": "npx eslint --format=pretty src/main/resources/**/*.ts",
"local": "./gradlew publishToMavenLocal -P development --info",
"local:watch": "./gradlew publishToMavenLocal -P development --info -t",
"install:nsi": "nsi",
"precov": "npm run test",
"postcov": "npm run lcov",
"reinstall": "npm run clean && npm run local",
"build:react-test-bundle": "esbuild src/test/js/react-bundle-entry.js --bundle --format=iife --platform=neutral --define:process.env.NODE_ENV=\\\"production\\\" --outfile=build/resources/test/test-fixtures/react-bundle.js",
"build:react-server-browser-test-bundle": "esbuild src/test/js/react-bundle-server-browser-entry.js --bundle --format=iife --platform=neutral --define:process.env.NODE_ENV=\\\"production\\\" --outfile=build/resources/test/test-fixtures/react-bundle-server-browser.js",
"rollup:nodePolyfills": "npx rollup --config rollup.config.nodePolyfills.mjs",
"test": "npm run test:jest && npm run test:deno",
"test:deno": "deno test --coverage=build/deno/coverage --env-file=src/deno/.env --importmap=src/deno/importmap.json --no-check src/deno/**/*.test.ts",
"test:jest": "npx jest",
"tsup:server": "npx tsup -d build/resources/main"
},
"engines": {
"node": ">= 24.15.0",
"npm": ">= 10.9.2"
}
}