UNPKG

k2hr3-app

Version:

K2HR3 Web Application is K2hdkc based Resource and Roles and policy Rules

197 lines (196 loc) 10.3 kB
{ "name": "k2hr3-app", "version": "1.0.43", "dependencies": { "@emotion/react": "^11.14.0", "@emotion/styled": "^11.14.1", "@mui/icons-material": "^9.0.1", "@mui/material": "^9.0.1", "ajv": "^8.20.0", "body-parser": "^2.2.2", "config": "^4.4.1", "cookie-parser": "^1.4.7", "debug": "^4.4.3", "ejs": "^5.0.2", "express": "^5.2.1", "express-session": "^1.19.0", "jose": "^6.2.3", "morgan": "^1.10.1", "openid-client": "^6.8.4", "passport": "^0.7.0", "prop-types": "^15.8.1", "react": "^19.2.6", "react-dom": "^19.2.6", "react-transition-group": "^4.4.5", "rotating-file-stream": "^3.2.9", "serve-favicon": "^2.5.1", "whatwg-fetch": "^3.6.20" }, "bin": { "k2hr3-app": "./bin/www", "k2hr3-build-all-licenses": "./bin/build_all_licenses" }, "description": "K2HR3 Web Application is K2hdkc based Resource and Roles and policy Rules", "main": "app.js", "directories": { "bin": "bin", "config": "config", "public": "public", "routes": "routes", "src": "src", "test": "test", "views": "views" }, "devDependencies": { "@babel/core": "^7.29.0", "@babel/eslint-parser": "^7.28.6", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.29.0", "@babel/plugin-proposal-private-property-in-object": "^7.21.11", "@babel/preset-env": "^7.29.5", "@babel/preset-react": "^7.28.5", "babel-jest": "^30.4.1", "babel-loader": "^10.1.1", "css-loader": "^7.1.4", "eslint": "^9.39.4", "eslint-plugin-react": "^7.37.5", "globals": "^17.6.0", "jest": "^30.4.1", "jest-environment-jsdom": "^30.4.1", "license-checker": "^25.0.1", "react-test-context-provider": "^2.2.0", "react-test-renderer": "^19.2.6", "style-loader": "^4.0.0", "webpack": "^5.106.2", "webpack-cli": "^7.0.2" }, "browser": { "crypto": false }, "scripts": { "help": "echo 'command list:\n npm run build\n npm run build:dbg\n npm run build:all\n npm run build:all:dbg\n npm run build:webpack\n npm run build:webpack:dbg\n npm run build:license\n npm run build:versionfile\n npm run deploy\n npm run clean\n npm run start\n npm run start:prod\n npm run start:production\n npm run start:prod:dbg\n npm run start:prod:debug\n npm run start:prod:debug:break\n npm run start:prod:debug:nobreak\n npm run start:dev\n npm run start:develop\n npm run start:dev:dbg\n npm run start:dev:debug\n npm run start:dev:debug:break\n npm run start:dev:debug:nobreak\n npm run stop\n npm run test\n npm run test:all\n npm run test:lint\n npm run test:jest\n npm run test:jest:run\n npm run test:jest:update\n npm run test:jest:watch\n'", "build": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build' && npm run build:all && echo '-> [DONE] build\n'", "build:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:dbg' && npm run build:all:dbg && echo '-> [DONE] build:dbg\n'", "build:all": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:all' && npm run build:license && npm run build:versionfile && npm run build:webpack && echo '-> [DONE] build:all\n'", "build:all:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:all:dbg' && npm run build:license && npm run build:versionfile && npm run build:webpack:dbg && echo '-> [DONE] build:all:dbg\n'", "build:webpack": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:webpack' && webpack --config webpack.config.js --progress --mode production && echo '-> [DONE] build:webpack\n'", "build:webpack:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:webpack:dbg' && NODE_ENV=development webpack --config webpack.config.js --progress --mode development && echo '-> [DONE] build:webpack:dbg\n'", "build:license": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:license' && bin/build_all_licenses && echo '-> [DONE] build:license\n'", "build:versionfile": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] build:versionfile' && bin/build_version_file.sh && echo '-> [DONE] build:versionfile\n'", "deploy": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] deploy' && demo/demo_deploy.sh && echo '-> [DONE] deploy\n'", "clean": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] clean' && if [ -d public/js ]; then rm -rf public/js/bundle.js public/js/bundle.js.LICENSE.txt >/dev/null 2>&1; fi && echo '-> [DONE] clean\n'", "start": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start' && npm run start:production && echo '-> [DONE] start\n'", "start:prod": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod' && npm run start:production && echo '-> [DONE] start:prod\n'", "start:production": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:production' && bin/run.sh -bg --production && echo '-> [DONE] start:production\n'", "start:prod:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:dbg' && npm run start:prod:debug && echo '-> [DONE] start:prod:dbg\n'", "start:prod:debug": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:debug' && npm run start:prod:debug:break && echo '-> [DONE] start:prod:debug\n'", "start:prod:debug:break": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:debug:break' && bin/run.sh --production --debug && echo '-> [DONE] start:prod:debug:break\n'", "start:prod:debug:nobreak": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:prod:debug:nobreak' && bin/run.sh --production --debug-nobrk && echo '-> [DONE] start:prod:debug:nobreak\n'", "start:dev": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev' && npm run start:develop && echo '-> [DONE] start:dev\n'", "start:develop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:develop' && bin/run.sh -bg --development && echo '-> [DONE] start:develop\n'", "start:dev:dbg": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:dbg' && npm run start:dev:debug && echo '-> [DONE] start:dev:dbg\n'", "start:dev:debug": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:debug' && npm run start:dev:debug:break && echo '-> [DONE] start:dev:debug\n'", "start:dev:debug:break": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:debug:break' && bin/run.sh --development --debug && echo '-> [DONE] start:dev:debug:break\n'", "start:dev:debug:nobreak": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] start:dev:debug:nobreak' && bin/run.sh --development --debug-nobrk && echo '-> [DONE] start:dev:debug:nobreak\n'", "stop": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] stop' && bin/run.sh --stop && echo '-> [DONE] stop\n'", "test": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test' && npm run test:all && echo '-> [DONE] test\n'", "test:all": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:all' && npm run test:lint && npm run test:jest && echo '-> [DONE] test:all\n'", "test:lint": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:lint' && eslint app.js webpack.config.js bin/www routes/*.js routes/*/*.js src/*/*.js src/*.jsx src/*/*.jsx tests/*/*.js tests/*/*.jsx && echo '-> [DONE] test:lint\n'", "test:jest": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:jest' && npm run test:jest:run && echo '-> [DONE] test:jest\n'", "test:jest:run": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:jest:run' && jest --env=jsdom --silent && echo '-> [DONE] test:jest:run\n'", "test:jest:update": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:jest:update' && jest --env=jsdom --updateSnapshot --silent && echo '-> [DONE] test:jest:update\n'", "test:jest:watch": "export NPM_CONFIG_LOGLEVEL=silent && echo '[START] test:jest:watch' && jest --env=jsdom --watch --silent && echo '-> [DONE] test:jest:watch\n'" }, "repository": { "type": "git", "url": "git@github.com:yahoojapan/k2hr3_app.git" }, "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/yahoojapan/k2hr3_app/issues", "email": "ml-antpickax-support@lycorp.co.jp" }, "homepage": "https://demo.k2hr3.antpick.ax/", "keywords": [ "K2HR3", "K2HASH", "K2HDKC", "CHMPX", "ROLE", "POLICY", "RULE", "RESOURCE", "express", "ejs", "webpack", "react", "babel", "material-ui" ], "jest": { "moduleNameMapper": { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/fileMock.js", "\\.(css|less)$": "<rootDir>/tests/__mocks__/styleMock.js" }, "globals": { "k2hr3global": { "r3apischeme": "http", "r3apihost": "localhost", "r3apiport": "3000", "r3appmenu": "[{\"name\":\"Dummy Menu\",\"url\":\"https://localhost/dummy/menu/\"}]", "r3userdata": "\"#include\\n{{= %K2HR3_API_HOST_URI% }}/v1/userdata/TestRegisterPathForJEST\\n\"", "username": "test", "unscopedtoken": "UnscopedUserToken_ForTestByJEST", "uselocaltenant": true, "dbgheader": "x-k2hr3-debug", "dbgvalue": "debug", "dbgresheader": "x-k2hr3-error" } }, "testEnvironmentOptions": { "url": "https://localhost/" } }, "babel": { "presets": [ "@babel/preset-env", "@babel/preset-react" ], "plugins": [ [ "@babel/plugin-proposal-decorators", { "legacy": true } ], [ "@babel/plugin-proposal-class-properties", { "loose": true } ], [ "@babel/plugin-proposal-private-methods", { "loose": true } ], [ "@babel/plugin-proposal-private-property-in-object", { "loose": true } ] ] }, "author": [ "Takeshi Nakatani <ggtakec@gmail.com> (https://github.com/ggtakec)" ], "contributors": [ "Hirotaka Wakabayashi <hiwakaba@lycorp.co.jp> (https://github.com/hiwakaba)" ], "license": "MIT" }