1
0
mirror of https://github.com/kremalicious/blowfish.git synced 2024-12-28 07:37:51 +01:00
blowfish/package.json

148 lines
4.5 KiB
JSON

{
"name": "@kremalicious/blowfish",
"productName": "Blowfish",
"version": "1.3.0",
"description": "🐡 Simple Electron-based desktop app to retrieve and display your total Ocean Token balances.",
"main": "./src/main/index.js",
"scripts": {
"test": "npm run lint && jest --coverage",
"test:watch": "jest --coverage --watch",
"lint": "eslint --ignore-path .gitignore ./src/**/*.{js,jsx} && stylelint --ignore-path .gitignore ./src/**/*.{css,scss}",
"start": "webpack-dev-server --hot --host 0.0.0.0 --config=./webpack.dev.config.js",
"build": "cross-env NODE_ENV=production webpack --config webpack.common.config.js",
"package": "electron-builder build -ml -p never",
"package:win": "electron-builder build -w -p never",
"dist": "./scripts/release-prepare.sh",
"release": "release-it --non-interactive",
"changelog": "auto-changelog -p",
"format": "prettier --write 'src/**/*.{js,jsx}' && npm run format:css",
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'"
},
"repository": "https://github.com/kremalicious/blowfish.git",
"homepage": "https://github.com/kremalicious/blowfish",
"author": {
"name": "Matthias Kretschmann",
"email": "m@kretschmann.io",
"url": "https://matthiaskretschmann.com"
},
"license": "MIT",
"dependencies": {
"@coingecko/cryptoformat": "^0.3.3",
"ethereum-address": "^0.0.4",
"ethereum-blockies": "github:MyEtherWallet/blockies",
"ms": "^2.1.2"
},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-react": "^7.7.0",
"@jest-runner/electron": "^2.0.2",
"@reach/router": "^1.2.1",
"@react-mock/state": "^0.1.8",
"@svgr/webpack": "^4.3.3",
"@testing-library/jest-dom": "^4.2.3",
"@testing-library/react": "^9.3.2",
"auto-changelog": "^1.16.2",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"copy-webpack-plugin": "^5.0.5",
"cross-env": "^6.0.3",
"css-loader": "^3.2.0",
"electron": "^7.1.1",
"electron-builder": "^22.1.0",
"electron-devtools-installer": "^2.2.4",
"electron-store": "^5.1.0",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-react": "^7.16.0",
"file-loader": "^4.2.0",
"html-webpack-plugin": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"mini-css-extract-plugin": "^0.9.0",
"prettier": "^1.19.1",
"prettier-stylelint": "^0.4.2",
"react": "^16.11.0",
"react-dom": "^16.11.0",
"react-pose": "^4.0.9",
"release-it": "^12.4.3",
"style-loader": "^1.0.0",
"stylelint": "^12.0.0",
"stylelint-config-css-modules": "^2.1.0",
"stylelint-config-standard": "^19.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
"browserslist": "electron >= 6.0",
"build": {
"appId": "com.kremalicious.blowfish",
"files": [
"./build/**/*",
"./src/main/**/*",
"./src/*.js",
"package.json"
],
"mac": {
"category": "public.app-category.finance",
"identity": null,
"darkModeSupport": true
},
"linux": {
"target": [
"deb",
"snap",
"AppImage"
],
"category": "Office",
"executableName": "Blowfish",
"artifactName": "${productName}-${version}.${ext}"
}
},
"release-it": {
"hooks": {
"after:init": "npm test",
"after:bump": "npm run changelog",
"before:release": "npm run dist"
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true,
"assets": [
"dist/*.exe",
"dist/*.zip",
"dist/*.dmg",
"dist/*.AppImage",
"dist/*.deb",
"dist/*.snap",
"dist/latest*.yml",
"dist/*.blockmap"
]
},
"npm": {
"publish": false
}
},
"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"
}
}