This repository was archived by the owner on Feb 16, 2021. It is now read-only.
File tree 5 files changed +19
-8
lines changed
5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
+ "extends": "eslint:recommended",
2
3
"env": {
3
4
"browser": true,
4
5
"node": true
7
8
"modules": true
8
9
},
9
10
"rules": {
10
- "new-cap": 0,
11
- "no-shadow": 0,
12
- "quotes": [2, "single"],
13
- "comma-dangle": "always"
11
+ "semi": 1
14
12
}
15
13
}
Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ node_js :
3
+ - " 0.12"
4
+ before_script :
5
+ - export DISPLAY=:99.0
6
+ - sh -e /etc/init.d/xvfb start
Original file line number Diff line number Diff line change 11
11
12
12
** Note** : Gaps between patch versions are faulty/broken releases.
13
13
14
+ ## v0.2.5
15
+
16
+ - ** New Feature**
17
+ - Added possibility to define patterns with regex flags (thanks @emiloberg )
18
+
14
19
## v0.2.4
15
20
16
21
- ** New Feature**
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ var types = {
75
75
return predicate ? t . subtype ( util . Int , predicate ) : util . Int ;
76
76
} ,
77
77
78
- boolean : function ( s ) {
78
+ boolean : function ( ) {
79
79
return t . Boolean ;
80
80
} ,
81
81
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tcomb-json-schema" ,
3
- "version" : " 0.2.4 " ,
3
+ "version" : " 0.2.5 " ,
4
4
"description" : " Transforms a JSON Schema to a tcomb type" ,
5
5
"main" : " index.js" ,
6
6
"files" : [
7
7
" index.js" ,
8
8
" util.js"
9
9
],
10
10
"scripts" : {
11
- "test" : " mocha"
11
+ "lint" : " eslint index.js" ,
12
+ "test" : " npm run lint && mocha"
12
13
},
13
14
"repository" : {
14
15
"type" : " git" ,
25
26
"tcomb" : " ^2.2.0"
26
27
},
27
28
"devDependencies" : {
28
- "eslint" : " ^1.1.0"
29
+ "eslint" : " 1.10.3" ,
30
+ "mocha" : " 2.4.5"
29
31
},
30
32
"tags" : [
31
33
" tcomb" ,
You can’t perform that action at this time.
0 commit comments