UNPKG

@enonic/react4xp

Version:
118 lines (117 loc) 4.39 kB
{ "author": "Espen Norderud", "bugs": { "url": "https://github.com/enonic/npm-react4xp/issues" }, "contributors": [ "Christian Westgaard", "Pavel Milkevich" ], "dependencies": { "@babel/core": "^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", "cross-env": "^10.0.0", "esbuild-plugin-external-global": "^1.0.1", "esbuild-plugin-manifest": "^1.0.1", "filemanager-webpack-plugin": "^9.0.0", "globby": "^16.0.0", "q-i": "^2", "restrict-imports-loader": "^3.2.6", "tsup": "8.5.1", "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": "^25.0.2", "@types/react": "^19.2.7", "@types/react-dom": "^19.2.3", "@types/webpack-stats-plugin": "^0.3.5", "concurrently": "^9", "css-loader": "^7.1.2", "eslint": "^9.23.0", "html-element": "^2.3.1", "jest": "^30", "jquery": "^3.6.4", "lodash": "^4.17.21", "rimraf": "^6.0.1", "sass": "^1.97.0", "sass-loader": "^16.0.6", "stylus": "^0.64.0", "stylus-loader": "^8.1.2", "ts-jest": "^29", "ts-node": "^10.9.2", "typescript": "^5.8.2", "typescript-eslint": "^8.0.0" }, "engines": { "node": ">= 22.15.1", "npm": ">= 10.9.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.7.0" }, "peerDependencies": { "@babel/plugin-transform-class-properties": "^7", "html-react-parser": "^5", "react": "^19", "react-dom": "^19" }, "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.1.0" }