UNPKG

adminjs

Version:
184 lines (183 loc) 5.45 kB
{ "name": "adminjs", "version": "7.8.16", "description": "Admin panel for apps written in node.js", "type": "module", "exports": { ".": { "types": "./index.d.ts", "import": "./index.js", "require": "./index.js" }, "./bundler": "./lib/backend/bundler/index.js" }, "scripts": { "test": "mocha --loader=ts-node/esm ./spec/index.js", "types": "tsc", "clean": "rm -rf lib && mkdir lib && rm -fr types && mkdir types", "build": "babel src --out-dir lib --copy-files --extensions '.ts,.js,.jsx,.tsx'", "lint": "eslint './spec/**/*' './src/**/*' './cy/**/*' './*'", "cover": "NODE_ENV=test nyc --reporter=lcov --reporter=text-lcov npm test", "codecov": "NODE_ENV=test nyc --reporter=text-lcov npm test | codecov --pipe", "bundle": "node bin/app.js", "bundle:globals": "node bin/globals.js", "cspell": "cspell src/**/*.ts src/**/*.js src/**/*.tsx src/**/*.jsx", "check:all": "yarn types && yarn cspell && yarn lint && yarn test && yarn bundle && NODE_ENV=production yarn bundle", "dev": "yarn build && yarn types && yarn bundle:globals && yarn bundle && NODE_ENV=production yarn bundle:globals && NODE_ENV=production yarn bundle", "release": "semantic-release" }, "bin": { "admin": "./cli.js" }, "nyc": { "exclude": [ "spec", "example-app", "src/**/*.spec.ts", "src/**/*.spec.js", "src/**/*.spec.tsx", "src/**/*.spec.jsx", "src/**/*.factory.ts", "src/backend/bundler/user-components-bundler.ts", "docs", "coverage", "types", "src/frontend/assets/scripts", "lib", ".vscode", ".github", "**/*.spec.js" ], "all": true, "extension": [ ".js", ".jsx", ".tsx", ".ts" ] }, "repository": { "type": "git", "url": "https://github.com/SoftwareBrothers/adminjs.git" }, "engines": { "node": ">=16.0.0" }, "keywords": [ "hapi", "express", "mongoose", "admin", "admin-panel" ], "browserslist": [ "last 5 Chrome versions" ], "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "author": "Wojciech Krysiak", "license": "MIT", "bugs": { "url": "https://github.com/SoftwareBrothers/adminjs/issues" }, "homepage": "https://github.com/SoftwareBrothers/adminjs#readme", "dependencies": { "@adminjs/design-system": "^4.1.0", "@babel/core": "^7.23.9", "@babel/parser": "^7.23.9", "@babel/plugin-syntax-import-assertions": "^7.23.3", "@babel/plugin-transform-runtime": "^7.23.9", "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@babel/register": "^7.23.7", "@hello-pangea/dnd": "^16.2.0", "@redux-devtools/extension": "^3.2.5", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "axios": "^1.3.4", "commander": "^10.0.0", "flat": "^5.0.2", "i18next": "^22.4.13", "i18next-browser-languagedetector": "^7.0.1", "i18next-http-backend": "^2.2.0", "lodash": "^4.17.21", "ora": "^6.2.0", "prop-types": "^15.8.1", "punycode": "^2.3.0", "qs": "^6.11.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-feather": "^2.0.10", "react-i18next": "^12.2.0", "react-is": "^18.2.0", "react-redux": "^8.0.5", "react-router": "^6.9.0", "react-router-dom": "^6.9.0", "redux": "^4.2.1", "regenerator-runtime": "^0.14.1", "rollup": "^4.11.0", "rollup-plugin-esbuild-minify": "^1.1.1", "rollup-plugin-polyfill-node": "^0.13.0", "slash": "^5.0.0", "uuid": "^9.0.0", "xss": "^1.0.14" }, "devDependencies": { "@babel/cli": "^7.23.9", "@commitlint/cli": "^17.5.0", "@commitlint/config-conventional": "^17.4.4", "@semantic-release/git": "^10.0.1", "@testing-library/react": "^14.0.0", "@types/babel-core": "^6.25.10", "@types/chai": "^4.3.4", "@types/chai-as-promised": "^7.1.5", "@types/factory-girl": "^5.0.8", "@types/flat": "^5.0.2", "@types/lodash": "^4.14.194", "@types/mocha": "^10.0.1", "@types/node": "^20.6.0", "@types/qs": "^6.9.7", "@types/react": "^18.0.35", "@types/react-dom": "^18.0.11", "@types/sinon": "^10.0.13", "@types/sinon-chai": "^3.2.9", "@typescript-eslint/eslint-plugin": "^5.56.0", "@typescript-eslint/parser": "^5.56.0", "babel-plugin-module-resolver": "^5.0.0", "chai": "^4.3.7", "chai-as-promised": "^7.1.1", "chai-change": "^2.1.2", "core-js": "^3.36.0", "cspell": "^6.30.2", "eslint": "^8.36.0", "eslint-config-airbnb": "^19.0.4", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-mocha": "^10.1.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "factory-girl": "^5.0.4", "husky": "^8.0.3", "jsdom": "^21.1.1", "jsdom-global": "^3.0.2", "mocha": "^10.2.0", "node-esm-import-all": "^1.0.0", "npm-run-all": "^4.1.5", "semantic-release": "^20.1.3", "sinon": "^15.0.2", "sinon-chai": "^3.7.0", "ts-node": "10.8.1", "typescript": "^5.3.3" }, "resolutions": { "react-redux": "8.0.5", "redux": "4.2.1" } }