Skip to content

Commit c00ef8a

Browse files
committed
revert tsc config
1 parent 8b087d9 commit c00ef8a

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"prepublish": "npm run tsc",
1414
"clean:build": "npm run rimraf -- **/*.js **/*.d.ts **/*.map index.js index.d.ts index.js.map",
15-
"clean": "npm run clean:build && npm run rimraf -- node_modules && npm cache clean",
15+
"clean": "npm run rimraf -- node_modules && npm cache clean",
1616
"rimraf": "rimraf",
1717
"tsc": "tsc -p src"
1818
},
@@ -31,17 +31,19 @@
3131
"url": "https://github.com/bfwg/angular2-drag-scroll.git"
3232
},
3333
"homepage": "https://github.com/bfwg/angular2-drag-scroll#readme",
34-
"dependencies": {
34+
"peerDependencies": {
3535
"@angular/common": "~2.2.0",
3636
"@angular/compiler": "~2.2.0",
3737
"@angular/core": "~2.2.0",
3838
"@angular/platform-browser": "~2.2.0",
3939
"@angular/platform-browser-dynamic": "~2.2.0"
4040
},
4141
"devDependencies": {
42-
"@types/node": "^6.0.42",
43-
"@types/selenium-webdriver": "~2.53.39",
44-
"@types/jasmine": "2.5.38",
42+
"@angular/common": "~2.2.0",
43+
"@angular/compiler": "~2.2.0",
44+
"@angular/core": "~2.2.0",
45+
"@angular/platform-browser": "~2.2.0",
46+
"@angular/platform-browser-dynamic": "~2.2.0",
4547
"rxjs": "5.0.0-beta.12",
4648
"rimraf": "2.5.4",
4749
"typescript": "2.0.3"

src/tsconfig.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
{
22
"compilerOptions": {
3-
"baseUrl": "",
4-
"declaration": false,
3+
"target": "es6",
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"sourceMap": false,
7+
"lib": ["es2015", "es6", "dom"],
58
"emitDecoratorMetadata": true,
69
"experimentalDecorators": true,
7-
"lib": ["es6", "dom"],
8-
"mapRoot": "./",
9-
"module": "es6",
10-
"moduleResolution": "node",
11-
"outDir": "../",
12-
"sourceMap": true,
13-
"target": "es5",
14-
"typeRoots": [
15-
"../node_modules/@types"
16-
]
10+
"removeComments": true,
11+
"noImplicitAny": true,
12+
"suppressImplicitAnyIndexErrors": true,
13+
"declaration": true,
14+
"noEmitHelpers": false,
15+
"outDir": "../"
1716
},
1817
"exclude": [
1918
"node_modules"

0 commit comments

Comments
 (0)