144 lines
4.3 KiB
JSON
144 lines
4.3 KiB
JSON
{
|
|
"name": "zec-react-wallet",
|
|
"version": "0.1.1",
|
|
"description": "Zcash Reference Wallet built in Electron & React",
|
|
"main": "index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "concurrently \"cross-env BROWSER=none yarn dev\" \"wait-on http://0.0.0.0:8080 && yarn electron:dev\"",
|
|
"dev": "webpack-dev-server --config config/webpack-dev.config.js --mode development --open --hot",
|
|
"build": "rm -rf build && webpack --config config/webpack-prod.config.js --mode production --env.NODE_ENV=production",
|
|
"lint:precommit": "eslint ./app/",
|
|
"flow:precommit": "glow",
|
|
"flow:coverage": "flow-coverage-report -t html -i 'app/**/*.js' -x 'dist/*.js' --threshold 70",
|
|
"flow:report": "yarn flow:coverage && cd ./flow-coverage && open index.html",
|
|
"electron:dev": "electron -r @babel/register .",
|
|
"electron:prepare": "yarn icon:build && rm -rf dist && mkdir dist",
|
|
"electron:pack": "yarn electron:prepare && electron-builder --dir",
|
|
"electron:dist": "yarn electron:prepare && electron-builder",
|
|
"preelectron:prepare": "yarn build",
|
|
"icon:build": "./node_modules/.bin/electron-icon-maker --input=build-assets/icon.png --output=./build",
|
|
"docz:dev": "docz dev",
|
|
"docz:build": "docz build",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"author": {
|
|
"name": "André Neves",
|
|
"email": "andrerfneves@protonmail.com",
|
|
"url": "https://andrenev.es"
|
|
},
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-loader": "^8.0.4",
|
|
"concurrently": "^4.1.0",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^1.0.1",
|
|
"docz": "^0.12.13",
|
|
"docz-plugin-css": "^0.11.0",
|
|
"electron": "^3.0.10",
|
|
"electron-builder": "^20.36.2",
|
|
"electron-icon-maker": "^0.0.4",
|
|
"electron-is-dev": "^1.0.1",
|
|
"electron-log": "^2.2.17",
|
|
"electron-positioner": "^4.1.0",
|
|
"electron-updater": "^4.0.4",
|
|
"eslint": "^5.8.0",
|
|
"eslint-config-airbnb": "^17.1.0",
|
|
"eslint-plugin-flowtype": "^3.2.0",
|
|
"eslint-plugin-import": "^2.14.0",
|
|
"eslint-plugin-jest": "^22.1.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.7.0",
|
|
"file-loader": "^2.0.0",
|
|
"flow-bin": "0.84.0",
|
|
"flow-coverage-report": "^0.6.0",
|
|
"flow-typed": "^2.5.1",
|
|
"glow": "^1.2.2",
|
|
"html-webpack-plugin": "^3.1.0",
|
|
"jest": "^23.6.0",
|
|
"jest-dom": "^2.1.1",
|
|
"node-sass": "^4.8.3",
|
|
"postcss-loader": "^3.0.0",
|
|
"pre-commit": "^1.2.2",
|
|
"react-testing-library": "^5.3.1",
|
|
"redux-logger": "^3.0.6",
|
|
"redux-mock-store": "^1.5.3",
|
|
"sass-loader": "^7.1.0",
|
|
"spectron": "^5.0.0",
|
|
"style-loader": "^0.23.1",
|
|
"uglifyjs-webpack-plugin": "^2.0.1",
|
|
"wait-on": "^3.2.0",
|
|
"webpack": "^4.4.1",
|
|
"webpack-bundle-analyzer": "^3.0.3",
|
|
"webpack-cli": "^3.1.2",
|
|
"webpack-dev-server": "^3.1.1"
|
|
},
|
|
"dependencies": {
|
|
"@babel/register": "^7.0.0",
|
|
"autoprefixer": "^9.3.1",
|
|
"connected-react-router": "^5.0.1",
|
|
"got": "^9.3.2",
|
|
"history": "^4.7.2",
|
|
"process-exists": "^3.1.0",
|
|
"react": "^16.6.0",
|
|
"react-dom": "^16.6.0",
|
|
"react-redux": "^5.0.7",
|
|
"react-router-dom": "^4.2.2",
|
|
"redux": "^4.0.1",
|
|
"redux-thunk": "^2.2.0",
|
|
"styled-components": "^4.1.1",
|
|
"styled-theming": "^2.2.0",
|
|
"uuid": "^3.3.2"
|
|
},
|
|
"pre-commit": [
|
|
"lint:precommit",
|
|
"flow:precommit"
|
|
],
|
|
"build": {
|
|
"appId": "com.zcashfoundation",
|
|
"productName": "ZEC Wallet",
|
|
"asar": true,
|
|
"directories": {
|
|
"buildResources": "build",
|
|
"output": "dist"
|
|
},
|
|
"files": [
|
|
"./index.js",
|
|
"./build/**/*",
|
|
"./node_modules/**/*"
|
|
],
|
|
"linux": {
|
|
"icon": "./build/icons/png",
|
|
"target": [
|
|
"deb"
|
|
]
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.productivity",
|
|
"type": "distribution",
|
|
"target": [
|
|
"pkg",
|
|
"dmg"
|
|
]
|
|
}
|
|
},
|
|
"jest": {
|
|
"setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup/jest.js",
|
|
"testPathIgnorePatterns": [
|
|
"<rootDir>/__tests__/setup/"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"babel-core": "7.0.0-bridge.0"
|
|
}
|
|
}
|