es5 support

This commit is contained in:
Kyle Spearrin 2018-06-05 09:34:08 -04:00
parent 29d0803a5c
commit 82c5a53f5d
4 changed files with 10 additions and 4 deletions

6
package-lock.json generated
View File

@ -171,6 +171,12 @@
"integrity": "sha512-esk3CG25hRtHsVHm+LOjiSFYdw8be3uIY653WUwR43Bro914HSimPgPpqgajkhTJ0awK3RQfaIxP7zvbtCpcyg==",
"dev": true
},
"@types/node": {
"version": "8.0.19",
"resolved": "https://registry.npmjs.org/@types/node/-/node-8.0.19.tgz",
"integrity": "sha512-VRQB+Q0L3YZWs45uRdpN9oWr82meL/8TrJ6faoKT5tp0uub2l/aRMhtm5fo68h7kjYKH60f9/bay1nF7ZpTW5g==",
"dev": true
},
"@types/node-forge": {
"version": "0.6.10",
"resolved": "https://registry.npmjs.org/@types/node-forge/-/node-forge-0.6.10.tgz",

View File

@ -20,6 +20,7 @@
"@angular/compiler-cli": "5.2.0",
"@ngtools/webpack": "1.10.2",
"@types/lunr": "2.1.5",
"@types/node": "8.0.19",
"@types/node-forge": "0.6.10",
"@types/papaparse": "4.1.33",
"@types/webcrypto": "^0.0.28",

2
src/global.d.ts vendored
View File

@ -1,4 +1,2 @@
declare function escape(s: string): string;
declare function unescape(s: string): string;
declare var require: any;
declare var process: any;

View File

@ -4,8 +4,9 @@
"noImplicitAny": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "es6",
"target": "ES2016",
"module": "commonjs",
"target": "es5",
"lib": ["es5", "es6", "dom"],
"allowJs": true,
"sourceMap": true,
"types": [],