feat: remove script npx

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-02-19 18:56:02 +08:00
parent cc96519e80
commit d90264194c
14 changed files with 29 additions and 29 deletions

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"dependencies": { "dependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -16,10 +16,10 @@
"registry": "https://repo.yumc.pw/repository/npm-hosted/" "registry": "https://repo.yumc.pw/repository/npm-hosted/"
}, },
"scripts": { "scripts": {
"dev": "npx ts-node-dev --respawn --debounce=1500 src/index.ts", "dev": "ts-node-dev --respawn --debounce=1500 src/index.ts",
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"dependencies": { "dependencies": {

View File

@ -18,8 +18,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -12,8 +12,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"dependencies": { "dependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -18,8 +18,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -17,8 +17,8 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf dist", "clean": "rimraf dist",
"watch": "npx tsc --watch", "watch": "tsc --watch",
"build": "yarn clean && npx tsc", "build": "yarn clean && tsc",
"test": "echo \"Error: run tests from root\" && exit 1" "test": "echo \"Error: run tests from root\" && exit 1"
}, },
"devDependencies": { "devDependencies": {