-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "nextjs-ts-antd-redux-storybook-jest-starter",
"version": "0.1.1",
"description": "Next.js + TypeScript Project Starter",
"title": "Next.js Project Template",
"author": "JackySummer",
"keywords": [
"react",
"nextjs",
"nextjs-starter",
"nextjs-template",
"typescript",
"redux",
"redux-saga",
"ant-design",
"styled-components",
"storybook",
"jest",
"enzyme"
],
"repository": {
"type": "git",
"url": "https://github.com/Jacky-Summer/nextjs-ts-antd-redux-storybook-starter"
},
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"commit": "git-cz",
"test": "jest",
"coverage": "yarn jest --coverage",
"lint": "yarn lint:eslint && yarn lint:css",
"lint:eslint": "eslint --ext js,jsx,ts,tsx .",
"lint:css": "stylelint **/*.{ts,tsx}",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"tsc:client": "tsc --noEmit -p tsconfig.json",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o ./dist_storybook",
"bump-version": "standard-version --skip.commit --skip.tag"
},
"husky": {
"hooks": {
"commit-msg": "commitlint --config .commitlintrc.js -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged && yarn tsc",
"pre-push": "yarn test"
}
},
"lint-staged": {
"*.{tsx,ts,js,jsx}": [
"stylelint",
"prettier --write",
"eslint --fix"
],
"*.{md,json,yaml,yml}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@ant-design/icons": "^4.3.0",
"antd": "^4.9.3",
"axios": "^0.21.0",
"i18next": "^19.8.4",
"next": "10.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-i18next": "^11.8.4",
"react-redux": "^7.2.2",
"redux": "^4.0.5",
"redux-saga": "^1.1.3",
"styled-components": "^5.2.1",
"styled-normalize": "^8.0.7"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/addon-storyshots": "^6.1.11",
"@storybook/react": "^6.1.11",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.19",
"@types/node": "^14.14.11",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-redux": "^7.1.12",
"@types/redux-saga": "^0.10.5",
"@types/styled-components": "^5.1.5",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"babel-plugin-import": "^1.13.3",
"babel-plugin-styled-components": "^1.12.0",
"cz-conventional-changelog": "^3.3.0",
"enzyme": "^3.11.0",
"eslint": "^7.15.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-unicorn": "^23.0.0",
"husky": "^4.3.5",
"identity-obj-proxy": "^3.0.0",
"jest": "^26.6.3",
"jest-specific-snapshot": "^4.0.0",
"jest-styled-components": "^7.0.3",
"lint-staged": "^10.5.3",
"next-redux-wrapper": "^6.0.2",
"prettier": "^2.2.1",
"redux-devtools-extension": "^2.13.8",
"standard-version": "^9.0.0",
"storybook-addon-next-router": "^2.0.3",
"stylelint": "^13.8.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^4.1.0",
"stylelint-processor-styled-components": "^1.10.0",
"typescript": "^4.1.2"
}
}