blob: a001ec1adda13675f69dea8f9cf07b26b91b7054 [file] [log] [blame]
{
"name": "@kie-tools/dashbuilder-editor",
"version": "0.23.2",
"description": "",
"license": "Apache-2.0",
"keywords": [],
"homepage": "https://github.com/kiegroup/kie-tools",
"repository": {
"type": "git",
"url": "https://github.com/kiegroup/kie-tools.git"
},
"bugs": {
"url": "https://github.com/kiegroup/kie-tools/issues"
},
"types": "./dist/editor/index.d.ts",
"main": "dist/editor/index.js",
"files": [
"dist/editor"
],
"scripts": {
"build:dev": "rimraf dist && pnpm copy:dashbuilder && pnpm copy:css && pnpm copy:images && tsc -p tsconfig.json",
"build:prod": "pnpm lint && rimraf dist && pnpm copy:dashbuilder && pnpm copy:css && pnpm copy:images && tsc -p tsconfig.json && pnpm test",
"copy:css": "copyfiles -u 1 \"src/**/*.{sass,scss,css}\" dist/",
"copy:dashbuilder": "copyfiles -u 3 \"../dashbuilder-client/dist/**/*\" ./dist/dashbuilder-client && copyfiles -u 1 src/setup.js ./dist/dashbuilder-client/",
"copy:images": "cpr ./static/images ./dist/images",
"cy:open": "cypress open --project it-tests",
"cy:run": "cypress run -b chrome --project it-tests",
"deploy": "gh-pages -d dist",
"lint": "run-script-if --bool \"$(build-env linters.run)\" --then \"kie-tools--eslint ./src\"",
"start": "webpack serve -c ./dev-webapp/webpack.config.js --host 0.0.0.0 --env dev",
"test": "run-script-if --ignore-errors \"$(build-env tests.ignoreFailures)\" --bool \"$(build-env tests.run)\" --then \"jest --silent --verbose --passWithNoTests\"",
"test:clearCache": "jest --clearCache",
"test:it": "run-script-if --ignore-errors \"$(build-env integrationTests.ignoreFailures)\" --bool \"$(build-env integrationTests.run)\" --then \"pnpm rimraf ./dist-it-tests\" \"pnpm start-server-and-test start http-get://0.0.0.0:$(build-env dashbuilderEditor.dev.port) cy:run\"",
"test:watch": "jest --watch"
},
"dependencies": {
"@kie-tools-core/editor": "workspace:*",
"@kie-tools-core/guided-tour": "workspace:*",
"@kie-tools-core/notifications": "workspace:*",
"@kie-tools-core/operating-system": "workspace:*",
"@kie-tools-core/patternfly-base": "workspace:*",
"@kie-tools-core/workspace": "workspace:*",
"@kie-tools/dashbuilder-client": "workspace:*",
"@patternfly/react-core": "^4.157.3",
"@patternfly/react-icons": "^4.11.17",
"monaco-editor": "^0.33.0",
"monaco-yaml": "^4.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@kie-tools-core/webpack-base": "workspace:*",
"@kie-tools/eslint": "workspace:*",
"@kie-tools/root-env": "workspace:*",
"@kie-tools/tsconfig": "workspace:*",
"@testing-library/jest-dom": "^5.16.1",
"@types/jest": "^26.0.23",
"@types/jest-when": "^2.7.4",
"@types/react": "^17.0.6",
"@types/testing-library__jest-dom": "^5.9.1",
"copy-webpack-plugin": "^8.1.1",
"copyfiles": "^2.4.1",
"cpr": "^3.0.1",
"cypress": "^10.7.0",
"cypress-file-upload": "^5.0.8",
"cypress-iframe": "^1.0.1",
"cypress-log-to-output": "^1.1.2",
"jest": "^26.6.3",
"jest-junit": "^14.0.0",
"jest-when": "^3.5.0",
"monaco-editor-webpack-plugin": "^7.0.1",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.12.1",
"ts-jest": "^26.5.6",
"typescript": "^4.4.2",
"vscode-json-languageservice": "^4.2.1",
"webpack": "^5.36.2",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.7.3",
"webpack-merge": "^5.7.3"
}
}