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",
|
2019-09-09 02:13:04 +02:00
|
|
|
"version": "1.2.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": {
|
2019-10-07 17:35:26 +02:00
|
|
|
"test": "npm run lint && jest --coverage",
|
|
|
|
"test:watch": "jest --coverage --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-07-06 21:25:23 +02:00
|
|
|
"package": "electron-builder build -mwl -p never && open ./dist",
|
2019-05-28 02:43:53 +02:00
|
|
|
"dist": "rm -rf {dist,build}/ && npm run build && npm run package",
|
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-05-09 23:28:58 +02: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": {
|
2019-09-24 01:13:02 +02:00
|
|
|
"@babel/core": "^7.6.2",
|
2019-07-25 12:17:56 +02:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
2019-09-24 01:13:02 +02:00
|
|
|
"@babel/preset-env": "^7.6.2",
|
2019-05-05 13:34:21 +02:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
2019-09-24 01:13:02 +02:00
|
|
|
"@jest-runner/electron": "^2.0.2",
|
2019-05-25 03:16:53 +02:00
|
|
|
"@reach/router": "^1.2.1",
|
2019-09-24 01:13:02 +02:00
|
|
|
"@react-mock/state": "^0.1.8",
|
2019-10-07 17:14:19 +02:00
|
|
|
"@svgr/webpack": "^4.3.3",
|
2019-09-24 01:13:02 +02:00
|
|
|
"@testing-library/jest-dom": "^4.1.0",
|
2019-10-07 17:14:19 +02:00
|
|
|
"@testing-library/react": "^9.3.0",
|
2019-09-07 15:12:08 +02:00
|
|
|
"auto-changelog": "^1.16.1",
|
|
|
|
"babel-eslint": "^10.0.3",
|
2019-09-24 01:13:02 +02:00
|
|
|
"babel-jest": "^24.9.0",
|
2019-05-19 14:02:42 +02:00
|
|
|
"babel-loader": "^8.0.6",
|
2019-08-21 09:39:50 +02:00
|
|
|
"copy-webpack-plugin": "^5.0.4",
|
2019-10-07 17:14:19 +02:00
|
|
|
"cross-env": "^6.0.3",
|
2019-08-21 09:39:50 +02:00
|
|
|
"css-loader": "^3.2.0",
|
2019-10-07 17:14:19 +02:00
|
|
|
"electron": "^6.0.11",
|
2019-08-21 09:39:50 +02:00
|
|
|
"electron-builder": "^21.2.0",
|
2019-05-05 13:34:21 +02:00
|
|
|
"electron-devtools-installer": "^2.2.4",
|
2019-09-09 11:08:42 +02:00
|
|
|
"electron-store": "^5.0.0",
|
2019-10-07 17:14:19 +02:00
|
|
|
"eslint": "^6.5.1",
|
|
|
|
"eslint-config-prettier": "^6.4.0",
|
|
|
|
"eslint-plugin-react": "^7.16.0",
|
2019-08-21 09:39:50 +02:00
|
|
|
"file-loader": "^4.2.0",
|
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",
|
|
|
|
"jest": "^24.9.0",
|
2019-07-25 12:17:56 +02:00
|
|
|
"mini-css-extract-plugin": "^0.8.0",
|
2019-06-11 23:12:47 +02:00
|
|
|
"prettier": "^1.18.2",
|
2019-05-05 13:34:21 +02:00
|
|
|
"prettier-stylelint": "^0.4.2",
|
2019-10-07 17:14:19 +02:00
|
|
|
"react": "^16.10.2",
|
|
|
|
"react-dom": "^16.10.2",
|
2019-05-25 03:16:53 +02:00
|
|
|
"react-pose": "^4.0.8",
|
2019-10-07 17:14:19 +02:00
|
|
|
"release-it": "^12.4.2",
|
2019-08-21 09:39:50 +02:00
|
|
|
"style-loader": "^1.0.0",
|
2019-09-15 16:32:31 +02:00
|
|
|
"stylelint": "^11.0.0",
|
2019-09-24 01:13:02 +02:00
|
|
|
"stylelint-config-css-modules": "^1.5.0",
|
2019-09-15 16:53:08 +02:00
|
|
|
"stylelint-config-standard": "^19.0.0",
|
2019-10-07 17:14:19 +02:00
|
|
|
"webpack": "^4.41.0",
|
2019-09-24 01:13:02 +02:00
|
|
|
"webpack-cli": "^3.3.9",
|
2019-10-07 17:14:19 +02:00
|
|
|
"webpack-dev-server": "^3.8.2"
|
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",
|
|
|
|
"identity": null
|
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"
|
|
|
|
],
|
|
|
|
"runner": "@jest-runner/electron",
|
|
|
|
"testEnvironment": "@jest-runner/electron/environment"
|
2019-05-05 13:34:21 +02:00
|
|
|
}
|
|
|
|
}
|