diff --git a/package.json b/package.json index e5d8667..d1c72e3 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "prepublish": "npm run tsc", "clean:build": "npm run rimraf -- **/*.js **/*.d.ts **/*.map index.js index.d.ts index.js.map", - "clean": "npm run clean:build && npm run rimraf -- node_modules && npm cache clean", + "clean": "npm run rimraf -- node_modules && npm cache clean", "rimraf": "rimraf", "tsc": "tsc -p src" }, @@ -31,7 +31,7 @@ "url": "https://github.com/bfwg/angular2-drag-scroll.git" }, "homepage": "https://github.com/bfwg/angular2-drag-scroll#readme", - "dependencies": { + "peerDependencies": { "@angular/common": "~2.2.0", "@angular/compiler": "~2.2.0", "@angular/core": "~2.2.0", @@ -39,9 +39,11 @@ "@angular/platform-browser-dynamic": "~2.2.0" }, "devDependencies": { - "@types/node": "^6.0.42", - "@types/selenium-webdriver": "~2.53.39", - "@types/jasmine": "2.5.38", + "@angular/common": "~2.2.0", + "@angular/compiler": "~2.2.0", + "@angular/core": "~2.2.0", + "@angular/platform-browser": "~2.2.0", + "@angular/platform-browser-dynamic": "~2.2.0", "rxjs": "5.0.0-beta.12", "rimraf": "2.5.4", "typescript": "2.0.3" diff --git a/src/tsconfig.json b/src/tsconfig.json index 7ff44ff..9af3dd5 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -1,19 +1,18 @@ { "compilerOptions": { - "baseUrl": "", - "declaration": false, + "target": "es6", + "module": "commonjs", + "moduleResolution": "node", + "sourceMap": false, + "lib": ["es2015", "es6", "dom"], "emitDecoratorMetadata": true, "experimentalDecorators": true, - "lib": ["es6", "dom"], - "mapRoot": "./", - "module": "es6", - "moduleResolution": "node", - "outDir": "../", - "sourceMap": true, - "target": "es5", - "typeRoots": [ - "../node_modules/@types" - ] + "removeComments": true, + "noImplicitAny": true, + "suppressImplicitAnyIndexErrors": true, + "declaration": true, + "noEmitHelpers": false, + "outDir": "../" }, "exclude": [ "node_modules"