Add useful npm scripts

This commit is contained in:
2020-04-02 19:12:09 +08:00
parent 975c69b4f3
commit 60a5be0a78
2 changed files with 65 additions and 1 deletions

View File

@ -3,7 +3,9 @@
"version": "0.1.0",
"description": "用來代理常見縮網址服務以避免遭受中間人攻擊。",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"dev": "ts-node src/app.ts",
"build": "tsc",
"start": "node dist/app.js"
},
"author": "Pin Lin <moneycat711@gmail.com>",
"license": "MIT",
@ -13,5 +15,8 @@
"axios": "^0.19.2",
"express": "^4.17.1",
"typescript": "^3.8.3"
},
"devDependencies": {
"ts-node": "^8.8.1"
}
}