wisemapping-frontend/packages/editor/package.json
2023-01-14 23:04:33 -08:00

53 lines
1.9 KiB
JSON

{
"name": "@wisemapping/editor",
"version": "0.4.2",
"main": "dist/editor.bundle.js",
"scripts": {
"build": "webpack --config webpack.prod.js",
"playground": "webpack serve --config webpack.playground.js",
"cy:run": "cypress run",
"cy:open": "cypress open",
"lint": "eslint src --ext js,ts,tsx",
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
"test": "yarn test:unit && yarn test:integration",
"test:unit": "jest ./test/unit/* --detectOpenHandles",
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/en.json",
"i18n:compile": "for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done"
},
"repository": "http://www.wisemapping.com",
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
"license": "MIT",
"devDependencies": {
"@formatjs/cli": "^5.1.3",
"@testing-library/react": "^13.4.0",
"@types/cypress-image-snapshot": "^3.1.6",
"@types/jest": "^29.0.0",
"babel-polyfill": "^6.26.0",
"copy-webpack-plugin": "^10.2.1",
"css-loader": "^6.7.1",
"cypress": "^12.3.0",
"cypress-image-snapshot": "^4.0.1",
"html-webpack-plugin": "^5.5.0",
"jest-transform-stub": "^2.0.0",
"react": "^18.2.0",
"style-loader": "^3.3.1",
"ts-jest": "^29.0.3"
},
"dependencies": {
"@wisemapping/mindplot": "^5.0.15",
"emoji-picker-react": "^4.4.7",
"react-color": "^2.19.3",
"react-loader-spinner": "^5.3.4"
},
"peerDependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.9.3",
"@mui/material": "^5.10.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-intl": "^6.2.1",
"styled-components": "^5.3.6"
}
}