Skip to content

Commit 406c244

Browse files
Last build
2 parents aa63e92 + 109efbf commit 406c244

29 files changed

+718
-1096
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ npm-debug.log*
1515
yarn-error.log*
1616

1717
.vscode
18+
.DS_Store

.templates/default/nightwatch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
"selenium" : {
66
"start_process" : true,
7-
"server_path" : "./bin_tools/selenium-server-standalone-3.3.1.jar",
7+
"server_path" : "./bin_tools/selenium-server-standalone-3.7.1.jar",
88
"log_path" : "",
99
"port" : 4444,
1010
"cli_args" : {

.templates/default/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build:test": "cross-env NODE_ENV=test tsc -p ./tsconfig.test.json",
1515
"check": "tslint -t codeFrame \"src/**/*.ts\"",
1616
"clean": "shx rm -rf build",
17+
"cy:open": "cypress open",
1718
"dev": "gazeall --runs-npm \"clean build\" \"src/**/*\"",
1819
"devwatch": "gazeall --delay 350 --run \"node build/main.js\" \"build/**/*\"",
1920
"doc": "typedoc --module commonjs --target ES5 --ignoreCompilerErrors --exclude node_modules --out $npm_package_config_doc_folder src",
@@ -61,6 +62,7 @@
6162
"core-js": "^2.5.1",
6263
"cross-env": "^5.0.5",
6364
"cross-var": "^1.0.3",
65+
"cypress": "^1.0.2",
6466
"gazeall": "^0.2.5",
6567
"husky": "^0.14.3",
6668
"nightwatch": "^0.9.16",

.templates/javascript/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"ava": "ava --tap \"src/**/*/test.*.js\"|tap-summary",
1111
"ava:coverage": "nyc ava --tap \"src/**/*/test.*.js\"|tap-summary",
1212
"check": "eslint \"src/**/*.js\"",
13+
"cy:open": "cypress open",
1314
"devwatch": "gazeall --run \"node src/main.js\" \"src/**/*\"",
1415
"doc": "esdoc",
1516
"format": "prettier --write \"src/**/*.js\"",
@@ -42,6 +43,7 @@
4243
"core-js": "^2.5.1",
4344
"cross-env": "^5.0.5",
4445
"cross-var": "^1.0.3",
46+
"cypress": "^1.0.2",
4547
"esdoc": "^1.0.3",
4648
"esdoc-standard-plugin": "^1.0.0",
4749
"eslint": "^4.6.0",

.templates/javascript/tslint.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"rules": {
3+
"adjacent-overload-signatures": true,
4+
"no-internal-module": true,
5+
"no-magic-numbers": true,
6+
"no-reference": true,
7+
"prefer-for-of": true,
8+
"curly": true,
9+
"no-arg": true,
10+
"no-bitwise": true,
11+
"no-conditional-assignment": true,
12+
"no-debugger": true,
13+
"no-empty": true,
14+
"no-invalid-this": true,
15+
"no-null-keyword": true,
16+
"no-shadowed-variable": true,
17+
"no-var-keyword": true,
18+
"switch-default": true,
19+
"triple-equals": [
20+
true,
21+
"allow-null-check"
22+
],
23+
"indent": [
24+
true,
25+
"spaces"
26+
],
27+
"eofline": true,
28+
"no-duplicate-imports": true,
29+
"typeof-compare": true,
30+
"linebreak-style": [true, "LF"],
31+
"no-require-imports": true,
32+
"prefer-const": true,
33+
"interface-name": [true, "never-prefix"],
34+
"interface-over-type-literal": true ,
35+
"jsdoc-format": true,
36+
"new-parens": true,
37+
"no-trailing-whitespace": true,
38+
"trailing-comma": [
39+
true, {"multiline": "always",
40+
"singleline": "never"}
41+
],
42+
"one-variable-per-declaration": [
43+
true,
44+
"ignore-for-loop"
45+
],
46+
"no-duplicate-variable": true,
47+
"class-name": true,
48+
"no-unnecessary-initializer": true,
49+
"comment-format": [
50+
true,
51+
"check-space"
52+
],
53+
"no-eval": true,
54+
"no-unsafe-finally": true,
55+
"one-line": [
56+
true,
57+
"check-open-brace",
58+
"check-whitespace"
59+
],
60+
"quotemark": [
61+
true,
62+
"double"
63+
],
64+
"semicolon": [
65+
true,
66+
"always"
67+
],
68+
"typedef-whitespace": [
69+
true,
70+
{
71+
"call-signature": "nospace",
72+
"index-signature": "nospace",
73+
"parameter": "nospace",
74+
"property-declaration": "nospace",
75+
"variable-declaration": "nospace"
76+
}
77+
],
78+
"variable-name": [
79+
true,
80+
"ban-keywords"
81+
],
82+
"whitespace": [
83+
true,
84+
"check-branch",
85+
"check-decl",
86+
"check-operator",
87+
"check-separator",
88+
"check-type"
89+
]
90+
}
91+
}

.templates/node/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build:test": "cross-env NODE_ENV=test tsc -p ./tsconfig.test.json",
1515
"check": "tslint -t codeFrame \"src/**/*.ts\"",
1616
"clean": "shx rm -rf build",
17+
"cy:open": "cypress open",
1718
"dev": "gazeall --runs-npm \"clean build\" \"src/**/*\"",
1819
"devwatch": "gazeall --delay 350 --run \"node build/main.js\" \"build/**/*\"",
1920
"doc": "typedoc --module commonjs --target ES5 --ignoreCompilerErrors --exclude node_modules --out $npm_package_config_doc_folder src",
@@ -51,6 +52,7 @@
5152
"core-js": "^2.4.1",
5253
"cross-env": "^4.0.0",
5354
"cross-var": "^1.0.3",
55+
"cypress": "^1.0.2",
5456
"gazeall": "^0.2.5",
5557
"husky": "^0.13.4",
5658
"browser-sync": "^2.3.0",

.templates/node/tsfmt.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
{
2+
"baseIndentSize": 0,
23
"indentSize": 2,
34
"tabSize": 2,
5+
"indentStyle": 2,
46
"newLineCharacter": "\n",
57
"convertTabsToSpaces": true,
68
"insertSpaceAfterCommaDelimiter": true,
79
"insertSpaceAfterSemicolonInForStatements": true,
810
"insertSpaceBeforeAndAfterBinaryOperators": true,
11+
"insertSpaceAfterConstructor": false,
912
"insertSpaceAfterKeywordsInControlFlowStatements": true,
1013
"insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
1114
"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": true,
1215
"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
16+
"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
1317
"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": true,
18+
"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
19+
"insertSpaceAfterTypeAssertion": false,
20+
"insertSpaceBeforeFunctionParenthesis": false,
1421
"placeOpenBraceOnNewLineForFunctions": false,
1522
"placeOpenBraceOnNewLineForControlBlocks": false
1623
}

.templates/node/tslint.json

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"rules": {
33
"adjacent-overload-signatures": true,
4-
"no-magic-numbers": false,
4+
"no-internal-module": true,
5+
"no-magic-numbers": true,
6+
"no-reference": true,
57
"prefer-for-of": true,
68
"curly": true,
79
"no-arg": true,
@@ -14,39 +16,41 @@
1416
"no-shadowed-variable": true,
1517
"no-var-keyword": true,
1618
"switch-default": true,
17-
"typeof-compare": true,
19+
"triple-equals": [
20+
true,
21+
"allow-null-check"
22+
],
23+
"indent": [
24+
true,
25+
"spaces"
26+
],
1827
"eofline": true,
28+
"no-duplicate-imports": true,
29+
"typeof-compare": true,
1930
"linebreak-style": [true, "LF"],
2031
"no-require-imports": true,
2132
"prefer-const": true,
2233
"interface-name": [true, "never-prefix"],
34+
"interface-over-type-literal": true ,
35+
"jsdoc-format": true,
36+
"new-parens": true,
37+
"no-trailing-whitespace": true,
2338
"trailing-comma": [
24-
true, {"multiline": "never",
39+
true, {"multiline": "always",
2540
"singleline": "never"}
2641
],
27-
"jsdoc-format": true,
2842
"one-variable-per-declaration": [
2943
true,
3044
"ignore-for-loop"
3145
],
3246
"no-duplicate-variable": true,
33-
"triple-equals": [
34-
true,
35-
"allow-null-check"
36-
],
3747
"class-name": true,
3848
"no-unnecessary-initializer": true,
3949
"comment-format": [
4050
true,
4151
"check-space"
4252
],
43-
"indent": [
44-
true,
45-
"spaces"
46-
],
4753
"no-eval": true,
48-
"no-internal-module": true,
49-
"no-trailing-whitespace": true,
5054
"no-unsafe-finally": true,
5155
"one-line": [
5256
true,

0 commit comments

Comments
 (0)