Skip to content

Commit 575f356

Browse files
committed
fix: adjust to a new template format
- add "package" property to the "template.json" and place all the scripts and deps under it
1 parent ace2aaa commit 575f356

File tree

1 file changed

+35
-33
lines changed

1 file changed

+35
-33
lines changed

template.json

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
11
{
2-
"dependencies": {
3-
"@types/enzyme": "3.10.4",
4-
"@types/enzyme-adapter-react-16": "1.0.5",
5-
"@types/jest": "25.1.1",
6-
"@types/node": "12.12.26",
7-
"@types/react": "16.9.19",
8-
"@types/react-dom": "16.9.5",
9-
"@types/react-redux": "7.1.7",
10-
"@types/react-router-dom": "5.1.3",
11-
"@typescript-eslint/eslint-plugin": "2.18.0",
12-
"@typescript-eslint/parser": "2.18.0",
13-
"enzyme": "3.11.0",
14-
"enzyme-adapter-react-16": "1.15.2",
15-
"eslint": "6.8.0",
16-
"eslint-config-airbnb-typescript": "6.3.1",
17-
"eslint-config-prettier": "6.10.0",
18-
"eslint-plugin-import": "2.20.1",
19-
"eslint-plugin-jsx-a11y": "6.2.3",
20-
"eslint-plugin-prettier": "3.1.2",
21-
"eslint-plugin-react": "7.18.3",
22-
"eslint-plugin-react-hooks": "2.3.0",
23-
"prettier": "1.19.1",
24-
"react-redux": "7.1.3",
25-
"react-router-dom": "5.1.2",
26-
"react-scripts": "3.3.1",
27-
"redux": "4.0.5",
28-
"redux-devtools-extension": "2.13.8",
29-
"redux-mock-store": "1.5.4",
30-
"typescript": "3.7.5"
31-
},
32-
"scripts": {
33-
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./",
34-
"fix": "eslint --ext .js,.jsx,.ts,.tsx --fix ./"
2+
"package": {
3+
"dependencies": {
4+
"@types/enzyme": "3.10.4",
5+
"@types/enzyme-adapter-react-16": "1.0.5",
6+
"@types/jest": "25.1.1",
7+
"@types/node": "12.12.26",
8+
"@types/react": "16.9.19",
9+
"@types/react-dom": "16.9.5",
10+
"@types/react-redux": "7.1.7",
11+
"@types/react-router-dom": "5.1.3",
12+
"@typescript-eslint/eslint-plugin": "2.18.0",
13+
"@typescript-eslint/parser": "2.18.0",
14+
"enzyme": "3.11.0",
15+
"enzyme-adapter-react-16": "1.15.2",
16+
"eslint": "6.8.0",
17+
"eslint-config-airbnb-typescript": "6.3.1",
18+
"eslint-config-prettier": "6.10.0",
19+
"eslint-plugin-import": "2.20.1",
20+
"eslint-plugin-jsx-a11y": "6.2.3",
21+
"eslint-plugin-prettier": "3.1.2",
22+
"eslint-plugin-react": "7.18.2",
23+
"eslint-plugin-react-hooks": "2.3.0",
24+
"prettier": "1.19.1",
25+
"react-redux": "7.1.3",
26+
"react-router-dom": "5.1.2",
27+
"react-scripts": "3.3.1",
28+
"redux": "4.0.5",
29+
"redux-devtools-extension": "2.13.8",
30+
"redux-mock-store": "1.5.4",
31+
"typescript": "3.7.5"
32+
},
33+
"scripts": {
34+
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./",
35+
"fix": "eslint --ext .js,.jsx,.ts,.tsx --fix ./"
36+
}
3537
}
3638
}

0 commit comments

Comments
 (0)