From ec512ea868d5df64a8a11ed27d5032337760ffde Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sun, 1 Dec 2019 22:04:02 +0200 Subject: feat: add benchmarking code --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index c1d4dd4..2112003 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,9 @@ "start": "parcel demo/src/index.html -d demo/build", "lint": "tslint --project tsconfig.json", "test": "npm run lint && jest", - "test:watch": "jest --watch" + "test:watch": "jest --watch", + "benchmark:prepare": "ts-node --project tsconfig.benchmark.json benchmark/convert-instructions.ts", + "benchmark": "ts-node --project tsconfig.benchmark.json benchmark/index.ts" }, "files": [ "dist" @@ -21,6 +23,7 @@ "devDependencies": { "@types/jest": "^24.0.23", "@types/node": "^12.12.7", + "@types/prettier": "^1.19.0", "husky": "^3.0.9", "jest": "^24.9.0", "lint-staged": "^9.4.2", -- cgit v1.2.3