diff options
author | Valentin Popov <info@valentineus.link> | 2019-08-20 01:46:41 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2019-08-20 01:46:41 +0300 |
commit | 22989465538f64e86fe5ac0235e322133b95056c (patch) | |
tree | 7c4f1f92310562e8087e3314dc2beac4661b3be1 /package.json | |
parent | a6b4bc15ebcfc3aa358fcfc95967da56381f0603 (diff) | |
download | electron-hot-reload-22989465538f64e86fe5ac0235e322133b95056c.tar.xz electron-hot-reload-22989465538f64e86fe5ac0235e322133b95056c.zip |
Initial test application
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 15 |
1 files changed, 12 insertions, 3 deletions
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", |