Skip to content

Commit 1a76442

Browse files
committed
--wip--
1 parent c086a0e commit 1a76442

File tree

3 files changed

+36
-58
lines changed

3 files changed

+36
-58
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
sudo: false
2+
language: node_js
3+
cache:
4+
directories:
5+
- node_modules
6+
notifications:
7+
email: false
8+
node_js:
9+
- 'stable'
10+
before_install:
11+
- npm i -g npm@^2.0.0
12+
before_script:
13+
- npm prune
14+
- npm run lint
15+
- npm run coverage
16+
after_success:
17+
- npm run semantic-release
18+
branches:
19+
except:
20+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
11
{
22
"name": "observable-air",
3-
"version": "1.0.0",
43
"description": "Observables for the calorie conscious",
54
"main": "src/Observable",
65
"scripts": {
76
"test": "ava",
7+
"lint": "tslint ./src/**.ts",
88
"hydra": "node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm chore/benchmark.js",
99
"rfc": "node chore/rfc",
1010
"benchmark": "date >> benchmark.md && node chore/benchmark >> benchmark.md",
11-
"postinstall": "tsc"
11+
"postinstall": "tsc",
12+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
1213
},
1314
"author": "",
1415
"license": "ISC",
1516
"devDependencies": {
1617
"ava": "^0.16.0",
1718
"benchmark": "^2.1.1",
19+
"cz-conventional-changelog": "^1.2.0",
1820
"es-observable-tests": "^0.3.0",
21+
"semantic-release": "^4.3.5",
22+
"tslint-microsoft-contrib": "^2.0.12",
1923
"typescript": "^2.0.3"
24+
},
25+
"repository": {
26+
"type": "git",
27+
"url": "https://github.com/tusharmath/observable-air.git"
28+
},
29+
"config": {
30+
"commitizen": {
31+
"path": "./node_modules/cz-conventional-changelog"
32+
}
2033
}
2134
}

tslint.json

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,3 @@
11
{
2-
"rules": {
3-
"class-name": true,
4-
"comment-format": [
5-
true,
6-
"check-space"
7-
],
8-
"indent": [
9-
true,
10-
"spaces"
11-
],
12-
"no-duplicate-variable": true,
13-
"no-eval": true,
14-
"no-internal-module": true,
15-
"no-trailing-whitespace": true,
16-
"no-unsafe-finally": true,
17-
"no-var-keyword": true,
18-
"one-line": [
19-
true,
20-
"check-open-brace",
21-
"check-whitespace"
22-
],
23-
"quotemark": [
24-
true,
25-
"double"
26-
],
27-
"semicolon": [
28-
false,
29-
"always"
30-
],
31-
"triple-equals": [
32-
true,
33-
"allow-null-check"
34-
],
35-
"typedef-whitespace": [
36-
true,
37-
{
38-
"call-signature": "nospace",
39-
"index-signature": "nospace",
40-
"parameter": "nospace",
41-
"property-declaration": "nospace",
42-
"variable-declaration": "nospace"
43-
}
44-
],
45-
"variable-name": [
46-
true,
47-
"ban-keywords"
48-
],
49-
"whitespace": [
50-
true,
51-
"check-branch",
52-
"check-decl",
53-
"check-operator",
54-
"check-separator",
55-
"check-type"
56-
]
57-
}
2+
"rules-dir": "node_modules/tslint-microsoft-contrib"
583
}

0 commit comments

Comments
 (0)