Skip to content

Commit f2897f7

Browse files
authored
update test dependencies & templates (#68)
* update test dependencies * update eslint config and commands * use correct version number in templates
1 parent fef7e03 commit f2897f7

File tree

10 files changed

+692
-731
lines changed

10 files changed

+692
-731
lines changed

src/feature-tests/.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"plugins": ["prettier"],
44
"rules": {
55
"prettier/prettier": "error",
6-
"import/prefer-default-export": ["off", "never"]
6+
"import/prefer-default-export": ["off", "never"],
7+
"react/jsx-no-undef": ["off", "never"]
78
},
89
"env": {
910
"mocha": true

src/feature-tests/package-lock.json

Lines changed: 671 additions & 713 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/feature-tests/package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,29 @@
33
"version": "0.0.0",
44
"scripts": {
55
"test": "mocha --require babel-register.js 'src/index.spec.js' --timeout 30000",
6-
"lint": "prettier --write './**/*.js' && eslint './**/*.js'"
6+
"format": "prettier --write './**/*.js'",
7+
"lint": "eslint './**/*.js'"
78
},
89
"dependencies": {
910
"babel-plugin-dynamic-import-node": "^1.2.0",
10-
"babel-plugin-module-resolver": "^3.1.0",
11-
"babel-preset-env": "^1.6.1",
12-
"babel-runner": "^1.0.0",
11+
"babel-plugin-module-resolver": "^3.1.1",
1312
"chai": "^4.1.2",
1413
"fs-extra": "^5.0.0",
15-
"mocha": "^5.0.4",
16-
"shelljs": "^0.8.1",
14+
"mocha": "^5.2.0",
15+
"shelljs": "0.8.1",
1716
"to-time": "^1.0.2"
1817
},
1918
"devDependencies": {
20-
"babel-eslint": "^8.2.2",
21-
"eslint": "^4.18.2",
19+
"babel-eslint": "^8.2.6",
20+
"babel-preset-env": "^1.7.0",
21+
"babel-runner": "^1.0.1",
22+
"eslint": "^5.4.0",
2223
"eslint-config-airbnb-base": "^12.1.0",
23-
"eslint-config-dev-toolkit": "^1.0.0",
24+
"eslint-config-dev-toolkit": "^1.0.2",
2425
"eslint-config-prettier": "2.9.0",
2526
"eslint-import-resolver-babel-module": "4.0.0",
26-
"eslint-plugin-import": "^2.9.0",
27+
"eslint-plugin-import": "^2.14.0",
28+
"eslint-plugin-jsx-control-statements": "^2.2.1",
2729
"eslint-plugin-prettier": "2.6.0",
2830
"prettier": "^1.11.1"
2931
}

src/packages/dev-toolkit/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/packages/dev-toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dev-toolkit",
3-
"version": "7.0.6",
3+
"version": "7.0.7",
44
"description": "Universal Development Toolkit for React Veterans",
55
"main": "dev-toolkit.js",
66
"files": [

src/templates/minimal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"babel-preset-dev-toolkit": "^1.0.3",
1414
"cross-env": "^5.1.5",
15-
"dev-toolkit": "^7.0.5",
15+
"dev-toolkit": "^7.0.7",
1616
"express": "^4.16.3",
1717
"react": "^16.3.2",
1818
"react-dom": "^16.3.2"

src/templates/serverless/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"babel-preset-dev-toolkit": "^1.0.3",
1515
"clear-module": "^2.1.0",
1616
"cross-env": "^5.1.5",
17-
"dev-toolkit": "^7.0.5",
17+
"dev-toolkit": "^7.0.7",
1818
"express": "^4.16.3",
1919
"express-handlebars": "^3.0.0",
2020
"react": "^16.3.2",

src/templates/standard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"babel-preset-dev-toolkit": "^1.0.3",
3737
"better-npm-run": "^0.1.0",
3838
"clear-module": "^2.1.0",
39-
"dev-toolkit": "^7.0.5",
39+
"dev-toolkit": "^7.0.7",
4040
"express": "^4.16.3",
4141
"express-handlebars": "^3.0.0",
4242
"react": "^16.3.2",

src/templates/with-eslint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"babel-preset-dev-toolkit": "^1.0.3",
4444
"better-npm-run": "^0.1.0",
4545
"clear-module": "^2.1.0",
46-
"dev-toolkit": "^7.0.5",
46+
"dev-toolkit": "^7.0.7",
4747
"express": "^4.16.3",
4848
"express-handlebars": "^3.0.0",
4949
"react": "^16.3.2",

src/templates/with-sass/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"cross-env": "^5.1.5",
2020
"css-loader": "^0.28.11",
2121
"css-modules-require-hook": "^4.2.3",
22-
"dev-toolkit": "^7.0.5",
22+
"dev-toolkit": "^7.0.7",
2323
"express": "^4.16.3",
2424
"express-handlebars": "^3.0.0",
2525
"extract-text-webpack-plugin": "^4.0.0-beta.0",

0 commit comments

Comments
 (0)