From 162d2a0f4aaa4358201ebd35fe37937bc24f1752 Mon Sep 17 00:00:00 2001 From: chrisrzhou Date: Sat, 29 May 2021 19:42:59 -0700 Subject: [PATCH] build: update deps and scripts --- package.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 0427768..5e0593b 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "main": "index.js", "types": "index.d.ts", "dependencies": { - "uinix-fp": "^0.1.0" + "uinix-fp": "^0.2.2" }, "devDependencies": { "@types/tape": "^4.13.0", @@ -31,19 +31,18 @@ "known-css-properties": "^0.21.0", "tape": "^5.2.2", "type-coverage": "^2.17.5", - "typescript": "^4.2.4", + "typescript": "^4.3.2", "uinix-scripts": "^0.1.2", "xo": "^0.40.1" }, "scripts": { + "build": "npm run clean && tsc && type-coverage", "clean": "uinix-scripts clean", - "coverage": "npm run type-coverage && npm run test-coverage", "lint": "xo --fix", - "prepack": "npm run clean && npm run coverage && npm run lint", + "prepack": "npm run build && npm run lint", "report": "node script/report.js", - "test": "npm run prepack", "test-coverage": "c8 --check-coverage --lines 100 --functions 100 --branches 100 --reporter lcov node test/index.js", - "type-coverage": "tsc && type-coverage" + "test": "npm run build && npm run lint && npm run test-coverage" }, "engines": { "node": ">=12"