mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-24 15:37:55 +01:00
79 lines
2.5 KiB
JSON
79 lines
2.5 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",
|
|
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
|
|
"test": "yarn test:integration",
|
|
"test:unit": "jest ./test/unit/* --detectOpenHandles",
|
|
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/es.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",
|
|
"private": false,
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.18.6",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@formatjs/cli": "^4.8.1",
|
|
"@babel/preset-typescript": "^7.16.5",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/jest": "^29.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
"@typescript-eslint/parser": "^4.8.1",
|
|
"babel-polyfill": "^6.26.0",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"compression-webpack-plugin": "^9.2.0",
|
|
"copy-webpack-plugin": "^10.2.1",
|
|
"cypress": "^8.4.1",
|
|
"cypress-image-snapshot": "^4.0.1",
|
|
"eslint": "^7.14.0",
|
|
"eslint-config-prettier": "^8.0.0",
|
|
"eslint-plugin-cypress": "^2.12.1",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"prettier": "^2.2.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"ts-jest": "^27.1.0",
|
|
"ts-loader": "^8.0.11",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.1.2",
|
|
"webpack": "^5.74.0",
|
|
"webpack-dev-server": "^4.7.3",
|
|
"webpack-merge": "^5.8.0"
|
|
},
|
|
"dependencies": {
|
|
"@wisemapping/mindplot": "^5.0.1",
|
|
"react-color": "^2.19.3"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/styled-components": "^5.1.26",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-intl": "^5.24.3",
|
|
"styled-components": "^5.3.5",
|
|
"@emotion/react": "^11.10.4",
|
|
"@emotion/styled": "^11.10.4",
|
|
"@mui/icons-material": "^5.9.3",
|
|
"@mui/material": "^5.9.3"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"verbose": true,
|
|
"preset": "ts-jest",
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"ts",
|
|
"tsx"
|
|
],
|
|
"transform": {
|
|
"^.+\\.js?$": "babel-jest"
|
|
}
|
|
}
|
|
} |