139 строки
4.2 KiB
JSON
139 строки
4.2 KiB
JSON
{
|
|
"name": "electron-forge",
|
|
"version": "2.5.2",
|
|
"description": "A complete tool for building modern Electron applications",
|
|
"repository": "https://github.com/electron-userland/electron-forge",
|
|
"main": "dist/api/index.js",
|
|
"bin": {
|
|
"electron-forge": "dist/electron-forge.js",
|
|
"forge": "dist/electron-forge.js"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp build",
|
|
"precommit": "npm run lint",
|
|
"commit": "git-cz",
|
|
"docs": "esdoc",
|
|
"lint": "eslint src test gulpfile.babel.js",
|
|
"prepublish": "gulp build",
|
|
"pretest": "gulp build",
|
|
"test": "npm run lint && npm run test-all",
|
|
"test-coverage": "npm run lint && npm run test-all-coverage",
|
|
"test-all": "mocha test/**/*_spec*.js --compilers js:babel-register --timeout=300000",
|
|
"test-fast": "mocha test/**/*_spec.js --compilers js:babel-register --timeout=10000",
|
|
"test-all-coverage": "cross-env NODE_ENV=test nyc npm run test-all",
|
|
"test-fast-coverage": "cross-env NODE_ENV=test nyc npm run test-fast",
|
|
"release:patch": "changelog -p && node ci/fix-changelog.js && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags",
|
|
"release:minor": "changelog -m && node ci/fix-changelog.js && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
|
|
"release:major": "changelog -M && node ci/fix-changelog.js && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
|
|
"watch": "gulp watch",
|
|
"watch-link": "nodemon --watch src --exec \"npm link\""
|
|
},
|
|
"author": "Samuel Attard",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"babel-eslint": "^7.0.0",
|
|
"babel-plugin-istanbul": "^3.1.2",
|
|
"babel-plugin-syntax-async-functions": "^6.13.0",
|
|
"babel-plugin-transform-async-to-module-method": "^6.16.0",
|
|
"babel-plugin-transform-runtime": "^6.15.0",
|
|
"babel-preset-es2015": "^6.16.0",
|
|
"chai": "^3.5.0",
|
|
"commitizen": "^2.8.6",
|
|
"coveralls": "^2.11.15",
|
|
"cross-env": "^3.1.3",
|
|
"cz-customizable": "4.0.0",
|
|
"esdoc": "^0.5.1",
|
|
"esdoc-importpath-plugin": "^0.1.0",
|
|
"eslint": "^3.7.1",
|
|
"eslint-config-airbnb-base": "^8.0.0",
|
|
"eslint-plugin-import": "^1.16.0",
|
|
"generate-changelog": "^1.0.2",
|
|
"gulp": "^3.9.1",
|
|
"gulp-babel": "^6.1.2",
|
|
"mocha": "^3.2.0",
|
|
"nodemon": "^1.11.0",
|
|
"nyc": "^10.0.0",
|
|
"sinon": "^1.17.7"
|
|
},
|
|
"babel": {
|
|
"env": {
|
|
"test": {
|
|
"plugins": [
|
|
"istanbul"
|
|
]
|
|
}
|
|
},
|
|
"presets": [
|
|
"es2015"
|
|
],
|
|
"plugins": [
|
|
"transform-runtime",
|
|
"syntax-async-functions",
|
|
[
|
|
"transform-async-to-module-method",
|
|
{
|
|
"module": "bluebird",
|
|
"method": "coroutine"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"nyc": {
|
|
"reporter": [
|
|
"lcov",
|
|
"text-summary",
|
|
"html"
|
|
],
|
|
"sourceMap": false,
|
|
"instrument": false,
|
|
"cache": true
|
|
},
|
|
"dependencies": {
|
|
"babel-register": "^6.16.3",
|
|
"bluebird": "^3.4.6",
|
|
"colors": "^1.1.2",
|
|
"commander": "^2.9.0",
|
|
"debug": "^2.3.3",
|
|
"electron-installer-dmg": "^0.1.2",
|
|
"electron-packager": "^8.4.0",
|
|
"electron-sudo": "malept/electron-sudo#fix-linux-sudo-detection",
|
|
"electron-windows-store": "^0.6.3",
|
|
"electron-winstaller": "^2.5.0",
|
|
"fs-promise": "^1.0.0",
|
|
"github": "^7.2.0",
|
|
"glob": "^7.1.1",
|
|
"inquirer": "^2.0.0",
|
|
"lodash.template": "^4.4.0",
|
|
"log-symbols": "^1.0.2",
|
|
"node-fetch": "^1.6.3",
|
|
"node-gyp": "^3.4.0",
|
|
"nugget": "^2.0.1",
|
|
"opn": "^4.0.2",
|
|
"ora": "^0.4.0",
|
|
"pify": "^2.3.0",
|
|
"resolve-package": "^1.0.1",
|
|
"semver": "^5.3.0",
|
|
"spawn-rx": "^2.0.7",
|
|
"sudo-prompt": "^6.2.1",
|
|
"username": "^2.2.2",
|
|
"yarn-or-npm": "^2.0.2",
|
|
"zip-folder": "^1.0.0"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-customizable"
|
|
},
|
|
"cz-customizable": {
|
|
"config": "./.cz.js"
|
|
}
|
|
},
|
|
"optionalDependencies": {
|
|
"electron-installer-debian": "^0.4.0",
|
|
"electron-installer-flatpak": "^0.4.0",
|
|
"electron-installer-redhat": "^0.3.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6.0"
|
|
}
|
|
}
|