Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@
"license": "MIT",
"lint-staged": {
"*.js": [
"prettier --write --no-semi --print-width 100 --single-quote \"*.js\"",
"standard --fix \"src/**/*.js\"",
"prettier --write --no-semi --print-width 100 --single-quote",
"standard --fix",
"git add"
],
"*.{ts,tsx}": [
"prettier --write --no-semi --print-width 100 --single-quote",
"tslint \"src/**/*.{ts,tsx}\" --fix",
"tslint --fix",
"git add"
]
},
Expand All @@ -100,6 +100,7 @@
"private": true,
"repository": "skellock/electron-starter",
"scripts": {
"check": "tsc -p tsconfig.json --noEmit --pretty",
"clean": "rm -rf .fusebox out dist",
"compile": "NODE_ENV=production node fuse",
"dist": "electron-builder --mac --win --linux --ia32 --x64",
Expand All @@ -114,21 +115,6 @@
"test:renderer": "electron-ava src/renderer/**/*.test.js",
"test:snapshots": "electron-ava src/renderer/**/*.test.js -u"
},
"scripts-info": {
"clean": "Removes build artifacts and caches.",
"compile": "Builds both js bundles in production mode.",
"dist": "Creates a executable for distributing.",
"draft": "Releases a version as a draft.",
"info": "Shows available npm scripts.",
"pack": "Creates a executable for trying out.",
"postinstall": "Used by electron-builder to build native dependencies.",
"precommit": "Runs automatically before committing code in git.",
"start": "Starts the app in dev mode.",
"test": "Runs tests.",
"test:main": "Runs the main process tests.",
"test:renderer": "Runs the renderer process tests.",
"test:snapshots": "Updates the snapshots."
},
"standard": {
"parser": "babel-eslint"
},
Expand Down