Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 95 lines (94 sloc) 4.21 KB
{
"name": "electron-starter",
"description": "Electron Starter Kit.",
"version": "2.0.0",
"author": "akabeko",
"license": "MIT",
"private": true,
"main": "main.js",
"keywords": [
"Electron",
"Starter"
],
"repository": {
"type": "git",
"url": "git+https://github.com/akabekobeko/examples-electron.git"
},
"config": {
"app": "Starter",
"appCompanyName": "Company",
"appLegalCopyright": "Copylight (C) USERNAME, All right reserved.",
"appFileDescription": "Electron application"
},
"scripts": {
"start": "npm run watch",
"app": "electron --inspect=5858 src/",
"test": "mocha --require espower-typescript/guess src/**/*.test.ts",
"tsc": "tsc --rootDir ./src/ --noEmit",
"build:js-main": "webpack --env.main --mode development",
"build:js-renderer": "webpack --mode development",
"build": "npm-run-all -p build:*",
"watch:js-main": "webpack --env.main --mode development --watch",
"watch:js-renderer": "webpack --mode development --watch",
"watch:tcm": "tcm -p ./src/renderer/**/components/**/*.scss -w",
"watch": "npm-run-all -p watch:*",
"release:js-main": "webpack --env.main --mode production",
"release:js-renderer": "webpack --mode production",
"release:clean": "rimraf ./dist/src",
"release:copy-assets": "cpx \"./src/assets/**/!(*.js|*.css|*.scss|*.styl|*.map)\" ./dist/src/assets/",
"release:copy-json": "cpx \"./src/package.json\" ./dist/src/",
"release:copy": "npm-run-all release:copy-*",
"release:build": "npm-run-all -s release:clean release:copy -p release:js-main release:js-renderer",
"release:pack-mac": "cross-conf-env electron-packager ./dist/src npm_package_config_app --out=dist/bin --download.cache=dist/cache --platform=darwin --arch=x64 --overwrite --asar --icon=src/app.icns",
"release:pack-win": "cross-conf-env electron-packager ./dist/src npm_package_config_app --out=dist/bin --download.cache=dist/cache --platform=win32 --arch=x64 --overwrite --asar --icon=src/app.ico --version-string.CompanyName=\"npm_package_config_appCompanyName\" --version-string.LegalCopyright=\"npm_package_config_appLegalCopyright\" --version-string.FileDescription=\"npm_package_config_appFileDescription\" --version-string.OriginalFilename=\"npm_package_config_app.exe\" --version-string.FileVersion=\"npm_package_version\" --version-string.ProductVersion=\"npm_package_version\" --version-string.ProductName=\"npm_package_config_app\" --version-string.InternalName=\"npm_package_config_app\"",
"release:pack-linux": "cross-conf-env electron-packager ./dist/src npm_package_config_app --out=dist/bin --download.cache=dist/cache --platform=linux --arch=x64 --overwrite --asar",
"release:mac": "npm-run-all -s release:build release:pack-mac",
"release:win": "npm-run-all -s release:build release:pack-win",
"release:linux": "npm-run-all -s release:build release:pack-linux",
"release": "npm-run-all -s release:build release:pack-*"
},
"dependencies": {
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-redux": "^6.0.1",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/register": "^7.0.0",
"@intervolga/optimize-cssnano-plugin": "^1.0.6",
"@types/mocha": "^5.2.6",
"@types/react": "^16.8.6",
"@types/react-dom": "^16.8.2",
"@types/react-redux": "^7.0.1",
"@types/rewire": "^2.5.28",
"babel-loader": "^8.0.5",
"babel-preset-minify": "^0.5.0",
"babel-preset-power-assert": "^3.0.0",
"cpx": "^1.5.0",
"cross-conf-env": "^1.1.2",
"css-loader": "^2.1.0",
"devtron": "^1.4.0",
"electron": "^4.0.6",
"electron-packager": "^13.1.0",
"espower-typescript": "^9.0.1",
"ifdef-loader": "^2.1.1",
"mini-css-extract-plugin": "^0.5.0",
"mocha": "^6.0.2",
"node-sass": "^4.11.0",
"npm-run-all": "^4.1.5",
"power-assert": "^1.6.1",
"resolve-url-loader": "^3.0.1",
"rewire": "^4.0.1",
"rimraf": "^2.6.3",
"sass-loader": "^7.1.0",
"typed-css-modules": "^0.3.7",
"typescript": "^3.3.3333",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
}
}
You can’t perform that action at this time.