-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.44 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
{
"name": "react-next-starter-kit",
"version": "1.0.0",
"license": "MIT",
"scripts": {
"clean": "rimraf ./.next ./.linaria-cache ./coverage",
"build": "yarn clean && next build",
"dev": "yarn clean && next",
"start": "next start",
"lint": "yarn lint:ts && yarn lint:commitlint && yarn lint:prettier && yarn lint:eslint && yarn lint:stylelint",
"lint:ts": "tsc",
"lint:commitlint": "yarn commitlint -c commitlint.config.js",
"lint:eslint": "eslint -c .eslintrc.js --ext .js,.ts,.tsx ./src --color --cache",
"lint:prettier": "prettier -c ./",
"lint:stylelint": "stylelint **/*.{ts,tsx}",
"test": "cross-env NODE_ENV=test jest",
"test:watch": "jest --watch",
"healthcheck": "yarn lint && yarn test && yarn build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{json,md}": [
"prettier --write"
],
"*.(ts,tsx)": [
"tsc --noEmit",
"prettier --write",
"stylelint",
"eslint --color --fix --cache"
]
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
"@commitlint/config-conventional": "^12.1.1",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^13.4.0",
"@types/jest": "^26.0.22",
"@types/ts-nameof": "^4.2.1",
"@typescript-eslint/eslint-plugin": "5.23",
"@typescript-eslint/parser": "5.23",
"babel-plugin-ts-nameof": "^4.2.1",
"commitlint": "^12.1.1",
"cross-env": "^7.0.3",
"eslint": "8.15.0",
"eslint-config-next": "^13.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"next": "^13.1.1",
"next-linaria": "^0.11.0",
"prettier": "2.6.2",
"rimraf": "^3.0.2",
"stylelint": "^13.12.0",
"stylelint-config-standard": "^21.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^4.1.0",
"stylelint-processor-styled-components": "^1.10.0",
"ts-nameof": "^5.0.0"
},
"dependencies": {
"antd": "^5.2.0",
"linaria": "^4.1.11",
"near-api-js": "^1.1.0",
"react": "^18.2.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
"typescript": "^4.9.5"
}
}