2022-04-22 19:02:54 -04:00
|
|
|
{
|
|
|
|
"name": "haveno-ui",
|
|
|
|
"version": "0.1.0",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/haveno-dex/haveno-ui.git"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=v16.13",
|
|
|
|
"npm": ">=8.1"
|
|
|
|
},
|
|
|
|
"main": "packages/main/dist/index.cjs",
|
|
|
|
"scripts": {
|
|
|
|
"build": "npm run build:main && npm run build:preload && npm run build:renderer",
|
|
|
|
"build:main": "cd ./packages/main && vite build",
|
|
|
|
"build:preload": "cd ./packages/preload && vite build",
|
|
|
|
"build:renderer": "cd ./packages/renderer && vite build",
|
|
|
|
"compile": "cross-env MODE=production npm run build && electron-builder build --config .electron-builder.config.js --dir --config.asar=false",
|
|
|
|
"test": "npm run test:main && npm run test:preload && npm run test:renderer && npm run test:e2e",
|
|
|
|
"test:e2e": "npm run build && vitest run",
|
|
|
|
"test:main": "vitest run -r packages/main --passWithNoTests",
|
|
|
|
"test:preload": "vitest run -r packages/preload --passWithNoTests",
|
|
|
|
"test:renderer": "vitest run -r packages/renderer --passWithNoTests",
|
2022-04-27 11:32:21 -04:00
|
|
|
"test:renderer:watch": "vitest -r packages/renderer",
|
2022-05-17 06:31:28 -04:00
|
|
|
"coverage:main": "vitest run -r packages/main --coverage",
|
|
|
|
"coverage:preload": "vitest run -r packages/preload --coverage",
|
|
|
|
"coverage:renderer": "vitest run -r packages/renderer --coverage",
|
|
|
|
"coverage": "npm run coverage:main && npm run coverage:preload && npm run coverage:renderer",
|
2022-04-22 19:02:54 -04:00
|
|
|
"watch": "node scripts/watch.js",
|
|
|
|
"format": "prettier --write .",
|
|
|
|
"lint": "eslint .",
|
|
|
|
"typecheck:main": "tsc --noEmit -p packages/main/tsconfig.json",
|
|
|
|
"typecheck:preload": "tsc --noEmit -p packages/preload/tsconfig.json",
|
|
|
|
"typecheck:renderer": "tsc --noEmit -p packages/renderer/tsconfig.json",
|
|
|
|
"typecheck": "npm run typecheck:main && npm run typecheck:preload && npm run typecheck:renderer",
|
|
|
|
"storybook": "start-storybook -p 6006",
|
|
|
|
"build-storybook": "build-storybook",
|
|
|
|
"license": "node scripts/license"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.17.9",
|
|
|
|
"@commitlint/cli": "^16.2.3",
|
|
|
|
"@commitlint/config-conventional": "^16.2.1",
|
|
|
|
"@storybook/addon-actions": "^6.4.22",
|
|
|
|
"@storybook/addon-essentials": "^6.4.22",
|
|
|
|
"@storybook/addon-interactions": "^6.4.22",
|
|
|
|
"@storybook/addon-links": "^6.4.22",
|
|
|
|
"@storybook/builder-vite": "^0.1.29",
|
|
|
|
"@storybook/react": "^6.4.22",
|
|
|
|
"@storybook/testing-library": "^0.0.10",
|
2022-04-27 11:32:21 -04:00
|
|
|
"@testing-library/react": "^12",
|
2022-05-09 16:06:01 -04:00
|
|
|
"@types/jsonwebtoken": "^8.5.8",
|
2022-05-05 16:19:37 -04:00
|
|
|
"@types/lodash": "^4.14.182",
|
2022-04-22 19:02:54 -04:00
|
|
|
"@types/react": "<18.0.0",
|
|
|
|
"@types/react-dom": "<18.0.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "5.12.1",
|
|
|
|
"@typescript-eslint/parser": "^5.19.0",
|
|
|
|
"@vitejs/plugin-react": "^1.3.0",
|
|
|
|
"babel-loader": "^8.2.5",
|
|
|
|
"cross-env": "7.0.3",
|
2022-05-09 16:06:01 -04:00
|
|
|
"dotenv": "^16.0.0",
|
2022-04-22 19:02:54 -04:00
|
|
|
"electron": "17.1.0",
|
|
|
|
"electron-builder": "22.14.13",
|
|
|
|
"electron-devtools-installer": "3.2.0",
|
|
|
|
"eslint": "8.9.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
|
|
"eslint-plugin-react": "^7.29.4",
|
|
|
|
"happy-dom": "2.41.0",
|
|
|
|
"husky": "^7.0.4",
|
|
|
|
"nano-staged": "^0.7.0",
|
|
|
|
"playwright": "1.19.1",
|
|
|
|
"prettier": "^2.6.2",
|
2022-04-27 11:32:21 -04:00
|
|
|
"react-devtools": "^4.24.4",
|
2022-04-22 19:02:54 -04:00
|
|
|
"typescript": "4.5.5",
|
|
|
|
"vite": "2.8.4",
|
|
|
|
"vite-plugin-svgr": "^1.1.0",
|
|
|
|
"vitest": "0.5.4"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@mantine/core": "^4.1.2",
|
|
|
|
"@mantine/dates": "^4.1.2",
|
2022-05-05 16:19:37 -04:00
|
|
|
"@mantine/form": "^4.2.2",
|
2022-04-22 19:02:54 -04:00
|
|
|
"@mantine/hooks": "^4.1.2",
|
|
|
|
"@mantine/modals": "^4.1.2",
|
|
|
|
"@mantine/notifications": "^4.1.2",
|
|
|
|
"dayjs": "^1.11.0",
|
|
|
|
"electron-store": "^8.0.1",
|
|
|
|
"electron-updater": "4.6.5",
|
2022-05-17 06:31:28 -04:00
|
|
|
"haveno-ts": "0.0.5",
|
2022-05-05 16:19:37 -04:00
|
|
|
"joi": "^17.6.0",
|
2022-05-09 16:06:01 -04:00
|
|
|
"jsonwebtoken": "^8.5.1",
|
2022-05-05 16:19:37 -04:00
|
|
|
"lodash": "^4.17.21",
|
2022-04-22 19:02:54 -04:00
|
|
|
"react": "<18.0.0",
|
|
|
|
"react-dom": "<18.0.0",
|
|
|
|
"react-intl": "^5.24.8",
|
|
|
|
"react-query": "^3.34.19",
|
|
|
|
"react-router-dom": "6",
|
|
|
|
"recoil": "^0.7.0"
|
|
|
|
}
|
|
|
|
}
|