aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
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",