From eff47a14afa52ce71f8e1c5f4d9bd6fd5f17359b Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 22 Apr 2021 17:50:35 +1000 Subject: [PATCH] cleanup package.json --- package.json | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 91722ed4f..8713853ee 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "start-prod": "cross-env NODE_ENV=production NODE_APP_INSTANCE=devprod$MULTI electron .", "start-swarm-test": "cross-env NODE_ENV=swarm-testing NODE_APP_INSTANCE=$MULTI electron .", "grunt": "grunt", + "grunt:dev": "yarn clean-transpile; yarn grunt dev --force", "icon-gen": "electron-icon-maker --input=images/session/session_icon_1024.png --output=./build", "generate": "yarn icon-gen && yarn grunt --force", "build-release": "cross-env SIGNAL_ENV=production electron-builder --config.extraMetadata.environment=production --publish=never --config.directories.output=release", @@ -35,22 +36,16 @@ "test-electron": "yarn grunt test", "test-integration": "ELECTRON_DISABLE_SANDBOX=1 mocha --exit --full-trace --timeout 10000 ts/test/session/integration/integration_itest.js", "test-node": "mocha --recursive --exit --timeout 10000 test/app test/modules \"./ts/test/**/*_test.js\" libloki/test/node ", - "eslint": "eslint --cache .", - "eslint-fix": "eslint --fix .", - "eslint-full": "eslint .", - "lint": "yarn format && yarn lint-files", + "eslint-full": "eslint . --cache", "lint-full": "yarn format-full && yarn lint-files-full", - "dev-lint": "yarn format && yarn lint-files", - "lint-files": "yarn eslint && yarn tslint", "lint-files-full": "yarn eslint-full && yarn tslint", - "lint-deps": "node ts/util/lint/linter.js", "tslint": "tslint --format stylish --project .", - "format": "prettier --list-different --write `git ls-files --modified *.{css,js,json,scss,ts,tsx}` `git ls-files --modified ./**/*.{css,js,json,scss,ts,tsx}`", "format-full": "prettier --list-different --write \"*.{css,js,json,scss,ts,tsx}\" \"./**/*.{css,js,json,scss,ts,tsx}\"", "transpile": "tsc --incremental", - "clean-transpile": "rimraf ts/**/*.js && rimraf ts/*.js", + "transpile:watch": "tsc -w", + "clean-transpile": "rimraf ts/**/*.js && rimraf ts/*.js && rimraf tsconfig.tsbuildinfo;", "pow-metrics": "node metrics_app.js localhost 9000", - "ready": "yarn clean-transpile && yarn grunt && yarn lint-full && yarn test-node && yarn test-electron && yarn lint-deps" + "ready": "yarn clean-transpile; yarn grunt && yarn lint-full && yarn test" }, "dependencies": { "@journeyapps/sqlcipher": "https://github.com/scottnonnenberg-signal/node-sqlcipher.git#b10f232fac62ba7f8775c9e086bb5558fe7d948b",