zecwallet-lite/package.json

318 lines
11 KiB
JSON

{
"name": "zecwallet-lite",
"productName": "Zecwallet Lite",
"version": "1.1.7",
"description": "Zecwallet Lite (Electron version)",
"scripts": {
"build": "yarn neon && concurrently \"yarn build-main\" \"yarn build-renderer\"",
"build-dll": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors",
"build-e2e": "cross-env E2E_BUILD=true yarn build",
"build-main": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors",
"build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors",
"dev": "cross-env START_HOT=1 node -r @babel/register ./internals/scripts/CheckPortInUse.js && yarn neon && cross-env START_HOT=1 yarn start-renderer-dev",
"electron-rebuild": "electron-rebuild --parallel --force --types prod,dev,optional --module-dir app",
"flow": "flow",
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
"lint": "cross-env NODE_ENV=development eslint --cache --format=pretty .",
"lint-fix": "yarn --silent lint --fix; exit 0",
"lint-styles": "stylelint --ignore-path .eslintignore '**/*.*(css|scss)' --syntax scss",
"lint-styles-fix": "yarn --silent lint-styles --fix; exit 0",
"neon": "electron-build-env neon build --release",
"package": "yarn build && electron-builder build --publish never",
"package-all": "yarn build && electron-builder build -mwl",
"package-ci": "yarn postinstall && yarn build && electron-builder --publish always",
"package-mac": "yarn build && electron-builder build --mac --publish never",
"package-linux": "yarn build && electron-builder build --linux --publish never",
"package-win": "yarn build && electron-builder build --win --x64 --publish never",
"postinstall": "node -r @babel/register internals/scripts/CheckNativeDep.js && yarn flow-typed && electron-builder install-app-deps && yarn build-dll && opencollective-postinstall",
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{js,jsx,json,html,css,less,scss,yml}'",
"postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'",
"preinstall": "node ./internals/scripts/CheckYarn.js",
"prestart": "yarn build",
"start": "cross-env NODE_ENV=production electron ./app/main.prod.js",
"start-main-dev": "cross-env START_HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.js --remote-debugging-port=9223",
"start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js"
},
"lint-staged": {
"*.{js,jsx}": [
"cross-env NODE_ENV=development eslint --cache --format=pretty",
"git add"
],
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
"prettier --ignore-path .eslintignore --parser json --write",
"git add"
],
"*.{css,scss}": [
"stylelint --ignore-path .eslintignore --syntax scss --fix",
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"*.{html,md,yml}": [
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
]
},
"build": {
"productName": "Zecwallet Lite",
"appId": "co.zecwallet.lite",
"afterAllArtifactBuild": "./afterSignHook.js",
"files": [
"dist/",
"node_modules/",
"app.html",
"main.prod.js",
"main.prod.js.map",
"package.json"
],
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"icon": "./resources/icon.ico",
"target": [
"zip",
"msi"
]
},
"mac": {
"category": "public.app-category.productivity",
"type": "distribution",
"hardenedRuntime": true,
"entitlements": "./configs/entitlements.mac.inherit.plist",
"target": [
"dmg"
],
"icon": "./resources/icon.icns"
},
"deb": {
"depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3"
],
"artifactName": "Zecwallet_Lite_${version}_${arch}.deb"
},
"linux": {
"category": "Development",
"icon": "./resources/icon.icns",
"target": [
"deb",
"AppImage"
],
"desktop": {
"Name": "ZecWallet Lite",
"Comment": "Shielded Lightclient for Zcash",
"GenericName": "Wallet",
"Type": "Application",
"StartupNotify": true,
"StartupWMClass": "zecwalletlite",
"Categories": "Utility;",
"MimeType": "x-scheme-handler/zcash;",
"Keywords": "zecwallet;"
}
},
"directories": {
"buildResources": "resources",
"output": "release"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/adityapk00/zecwallet-electron.git"
},
"author": {
"name": "Aditya Kulkarni",
"email": "aditya@zecwallet.co",
"url": "https://zecwallet.co"
},
"contributors": [
{
"name": "Aditya Kulkarni",
"email": "aditya@zecwallet.co",
"url": "https://zecwallet.co"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/adityapk00/zecwallet-electron/issues"
},
"keywords": [
"electron",
"boilerplate",
"react",
"redux",
"flow",
"sass",
"webpack",
"hot",
"reload"
],
"homepage": "https://github.com/adityapk00/zecwallet-electron#readme",
"jest": {
"testURL": "http://localhost/",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"jsx",
"json"
],
"moduleDirectories": [
"node_modules",
"app/node_modules"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
},
"setupFiles": [
"./internals/scripts/CheckBuildsExist.js"
]
},
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/plugin-proposal-do-expressions": "^7.7.4",
"@babel/plugin-proposal-export-default-from": "^7.7.4",
"@babel/plugin-proposal-export-namespace-from": "^7.7.4",
"@babel/plugin-proposal-function-bind": "^7.7.4",
"@babel/plugin-proposal-function-sent": "^7.7.4",
"@babel/plugin-proposal-json-strings": "^7.7.4",
"@babel/plugin-proposal-logical-assignment-operators": "^7.7.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-proposal-numeric-separator": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/plugin-proposal-pipeline-operator": "^7.7.4",
"@babel/plugin-proposal-throw-expressions": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.7.4",
"@babel/plugin-syntax-import-meta": "^7.7.4",
"@babel/plugin-transform-react-constant-elements": "^7.7.4",
"@babel/plugin-transform-react-inline-elements": "^7.7.4",
"@babel/preset-env": "^7.7.6",
"@babel/preset-flow": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/register": "^7.7.4",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"babel-plugin-dev-expression": "^0.2.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chalk": "^3.0.0",
"concurrently": "^5.1.0",
"cross-env": "^6.0.3",
"cross-spawn": "^7.0.1",
"css-loader": "^3.3.2",
"detect-port": "^1.3.0",
"electron": "7.1.4",
"electron-build-env": "^0.2.0",
"electron-builder": "^22.2.0",
"electron-devtools-installer": "^2.2.4",
"electron-notarize": "^0.2.1",
"electron-rebuild": "^1.8.8",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"enzyme-to-json": "^3.3.4",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-erb": "^0.1.1",
"eslint-config-prettier": "^6.6.0",
"eslint-formatter-pretty": "^3.0.0",
"eslint-import-resolver-webpack": "^0.12.0",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-flowtype": "^4.5.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jest": "^23.1.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-testcafe": "^0.2.1",
"fbjs-scripts": "^1.2.0",
"file-loader": "^5.0.2",
"flow-bin": "^0.122.0",
"flow-runtime": "^0.17.0",
"flow-typed": "^2.6.2",
"husky": "^3.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"lint-staged": "^9.5.0",
"mini-css-extract-plugin": "^0.8.0",
"neon": "^2.0.0",
"neon-cli": "^0.3.3",
"node-sass": "^4.13.1",
"opencollective-postinstall": "^2.0.2",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "^1.19.1",
"react-test-renderer": "^16.12.0",
"redux-logger": "^3.0.6",
"rimraf": "^3.0.0",
"sass-loader": "^8.0.0",
"sinon": "^7.5.0",
"spectron": "^9.0.0",
"style-loader": "^1.0.1",
"stylelint": "^12.0.0",
"stylelint-config-prettier": "^8.0.0",
"stylelint-config-standard": "^19.0.0",
"terser-webpack-plugin": "^2.3.0",
"url-loader": "^3.0.0",
"webpack": "^4.41.6",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0",
"webpack-merge": "^4.2.2",
"yarn": "^1.22.0"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.12.0",
"@hot-loader/react-dom": "^16.11.0",
"axios": "^0.19.0",
"dateformat": "^3.0.3",
"electron-debug": "^3.0.1",
"electron-log": "^4.0.0",
"electron-store": "^5.1.1",
"history": "^4.10.1",
"libsodium-wrappers-sumo": "^0.7.6",
"qrcode.react": "^1.0.0",
"react": "^16.12.0",
"react-accessible-accordion": "^3.0.1",
"react-dom": "^16.12.0",
"react-hot-loader": "^4.12.18",
"react-modal": "^3.11.1",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-tabs": "^3.1.0",
"react-textarea-autosize": "^7.1.2",
"source-map-support": "^0.5.16",
"typeface-roboto": "^0.0.75",
"ws": "^7.2.1"
},
"devEngines": {
"node": ">=7.x",
"npm": ">=4.x",
"yarn": ">=0.21.3"
},
"browserslist": "electron 1.6",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}