diff --git a/package.json b/package.json index f98393a..fe1aa2e 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "scripts": { "lint": "eslint src/*.ts test/*.spec.ts examples/* --ext .js,.ts", "prebuild": "rimraf dist", - "build": "tsc --module es6 && rollup -c rollup.config.ts && typedoc --out docs --target es6 --mode modules src", + "build": "rollup -c rollup.config.ts && typedoc --out docs --target es6 --mode modules src", "release": "npm run build && np", "start": "rollup -c rollup.config.ts -w", "test": "jest --coverage", diff --git a/tsconfig.json b/tsconfig.json index 0fdc9e0..7b88719 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,12 +3,7 @@ "moduleResolution": "node", "target": "es5", "module": "es2015", - "lib": [ - "es2015", - "es2016", - "es2017", - "dom" - ], + "lib": ["es2015", "es2016", "es2017", "dom"], "strict": true, "sourceMap": true, "declaration": true, @@ -16,13 +11,8 @@ "experimentalDecorators": true, "emitDecoratorMetadata": true, "declarationDir": "dist/types", - "outDir": "build" + "outDir": "dist" }, - "include": [ - "src" - ], - "exclude": [ - "node_modules", - "typings" - ] -} \ No newline at end of file + "include": ["src"], + "exclude": ["node_modules", "typings"] +}