@enonic/react4xp
Version:
Build tools for React4xp
137 lines (136 loc) • 5.04 kB
JSON
{
"author": "Espen Norderud",
"bugs": {
"url": "https://github.com/enonic/npm-react4xp/issues"
},
"contributors": [
"Christian Westgaard",
"Pavel Milkevich"
],
"dependencies": {
"@babel/cli": "^7",
"@babel/core": "^7",
"@babel/plugin-proposal-object-rest-spread": "^7",
"@babel/plugin-transform-arrow-functions": "^7",
"@babel/plugin-transform-block-scoping": "^7",
"@babel/plugin-transform-typeof-symbol": "^7",
"@babel/preset-env": "^7",
"@babel/preset-react": "^7",
"@babel/preset-typescript": "^7",
"@babel/register": "^7",
"@rspack/cli": "^1",
"@rspack/core": "^1",
"@swc/core": "^1.3.42",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"chunks-2-json-webpack-plugin": "^1",
"core-js": "^3",
"cross-env": "^10.0.0",
"deep-freeze": "^0.0.1",
"es6-set-and-map": "^1",
"esbuild-plugin-external-global": "^1.0.1",
"esbuild-plugin-manifest": "^1.0.1",
"filemanager-webpack-plugin": "8.0.0",
"globby": "^14.0.2",
"prop-types": "^15",
"properties": "^1.2.1",
"q-i": "^2",
"restrict-imports-loader": "^3.2.6",
"stats-webpack-plugin": "^0.7.0",
"tsup": "8.5.0",
"webpack-stats-plugin": "^1.1.1"
},
"description": "Build tools for React4xp",
"devDependencies": {
"@eslint/js": "^9.1.1",
"@jest/globals": "^30",
"@mui/material": "^7.0.1",
"@types/lodash": "^4.14.192",
"@types/node": "^24.0.1",
"@types/react": "^19.1.6",
"@types/react-dom": "^19.1.5",
"@types/webpack-stats-plugin": "^0.3.5",
"chai-files": "^1.4.0",
"concurrently": "^9",
"css-loader": "^7",
"dayjs": "^1.11.7",
"eslint": "^9.23.0",
"html-element": "^2.3.1",
"jest": "^30",
"jest-environment-jsdom": "^30.0.0",
"jquery": "^3.6.4",
"lodash": "^4.17.21",
"path-exists-cli": "^2",
"rimraf": "^6.0.1",
"sass": "^1",
"sass-loader": "^16",
"stylus": "^0.64.0",
"stylus-loader": "^8.0.0",
"ts-jest": "^29",
"ts-node": "^10",
"typescript": "^5.8.2",
"typescript-eslint": "^8.0.0"
},
"engines": {
"node": ">= 20.13.1",
"npm": ">= 10.5.2"
},
"files": [
"app.cfg",
"dist/**/*.js",
"examples/*",
"src/**/*.ts",
"LICENSE",
"README*.md",
"tsconfig*.json",
"tsup.config.*.ts"
],
"homepage": "https://github.com/enonic/npm-react4xp#readme",
"keywords": [
"React4xp",
"Enonic",
"XP",
"React"
],
"license": "Apache-2.0",
"main": "dist/index.js",
"name": "@enonic/react4xp",
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "*",
"@rspack/binding-linux-x64-gnu": "1.4.11"
},
"peerDependencies": {
"@babel/plugin-transform-class-properties": "^7",
"html-react-parser": "*",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:enonic/npm-react4xp.git"
},
"scripts": {
"build": "tsup",
"build:react4xp": "npm run tsup:client && npm run webpack:components && npm run tsup:executor && npm run webpack:globals && npm run webpack:nashornPolyfills",
"build:test:client": "cross-env-shell R4X_APP_NAME=com.enonic.app.whatever R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD/test/components NODE_ENV=development npm run tsup:client",
"build:test:components": "cross-env-shell NODE_ENV=development R4X_APP_NAME=com.enonic.app.whatever R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD/test/components npm run webpack:components",
"build:test:executor": "cross-env-shell R4X_APP_NAME=com.enonic.app.whatever R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD/test/components npm run tsup:executor",
"build:test:globals": "cross-env-shell R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD/test/components npm run webpack:globals",
"build:test:nashornPolyfills": "cross-env-shell R4X_DIR_PATH_ABSOLUTE_PROJECT=$INIT_CWD/test/nashornPolyfills npm run webpack:nashornPolyfills",
"clean": "rimraf bin build coverage dist test/caseCollision/build test/components/build test/constants/build test/constants/output test/nashornPolyfills/build test/importRestrictions/build",
"lint": "eslint",
"prebuild": "npm run clean",
"prepack": "npm run test",
"prepublishOnly": "node setversion.cjs",
"pretest": "npm run build && concurrently -c auto -g --timings npm:build:test:*",
"test": "jest --no-cache --coverage",
"tsup:client": "npx tsup --config tsup.config.client.ts",
"tsup:executor": "npx tsup --config tsup.config.executor.ts",
"webpack:components": "cross-env TS_NODE_PROJECT=\"tsconfig.browserAndGraalJS.json\" rspack --config dist/webpack.config.components.js",
"webpack:globals": "cross-env TS_NODE_PROJECT=\"tsconfig.browserAndGraalJS.json\" rspack --config dist/webpack.config.globals.js",
"webpack:nashornPolyfills": "cross-env TS_NODE_PROJECT=\"tsconfig.browserAndGraalJS.json\" rspack --config dist/webpack.config.nashornPolyfills.js"
},
"version": "6.0.0-B9"
}