From 22989465538f64e86fe5ac0235e322133b95056c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 20 Aug 2019 02:46:41 +0400 Subject: Initial test application Signed-off-by: Valentin Popov --- package.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index dddd9e1..e8433f9 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,21 @@ "license": "MIT", "private": false, "scripts": { - "compile": "tsc --pretty --project ./", - "compile:watch": "yarn run compile --watch", + "build": "yarn run build:plugin", + "build:application": "cd ./test/application && yarn run build", + "build:plugin": "tsc --pretty --project ./ --skipLibCheck", "lint": "tslint --format codeFrame --project ./", - "lint:fix": "yarn run lint --fix" + "lint:fix": "yarn run lint --fix", + "test": "yarn run test:build && yarn run test:run", + "test:build": "yarn run build && yarn run build:application", + "test:run": "jest --coverage --testTimeout 30000" }, "devDependencies": { + "@types/jest": "^24.0.18", + "@types/node": "^12.7.2", + "jest": "^24.9.0", + "spectron": "^8.0.0", + "ts-jest": "^24.0.2", "tslint": "^5.18.0", "tslint-config-airbnb": "^5.11.1", "tslint-consistent-codestyle": "^1.15.1", -- cgit v1.2.3