Skip to content

Commit

Permalink
[added] tslint
Browse files Browse the repository at this point in the history
Reviewers: #material_motion, O2 Material Motion, markwei

Reviewed By: #material_motion, O2 Material Motion, markwei

Tags: #material_motion

Differential Revision: http://codereview.cc/D2189
  • Loading branch information
appsforartists committed Dec 9, 2016
1 parent 168bd0f commit e14ec1a
Show file tree
Hide file tree
Showing 5 changed files with 373 additions and 11 deletions.
2 changes: 2 additions & 0 deletions packages/demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"start": "node ./devServer.js",
"clean": "rm -rf ./site/dist/*; mkdir -p ./site/dist/",
"lint": "$( yarn bin )/tslint -c ../../tslint.json --project tsconfig.json",
"build": "yarn run clean; node ./build.js",
"deploy": "yarn run build; $( yarn bin )/firebase deploy"
},
Expand All @@ -18,6 +19,7 @@
"firebase-tools": "3.2.0",
"pundle-dev": "1.1.11",
"tslib": "^1.2.0",
"tslint": "4.0.2",
"typescript": "2.1",
"typescript-pundle": "1.0.1"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/demos/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["./src/**/*"],
"exclude": ["**/*.test.*"],
"compilerOptions": {
"outDir": "dist"
}
}
2 changes: 2 additions & 0 deletions packages/streams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"types": "src/index.ts",
"scripts": {
"test": "$( yarn bin )/karma start",
"lint": "$( yarn bin )/tslint -c ../../tslint.json --project tsconfig.json",
"clean": "rm -rf ./dist/*; mkdir -p ./dist/",
"build": "yarn run clean; $( yarn bin )/tsc"
},
Expand All @@ -28,6 +29,7 @@
"mocha-sugar-free": "1.3.1",
"sinon": "2.0.0-pre.3",
"sinon-chai": "2.8.0",
"tslint": "4.0.2",
"ts-loader": "0.9.0",
"typescript": "2.1",
"webpack": "2.1.0-beta.25"
Expand Down
Loading

0 comments on commit e14ec1a

Please sign in to comment.