@ -12,8 +12,6 @@
"main" : "main.js" ,
"main" : "main.js" ,
"scripts" : {
"scripts" : {
"postinstall" : "electron-builder install-app-deps && rimraf node_modules/dtrace-provider" ,
"postinstall" : "electron-builder install-app-deps && rimraf node_modules/dtrace-provider" ,
"test" : "yarn eslint && yarn tslint && yarn test-server && grunt test && yarn test-app && yarn test-modules && yarn test-ts" ,
"lint" : "grunt jshint" ,
"start" : "electron ." ,
"start" : "electron ." ,
"asarl" : "asar l release/mac/Signal.app/Contents/Resources/app.asar" ,
"asarl" : "asar l release/mac/Signal.app/Contents/Resources/app.asar" ,
"icon-gen" : "electron-icon-maker --input=images/icon_1024.png --output=./build" ,
"icon-gen" : "electron-icon-maker --input=images/icon_1024.png --output=./build" ,
@ -36,13 +34,15 @@
"release-win" : "npm run build-release -- -w --prepackaged release/windows --publish=always" ,
"release-win" : "npm run build-release -- -w --prepackaged release/windows --publish=always" ,
"release-lin" : "npm run build-release -- -l --prepackaged release/linux && NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh" ,
"release-lin" : "npm run build-release -- -l --prepackaged release/linux && NAME=$npm_package_name VERSION=$npm_package_version ./aptly.sh" ,
"release" : "npm run release-mac && npm run release-win && npm run release-lin" ,
"release" : "npm run release-mac && npm run release-win && npm run release-lin" ,
"test-app" : "mocha --recursive test/app" ,
"test-node" : "mocha --recursive test/app test/modules ts/test-unit" ,
"test-modules" : "mocha --recursive test/modules" ,
"test-electron" : "yarn grunt test" ,
"test-ts" : "mocha --recursive ts/test-unit" ,
"test-electron-coverage" : "nyc --reporter=lcov --reporter=text mocha --recursive test/app test/modules ts/test-unit" ,
"test-server" : "mocha --recursive test/server" ,
"test" : "yarn test-node && yarn test-electron" ,
"test-server-coverage" : "nyc --reporter=lcov --reporter=text mocha --recursive test/server" ,
"jscs" : "yarn grunt jscs" ,
"jshint" : "yarn grunt jshint" ,
"eslint" : "eslint ." ,
"eslint" : "eslint ." ,
"tslint" : "tslint --config tslint.json ts/**/*.{ts,tsx}" ,
"tslint" : "tslint ts/**/*.{ts,tsx}" ,
"lint" : "yarn eslint && yarn tslint && yarn jshint && yarn jscs" ,
"transpile" : "tsc" ,
"transpile" : "tsc" ,
"clean-transpile" : "rimraf ts/**/*.js ts/*.js" ,
"clean-transpile" : "rimraf ts/**/*.js ts/*.js" ,
"open-coverage" : "open coverage/lcov-report/index.html" ,
"open-coverage" : "open coverage/lcov-report/index.html" ,