UNPKG

besper-frontend-toolkit-dev-0849

Version:

Professional B-esper Frontend Toolkit - Modular bot integration for WordPress plugins and web applications

123 lines (122 loc) 3.88 kB
{ "name": "besper-frontend-toolkit-dev-0849", "version": "1.1.0-0849.87d05c9", "description": "Professional B-esper Frontend Toolkit - Modular bot integration for WordPress plugins and web applications", "main": "dist/besperbot.js", "module": "dist/besperbot.mjs", "types": "dist/types/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/besperbot.production.mjs", "require": "./dist/besperbot.production.js", "types": "./dist/types/index.d.ts" }, "./types": { "types": "./dist/types/index.d.ts" } }, "scripts": { "clean": "rimraf dist", "build:dev": "cross-env NODE_ENV=development rollup -c", "build:int": "cross-env NODE_ENV=integration rollup -c", "build:prod": "cross-env NODE_ENV=production rollup -c", "build": "npm run build:dev && npm run build:int && npm run build:prod", "build:types": "mkdir -p dist/types && cp src/types/index.d.ts dist/types/index.d.ts", "postbuild": "npm run build:types", "lint": "eslint . --ext .js,.ts", "lint:fix": "eslint . --ext .js,.ts --fix", "format": "prettier --check .", "format:write": "prettier --write .", "validate": "npm run lint && npm run format && npm test", "validate-and-fix": "npm run lint:fix && npm run format:write && npm test", "validate-no-tests": "npm run lint && npm run format", "test": "jest --runInBand --passWithNoTests", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "docs": "typedoc --out docs src/types/index.d.ts", "prepublishOnly": "npm run validate && npm run build:check", "build:check": "if [ -d dist ] && [ -f dist/besperbot.js ]; then echo '✅ Using existing build files'; else echo '🔨 Building package...' && npm run build:env; fi", "build:env": "cross-env NODE_ENV=${NODE_ENV:-development} rollup -c" }, "dependencies": { "@babel/eslint-parser": "^7.28.0", "dompurify": "^3.2.6", "express": "^4.18.2", "pdf-parse": "^1.1.1", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@babel/core": "^7.24.0", "@babel/preset-env": "^7.27.2", "@babel/preset-react": "^7.24.0", "@babel/preset-typescript": "^7.24.0", "@eslint/object-schema": "^2.1.0", "@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.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.0", "@types/jest": "^29.5.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "cross-env": "^7.0.3", "eslint": "^8.57.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-jest": "^28.13.3", "glob": "^10.3.10", "jest": "^29.7.0", "jest-environment-jsdom": "^30.0.0", "prettier": "^3.3.1", "rimraf": "^5.0.5", "rollup": "^4.17.0", "rollup-plugin-css-only": "^4.5.2", "sass": "^1.77.0", "ts-jest": "^29.4.0", "typedoc": "^0.25.0", "typescript": "^5.0.0" }, "jest": { "testPathIgnorePatterns": [ "<rootDir>/dist/" ], "preset": "ts-jest", "testEnvironment": "jsdom" }, "repository": { "type": "git", "url": "https://github.com/wsperger/BAF.git", "directory": "infra/npm_general" }, "engines": { "node": ">=16.0.0" }, "files": [ "dist", "README.md", "DEVELOPER_GUIDE.md" ], "keywords": [ "azure", "bot", "chatbot", "besper", "frontend", "toolkit", "wordpress", "plugin", "management", "professional", "typescript", "modular" ], "author": "B-esper Team", "license": "MIT", "homepage": "https://github.com/wsperger/BAF#readme", "bugs": { "url": "https://github.com/wsperger/BAF/issues" } }