Merge pull request #87 from LarsKumbier/master

Fix linting issues after build, import proper es2015 lib
This commit is contained in:
Alexander Zeitler 2019-07-30 11:11:38 +02:00 committed by GitHub
commit 01afd0a9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"scripts": {
"test": "jest test --verbose",
"eslint": "./node_modules/.bin/eslint .",
"eslint": "eslint src/**/*.ts test/**/*.ts",
"build": "tsc",
"prepublishOnly": "tsc"
},
@ -42,7 +42,8 @@
"name": "Sergey Falinsky"
},
{
"name": "Lars Kumbier"
"name": "Lars Kumbier",
"url": "https://kumbier.it"
},
{
"name": "Paweł Niedzielski"

View file

@ -4,7 +4,7 @@
// "incremental": true, /* Enable incremental compilation */
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */
"lib": ["es2015"], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */