add build script

This commit is contained in:
Rinat Arsaev 2018-09-16 01:44:41 +03:00
parent eebee1d4fa
commit 791bd6dbba

View File

@ -4,7 +4,8 @@
"description": "parse .thrift file to .d.ts", "description": "parse .thrift file to .d.ts",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"test": "tsc && mocha" "build": "tsc",
"test": "npm run build && mocha"
}, },
"repository": { "repository": {
"url": "https://github.com/windwhinny/thrift-ts.git", "url": "https://github.com/windwhinny/thrift-ts.git",