From 1dc23bde7734af6ffa965575961bff430ed97946 Mon Sep 17 00:00:00 2001 From: aikin <1@aikin.me> Date: Fri, 27 Jul 2018 13:44:54 +0800 Subject: [PATCH 1/3] feat: fixed missing script: build:ts --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 40a477d..71761b1 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "prepublish": "npm run build", "watch": "npm run watch:ts", - "watch:ts": "npm run build:ts -- --watch --diagnostics", + "watch:ts": "npm run build -- --watch --diagnostics", "prebuild": "npm run lint", "compile": "tsc --pretty", "build": "rimraf dist && tsc --pretty", From c23cdf9e1484514c3eebe6564bbacf4e949e3de7 Mon Sep 17 00:00:00 2001 From: aikin <1@aikin.me> Date: Fri, 27 Jul 2018 13:47:47 +0800 Subject: [PATCH 2/3] refactor: combine watch:ts and watch scripts --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 71761b1..0fa501f 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,7 @@ "typings": "./dist/index.d.ts", "scripts": { "prepublish": "npm run build", - "watch": "npm run watch:ts", - "watch:ts": "npm run build -- --watch --diagnostics", + "watch": "npm run build -- --watch --diagnostics", "prebuild": "npm run lint", "compile": "tsc --pretty", "build": "rimraf dist && tsc --pretty", From f33e63279d582ace2d1b6cdcf3aef6431683e336 Mon Sep 17 00:00:00 2001 From: aikin <1@aikin.me> Date: Fri, 27 Jul 2018 13:57:00 +0800 Subject: [PATCH 3/3] feat: fixed tslint typeScript source globs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0fa501f..d57d67c 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "prebuild": "npm run lint", "compile": "tsc --pretty", "build": "rimraf dist && tsc --pretty", - "lint": "tslint src/*.ts", + "lint": "tslint src/**/*.ts", "release": "standard-version", "test": "rimraf .test && mocha --trace-warnings --timeout 30000 --exit dist/__test__", "precommit": "lint-staged"