mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-22 11:43:48 +01:00
20658d3a69
feat: add custom hook useEditor to initialize editor * feat: add custom hook useEditor to initialize editor Approved-by: Paulo Veiga
52 lines
1.8 KiB
JSON
52 lines
1.8 KiB
JSON
{
|
|
"name": "@wisemapping/editor",
|
|
"version": "0.6.1",
|
|
"repository": "http://www.wisemapping.com",
|
|
"license": "MIT",
|
|
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
|
|
"main": "dist/editor.bundle.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "webpack --config webpack.prod.js",
|
|
"cy:open": "cypress open",
|
|
"cy:run": "cypress run",
|
|
"i18n:compile": "bash -c 'for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done'",
|
|
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/en.json",
|
|
"lint": "eslint src --ext js,ts,tsx",
|
|
"playground": "webpack serve --config webpack.playground.js",
|
|
"test": "yarn test:unit && yarn test:integration",
|
|
"test:integration": "npx start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
|
|
"test:unit": "jest ./test/unit/* --detectOpenHandles"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.10.5",
|
|
"@emotion/styled": "^11.10.5",
|
|
"@mui/icons-material": "^5.9.3",
|
|
"@mui/material": "^5.10.11",
|
|
"@wisemapping/mindplot": "workspace:*",
|
|
"emoji-picker-react": "4.5.2",
|
|
"react-color": "^2.19.3",
|
|
"react-intl": "^6.2.1",
|
|
"react-loader-spinner": "^5.3.4",
|
|
"styled-components": "^5.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@formatjs/cli": "^6.0.4",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@types/cypress-image-snapshot": "^3.1.6",
|
|
"babel-polyfill": "^6.26.0",
|
|
"cypress": "^12.3.0",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"jest-transform-stub": "^2.0.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"start-server-and-test": "^2.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
}
|
|
}
|