2019-05-05 13:34:21 +02:00
|
|
|
{
|
2019-05-25 03:25:00 +02:00
|
|
|
"name": "@kremalicious/blowfish",
|
2019-05-19 15:24:25 +02:00
|
|
|
"productName": "Blowfish",
|
2020-02-05 19:20:33 +01:00
|
|
|
"version": "1.3.1",
|
2019-05-06 01:04:17 +02:00
|
|
|
"description": "🐡 Simple Electron-based desktop app to retrieve and display your total Ocean Token balances.",
|
2019-05-25 03:16:53 +02:00
|
|
|
"main": "./src/main/index.js",
|
2019-05-05 13:34:21 +02:00
|
|
|
"scripts": {
|
2020-02-08 23:23:46 +01:00
|
|
|
"test": "npm run lint && jest",
|
|
|
|
"test:watch": "jest --watch",
|
2019-09-24 01:13:02 +02:00
|
|
|
"lint": "eslint --ignore-path .gitignore ./src/**/*.{js,jsx} && stylelint --ignore-path .gitignore ./src/**/*.{css,scss}",
|
2019-05-05 13:34:21 +02:00
|
|
|
"start": "webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js",
|
2019-06-05 00:03:19 +02:00
|
|
|
"build": "cross-env NODE_ENV=production webpack --config webpack.common.config.js",
|
2019-11-10 16:49:57 +01:00
|
|
|
"package": "electron-builder build -ml -p never",
|
|
|
|
"package:win": "electron-builder build -w -p never",
|
|
|
|
"dist": "./scripts/release-prepare.sh",
|
2019-06-11 23:12:47 +02:00
|
|
|
"release": "release-it --non-interactive",
|
2019-09-08 21:47:57 +02:00
|
|
|
"changelog": "auto-changelog -p",
|
|
|
|
"format": "prettier --write 'src/**/*.{js,jsx}' && npm run format:css",
|
|
|
|
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'"
|
2019-05-05 13:34:21 +02:00
|
|
|
},
|
2019-05-19 15:24:25 +02:00
|
|
|
"repository": "https://github.com/kremalicious/blowfish.git",
|
|
|
|
"homepage": "https://github.com/kremalicious/blowfish",
|
2019-05-17 00:19:00 +02:00
|
|
|
"author": {
|
|
|
|
"name": "Matthias Kretschmann",
|
|
|
|
"email": "m@kretschmann.io",
|
|
|
|
"url": "https://matthiaskretschmann.com"
|
|
|
|
},
|
2019-05-05 13:34:21 +02:00
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2019-10-07 17:14:19 +02:00
|
|
|
"@coingecko/cryptoformat": "^0.3.3",
|
2019-11-10 16:49:57 +01:00
|
|
|
"ethereum-address": "^0.0.4",
|
2019-06-05 01:29:11 +02:00
|
|
|
"ethereum-blockies": "github:MyEtherWallet/blockies",
|
2019-06-11 23:12:47 +02:00
|
|
|
"ms": "^2.1.2"
|
2019-05-05 13:34:21 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-02-05 19:12:45 +01:00
|
|
|
"@babel/core": "^7.8.4",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
|
|
"@babel/preset-env": "^7.8.4",
|
|
|
|
"@babel/preset-react": "^7.8.3",
|
|
|
|
"@jest-runner/electron": "^2.0.3",
|
|
|
|
"@reach/router": "^1.3.1",
|
2019-09-24 01:13:02 +02:00
|
|
|
"@react-mock/state": "^0.1.8",
|
2019-12-23 15:11:56 +01:00
|
|
|
"@svgr/webpack": "^5.0.0",
|
2020-01-17 01:05:09 +01:00
|
|
|
"@testing-library/jest-dom": "^5.0.0",
|
2020-02-05 19:12:45 +01:00
|
|
|
"@testing-library/react": "^9.4.0",
|
2019-11-10 16:49:57 +01:00
|
|
|
"auto-changelog": "^1.16.2",
|
2019-09-07 15:12:08 +02:00
|
|
|
"babel-eslint": "^10.0.3",
|
2020-02-05 19:12:45 +01:00
|
|
|
"babel-jest": "^25.1.0",
|
2019-05-19 14:02:42 +02:00
|
|
|
"babel-loader": "^8.0.6",
|
2020-02-05 19:12:45 +01:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
2020-01-25 19:49:30 +01:00
|
|
|
"cross-env": "^7.0.0",
|
2020-02-05 19:12:45 +01:00
|
|
|
"css-loader": "^3.4.2",
|
2020-02-04 00:54:38 +01:00
|
|
|
"electron": "^8.0.0",
|
2020-02-05 19:12:45 +01:00
|
|
|
"electron-builder": "^22.3.2",
|
2019-05-05 13:34:21 +02:00
|
|
|
"electron-devtools-installer": "^2.2.4",
|
2019-11-10 16:49:57 +01:00
|
|
|
"electron-store": "^5.1.0",
|
2020-02-05 19:12:45 +01:00
|
|
|
"eslint": "^6.8.0",
|
|
|
|
"eslint-config-prettier": "^6.10.0",
|
|
|
|
"eslint-plugin-react": "^7.18.3",
|
|
|
|
"file-loader": "^5.0.2",
|
2019-05-05 13:34:21 +02:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-09-24 01:13:02 +02:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2020-02-05 19:12:45 +01:00
|
|
|
"jest": "^25.1.0",
|
2019-12-20 16:58:33 +01:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2019-11-10 16:49:57 +01:00
|
|
|
"prettier": "^1.19.1",
|
2019-05-05 13:34:21 +02:00
|
|
|
"prettier-stylelint": "^0.4.2",
|
2020-02-05 19:12:45 +01:00
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0",
|
|
|
|
"react-pose": "^4.0.10",
|
2019-11-10 16:49:57 +01:00
|
|
|
"release-it": "^12.4.3",
|
2020-02-05 19:12:45 +01:00
|
|
|
"style-loader": "^1.1.3",
|
2020-02-08 23:23:46 +01:00
|
|
|
"stylelint": "^13.1.0",
|
2019-11-18 09:00:03 +01:00
|
|
|
"stylelint-config-css-modules": "^2.1.0",
|
2019-09-15 16:53:08 +02:00
|
|
|
"stylelint-config-standard": "^19.0.0",
|
2020-02-05 19:12:45 +01:00
|
|
|
"webpack": "^4.41.5",
|
2019-11-10 16:49:57 +01:00
|
|
|
"webpack-cli": "^3.3.10",
|
2020-02-05 19:12:45 +01:00
|
|
|
"webpack-dev-server": "^3.10.3"
|
2019-05-17 00:19:00 +02:00
|
|
|
},
|
2019-09-09 01:33:27 +02:00
|
|
|
"browserslist": "electron >= 6.0",
|
2019-05-17 00:19:00 +02:00
|
|
|
"build": {
|
2019-05-19 15:24:25 +02:00
|
|
|
"appId": "com.kremalicious.blowfish",
|
2019-05-17 00:19:00 +02:00
|
|
|
"files": [
|
|
|
|
"./build/**/*",
|
2019-05-25 03:16:53 +02:00
|
|
|
"./src/main/**/*",
|
2019-05-17 00:19:00 +02:00
|
|
|
"./src/*.js",
|
|
|
|
"package.json"
|
|
|
|
],
|
|
|
|
"mac": {
|
2019-06-05 01:29:11 +02:00
|
|
|
"category": "public.app-category.finance",
|
2019-11-10 16:49:57 +01:00
|
|
|
"identity": null,
|
|
|
|
"darkModeSupport": true
|
2019-05-17 00:19:00 +02:00
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"target": [
|
|
|
|
"deb",
|
|
|
|
"snap",
|
|
|
|
"AppImage"
|
|
|
|
],
|
2019-05-28 02:22:50 +02:00
|
|
|
"category": "Office",
|
2019-05-29 02:17:05 +02:00
|
|
|
"executableName": "Blowfish",
|
2019-05-28 02:22:50 +02:00
|
|
|
"artifactName": "${productName}-${version}.${ext}"
|
2019-05-17 00:19:00 +02:00
|
|
|
}
|
2019-05-27 00:46:13 +02:00
|
|
|
},
|
|
|
|
"release-it": {
|
2019-06-11 23:12:47 +02:00
|
|
|
"hooks": {
|
|
|
|
"after:init": "npm test",
|
|
|
|
"after:bump": "npm run changelog",
|
|
|
|
"before:release": "npm run dist"
|
2019-05-27 00:46:13 +02:00
|
|
|
},
|
|
|
|
"git": {
|
|
|
|
"tagName": "v${version}"
|
|
|
|
},
|
|
|
|
"github": {
|
|
|
|
"release": true,
|
|
|
|
"assets": [
|
2019-05-28 02:43:53 +02:00
|
|
|
"dist/*.exe",
|
|
|
|
"dist/*.zip",
|
|
|
|
"dist/*.dmg",
|
|
|
|
"dist/*.AppImage",
|
|
|
|
"dist/*.deb",
|
2019-06-05 00:35:07 +02:00
|
|
|
"dist/*.snap",
|
|
|
|
"dist/latest*.yml",
|
|
|
|
"dist/*.blockmap"
|
2019-05-27 00:46:13 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": false
|
|
|
|
}
|
2019-10-07 17:35:26 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"rootDir": "src/renderer",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.jsx?$": "babel-jest"
|
|
|
|
},
|
|
|
|
"moduleNameMapper": {
|
|
|
|
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
|
|
|
|
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/jest/__mocks__/file-mock.js",
|
|
|
|
"\\.svg": "<rootDir>/jest/__mocks__/svgr-mock.js"
|
|
|
|
},
|
|
|
|
"testURL": "http://localhost",
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/jest/setup-test-env.js"
|
|
|
|
],
|
2020-02-08 23:23:46 +01:00
|
|
|
"coverageDirectory": "../../coverage/",
|
|
|
|
"collectCoverage": true,
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/**/*.{js,jsx}",
|
|
|
|
"!<rootDir>/jest/**/*.{js,jsx}",
|
|
|
|
"!**/node_modules/**"
|
|
|
|
],
|
2019-10-07 17:35:26 +02:00
|
|
|
"runner": "@jest-runner/electron",
|
|
|
|
"testEnvironment": "@jest-runner/electron/environment"
|
2019-05-05 13:34:21 +02:00
|
|
|
}
|
|
|
|
}
|