prepublish

This commit is contained in:
Rinat Arsaev 2018-09-26 17:03:23 +03:00
parent 507185d148
commit 2d552e7791
2 changed files with 3 additions and 3 deletions

View File

@ -2,10 +2,11 @@
"name": "thrift-ts",
"version": "1.1.5",
"description": "parse .thrift file to .d.ts",
"main": "src/index.js",
"main": "lib/index.js",
"scripts": {
"build": "tsc",
"test": "tsc test/* --outDir test-tmp && mocha"
"test": "tsc test/* --outDir test-tmp && mocha",
"prepublish": "npm run build"
},
"repository": {
"url": "https://github.com/windwhinny/thrift-ts.git",

View File

@ -11,7 +11,6 @@
"target": "ES6",
"lib": ["es2015", "es2016", "es2017", "es2018", "scripthost"],
"experimentalDecorators": true,
"declaration": true,
"outDir": "lib",
"allowJs": true
},