{ "name": "electron-react-boilerplate", "productName": "ElectronReact", "version": "0.10.0", "description": "Electron application boilerplate based on React, React Router, Webpack, React Hot Loader for rapid application development", "main": "main.js", "scripts": { "test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js", "test-all": "npm run lint && npm run test && npm run build", "test-watch": "npm test -- --watch", "test-e2e": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js e2e", "lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .", "lint-fix": "npm run lint -- --fix", "hot-updates-server": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js", "build": "concurrently \"npm run build-main\" \"npm run build-renderer\"", "build-dll": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.dev.dll.js --progress --profile --colors", "build-main": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.main.prod.js --progress --profile --colors", "build-renderer": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.prod.js --progress --profile --colors", "start": "cross-env NODE_ENV=production electron ./app/", "start-hot-renderer": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./app/main.development", "postinstall": "concurrently \"npm run build-dll\" \"install-app-deps\" \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"", "dev": "cross-env START_HOT=1 npm run hot-updates-server", "package": "npm run build && build --publish never", "package-win": "npm run build && build --win --x64", "package-linux": "npm run build && build --linux", "package-all": "npm run build && build -mwl", "cleanup": "mop -v" }, "browserslist": "electron 1.4", "build": { "productName": "ElectronReact", "appId": "org.develar.ElectronReact", "files": [ "dist/", "node_modules/", "app.html", "main.js", "main.js.map", "package.json" ], "dmg": { "contents": [ { "x": 130, "y": 220 }, { "x": 410, "y": 220, "type": "link", "path": "/Applications" } ] }, "win": { "target": [ "nsis" ] }, "linux": { "target": [ "deb", "AppImage" ] }, "directories": { "buildResources": "resources", "output": "release" } }, "repository": { "type": "git", "url": "git+https://github.com/chentsulin/electron-react-boilerplate.git" }, "author": { "name": "C. T. Lin", "email": "chentsulin@gmail.com", "url": "https://github.com/chentsulin" }, "license": "MIT", "keywords": [ "electron", "boilerplate", "react", "redux", "sass", "webpack", "hot", "reload" ], "homepage": "https://github.com/chentsulin/electron-react-boilerplate#readme", "jest": { "moduleNameMapper": { "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "/mocks/fileMock.js", "\\.(css|less|sass|scss)$": "identity-obj-proxy" }, "moduleFileExtensions": [ "js" ], "moduleDirectories": [ "node_modules", "app/node_modules" ], "transform": { "^.+\\.js$": "babel-jest" } }, "devDependencies": { "asar": "^0.13.0", "babel-core": "^6.24.0", "babel-eslint": "^7.2.1", "babel-jest": "^19.0.0", "babel-loader": "^6.4.1", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dev-expression": "^0.2.1", "babel-plugin-transform-class-properties": "^6.23.0", "babel-plugin-transform-es2015-classes": "^6.23.0", "babel-polyfill": "^6.23.0", "babel-preset-env": "^1.3.2", "babel-preset-react": "^6.23.0", "babel-preset-react-hmre": "^1.1.1", "babel-preset-react-optimize": "^1.0.1", "babel-preset-stage-0": "^6.22.0", "babel-register": "^6.24.0", "babili-webpack-plugin": "^0.0.11", "boiler-room-custodian": "^0.6.1", "chalk": "^1.1.3", "concurrently": "^3.4.0", "cross-env": "^4.0.0", "cross-spawn": "^5.1.0", "css-loader": "^0.28.0", "devtron": "^1.4.0", "electron": "^1.6.2", "electron-builder": "^16.7.0", "electron-devtools-installer": "^2.1.0", "enzyme": "^2.8.0", "eslint": "^3.19.0", "eslint-config-airbnb": "^14.1.0", "eslint-formatter-pretty": "^1.1.0", "eslint-import-resolver-webpack": "^0.8.1", "eslint-plugin-compat": "^1.0.2", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jest": "^19.0.1", "eslint-plugin-jsx-a11y": "^4.0.0", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-react": "^6.10.3", "express": "^4.15.2", "fbjs-scripts": "^0.7.1", "file-loader": "^0.11.0", "html-webpack-plugin": "^2.28.0", "identity-obj-proxy": "^3.0.0", "jest": "^19.0.2", "jimp": "^0.2.27", "jsdom": "^9.12.0", "minimist": "^1.2.0", "node-sass": "^4.5.2", "react-addons-test-utils": "^15.4.2", "react-test-renderer": "^15.4.2", "redux-logger": "^3.0.1", "sass-loader": "^6.0.3", "sinon": "^2.1.0", "spectron": "^3.6.1", "style-loader": "^0.16.1", "url-loader": "^0.5.8", "webpack": "^2.3.2", "webpack-dev-server": "^2.4.2", "webpack-merge": "^4.1.0" }, "dependencies": { "electron-debug": "^1.1.0", "extract-text-webpack-plugin": "^2.0.0", "font-awesome": "^4.7.0", "react": "^15.4.2", "react-dom": "^15.4.2", "react-hot-loader": "3.0.0-beta.6", "react-redux": "^5.0.2", "react-router": "^3.0.2", "react-router-redux": "^4.0.7", "redux": "^3.6.0", "redux-thunk": "^2.2.0", "source-map-support": "^0.4.10" }, "devEngines": { "node": ">=6.x", "npm": ">=3.x", "yarn": "0.21.3" } }