cozy/cozy-mobile

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "cozy-mobile",
  "description": "This is the native mobile client for Cozy.",
  "version": "2.1.0",
  "license": "LGPL-3.0",
  "engines": {
    "node": "~6.9.1"
  },
  "scripts": {
    "postinstall": "npm run build && cordova prepare",
    "build": "brunch build",
    "watch": "brunch watch",
    "android": "cordova run android --device",
    "android-emulator": "cordova run android --emulator",
    "ios": "cordova run ios --device",
    "ios-emulator": "cordova run ios --emulator",
    "lint": "coffeelint -r src/app src/test *.coffee",
    "test": "mocha src/test/unit/ --recursive --reporter spec --compilers coffee:coffee-script/register --require coffee-coverage/register-istanbul",
    "test:coverage": "npm run test && istanbul report",
    "test:watch": "npm run test -- --watch --watch-extensions coffee",
    "prerelease:android": "rm -rf www/ && npm run build && cordova build android --release",
    "release:android": "jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./keys/android/cozy-play-store.keystore -storepass `cat ./keys/android/cozy-play-store.password` ./platforms/android/build/outputs/apk/android-release-unsigned.apk cozy-play-store && zipalign -v 4 ./platforms/android/build/outputs/apk/android-release-unsigned.apk ./build/android/CozyMobile.apk",
    "postrelease:android": "PACKAGE_VERSION=$(node -p -e \"require('./package.json').version\"); mv -f ./build/android/CozyMobile.apk ./build/android/CozyMobile_$PACKAGE_VERSION.apk; md5 ./build/android/CozyMobile_$PACKAGE_VERSION.apk; shasum ./build/android/CozyMobile_$PACKAGE_VERSION.apk"
  },
  "dependencies": {
    "animate.css": "3.5.2",
    "async": "2.1.4",
    "backbone": "1.3.3",
    "jquery": "3.1.1",
    "material-design-icons": "3.0.1",
    "materialize-css": "https://github.com/cozy/materialize.git",
    "mdi": "1.7.22",
    "moment": "2.17.1",
    "moment-timezone": "0.5.11",
    "node-polyglot": "2.2.1",
    "node-viewerjs": "https://github.com/cozy/ViewerJS.git",
    "path-browser": "2.2.1",
    "pouchdb": "6.1.0",
    "semver": "5.3.0",
    "snap.js": "https://github.com/kosssi/snap.js.git#develop",
    "underscore": "1.8.3",
    "validator": "6.2.0"
  },
  "devDependencies": {
    "brunch": "2.9.1",
    "chai": "3.5.0",
    "clean-css-brunch": "2.0.0",
    "codecov": "1.0.1",
    "coffee-coverage": "1.0.1",
    "coffee-script": "1.12.2",
    "coffee-script-brunch": "2.1.0",
    "coffeelint": "1.16.0",
    "cordova": "6.4.0",
    "css-brunch": "2.6.1",
    "istanbul": "0.4.5",
    "jade-brunch": "2.8.0",
    "javascript-brunch": "2.0.0",
    "json-brunch": "1.5.4",
    "memdown": "1.2.4",
    "mocha": "3.2.0",
    "mockery": "2.0.0",
    "stylus-brunch": "2.8.0",
    "xmlhttprequest": "1.8.0"
  }
}