HR/CryptoSync

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "Crypto.Sync",
  "productName": "CryptoSync",
  "version": "0.2.0",
  "description": "A cross-platform end-to-end encryption cloud sync client",
  "license": "MIT",
  "repository": "https://github.com/HR/CryptoSync",
  "homepage": "https://github.com/HR/CryptoSync",
  "bugs": "https://github.com/HR/CryptoSync/issues",
  "author": {
    "name": "Habib Rehman",
    "email": "Habib.R@outlook.com",
    "url": "https://git.io/HR"
  },
  "engines": {
    "node": ">=4"
  },
  "scripts": {
    "electronVersion": "node_modules/electron-prebuilt/dist/Electron.app/Contents/MacOS/Electron -v | sed s/\\v//g",
    "test": "TEST_RUN=true mocha --compilers js:babel-core/register test/test.js",
    "xtest": "unset TEST_RUN && npm run xbuild && mocha --compilers js:babel-core/register ./test/ui/*.js",
    "xbuild": "npm_package_productName=CryptoSyncTest && electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage|backups)' --asar=false --platform=darwin --arch=x64 --version=$(npm run electronVersion) --icon=res/app-icons/CryptoSync256.icns --app-copyright=HR --overwrite && npm run productNameChange",
    "coverage": "TEST_RUN=true ./node_modules/.bin/babel-node ./node_modules/.bin/isparta cover --root src/ ./node_modules/.bin/_mocha -- test/test.js --reporter mocha-lcov-reporter",
    "precoveralls": "TEST_RUN=true npm run coverage",
    "coveralls": "node ./node_modules/.bin/coveralls < coverage/lcov.info",
    "codeclimate": "node ./node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info",
    "productNameChange": "perl -pi -e 's/\"CryptoSync\"/\"CryptoSyncTest\"/g' ./dest/CryptoSyncTest-darwin-x64/CryptoSyncTest.app/Contents/Resources/app/package.json && perl -pi -e 's/CryptoSync/CryptoSyncTest/g' ./dest/CryptoSyncTest-darwin-x64/CryptoSyncTest.app/Contents/Resources/app/index.js",
    "start": "./node_modules/gulp/bin/gulp.js",
    "testbuild": "electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage)' --asar=false --platform=$BUILD_OS_NAME --arch=x64 --version=$(npm run electronVersion) --icon=res/app-icons/CryptoSync256 --app-copyright=HR --overwrite",
    "build": "electron-packager . $npm_package_productName --out=dest --ignore='(test|dest|coverage)' --prune --asar --all --version=$(npm run electronVersion)"
  },
  "xo": {
    "esnext": true
  },
  "keywords": [
    "cloud",
    "sync",
    "encryption",
    "crypto",
    "end-to-end",
    "client",
    "drive",
    "dropbox"
  ],
  "dependencies": {
    "async": "*",
    "babel-core": "*",
    "base64-stream": "*",
    "buffer": "^4.5.1",
    "chokidar": "*",
    "coveralls": "^2.11.9",
    "dotenv": "^2.0.0",
    "electron-debug": "*",
    "electron-positioner": "*",
    "electron-prebuilt": "^0.37.5",
    "estraverse": "^4.2.0",
    "fs-extra": "*",
    "fstream": "*",
    "google-auth-library": "*",
    "googleapis": "*",
    "handlebars": "*",
    "jquery": "*",
    "level-js": "*",
    "leveldown": "*",
    "levelup": "*",
    "lodash": "*",
    "mocha": "^2.4.5",
    "moment": "*",
    "secrets.js": "*",
    "tar": "*",
    "urlsafe-base64": "^1.0.0",
    "winston": "^2.2.0"
  },
  "devDependencies": {
    "babel-cli": "^6.6.5",
    "babel-eslint": "*",
    "babel-preset-es2015": "*",
    "chai": "*",
    "chai-as-promised": "^5.3.0",
    "codeclimate-test-reporter": "^0.3.1",
    "coveralls": "^2.11.9",
    "electron-packager": "*",
    "eslint": "*",
    "eslint-plugin-html": "*",
    "gulp": "*",
    "gulp-shell": "*",
    "isparta": "^4.0.0",
    "jshint": "*",
    "mocha-lcov-reporter": "^1.2.0",
    "spectron": "^1.37.0",
    "standard": "^6.0.8",
    "wdio-mocha-framework": "^0.2.12",
    "xo": "*"
  }
}