Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"clean": "rm -rf ./dist",
"build": "npm run clean && tsc && cp -r ./src/artifacts ./dist/src/ && cp ./src/*.json ./dist/src/ && cp -r ./src/lib ./dist/src/",
"lint": "tslint src/**/*.ts",
"test": "npm run build && node ./dist/test/test",
"testunit": "npm run build && mocha --timeout 15000 dist/test/unit/*.js ",
"testdeploy": "npm run build && node ./dist/test/deploy",
Expand All @@ -25,6 +26,7 @@
"dirty-chai": "^2.0.1",
"mocha": "^4.0.1",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"typings": "^2.1.1"
},
"dependencies": {
Expand Down
14 changes: 14 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"indent": [true, "spaces", 4],
"quotemark": [true, "single"],
"curly": [true, "ignore-same-line"],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]
},
"rulesDirectory": []
}