File tree Expand file tree Collapse file tree 3 files changed +36
-58
lines changed Expand file tree Collapse file tree 3 files changed +36
-58
lines changed Original file line number Diff line number Diff line change
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+$/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " observable-air" ,
3
- "version" : " 1.0.0" ,
4
3
"description" : " Observables for the calorie conscious" ,
5
4
"main" : " src/Observable" ,
6
5
"scripts" : {
7
6
"test" : " ava" ,
7
+ "lint" : " tslint ./src/**.ts" ,
8
8
"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" ,
9
9
"rfc" : " node chore/rfc" ,
10
10
"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"
12
13
},
13
14
"author" : " " ,
14
15
"license" : " ISC" ,
15
16
"devDependencies" : {
16
17
"ava" : " ^0.16.0" ,
17
18
"benchmark" : " ^2.1.1" ,
19
+ "cz-conventional-changelog" : " ^1.2.0" ,
18
20
"es-observable-tests" : " ^0.3.0" ,
21
+ "semantic-release" : " ^4.3.5" ,
22
+ "tslint-microsoft-contrib" : " ^2.0.12" ,
19
23
"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
+ }
20
33
}
21
34
}
Original file line number Diff line number Diff line change 1
1
{
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"
58
3
}
You can’t perform that action at this time.
0 commit comments