Transpile to es5 to support older node versions

This commit is contained in:
Kim Biesbjerg 2016-12-20 15:17:37 +01:00
parent 45adcfcf02
commit 7942e8b8ed
2 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@biesbjerg/ng2-translate-extract",
"version": "0.2.8",
"version": "0.2.9",
"description": "Extract strings from projects using ng2-translate",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@ -39,7 +39,7 @@
},
"homepage": "https://github.com/biesbjerg/ng2-translate-extract",
"engines": {
"node": ">=6.9.0"
"node": ">=4.3.2"
},
"config": {},
"devDependencies": {

View File

@ -5,7 +5,11 @@
"noImplicitAny": true,
"removeComments": true,
"declaration": true,
"target": "ES6",
"target": "es5",
"lib": [
"dom",
"es2015"
],
"module": "commonjs",
"outDir": "./dist/",
"sourceMap": true