-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.64 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
{
"private": true,
"name": "react-router-examples",
"version": "1.0.0",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs-version:build": "cross-env BUIDL_DOC_VERSION=version npm run docs:build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build",
"deploy": "npm run docs:build && npm run docs:deploy",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"prepublishOnly": "npm run build",
"commit": "cz",
"lint:js": "eslint --ext .js,.jsx,.ts,.tsx src",
"lint-fix:js": "npm run lint:js -- --fix",
"lint:style": "stylelint src/**/*.less",
"lint-fix:style": "npm run lint:stylelint -- --fix"
},
"module": "es/index.js",
"typings": "es/index.d.ts",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "npx --no -- commitlint --edit \"$1\""
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/doly-dev/react-router-examples.git"
},
"dependencies": {
"react": "^16.12.0 || ^17.0.0",
"react-router-dom-v6": "npm:react-router-dom@6",
"react-transition-group": "^4.4.2"
},
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@reach/dialog": "^0.16.2",
"@reach/visually-hidden": "^0.16.0",
"@stackblitz/sdk": "^1.5.3",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^12.1.2",
"@types/jest": "^27.0.3",
"@types/react-transition-group": "^4.4.4",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.9.0",
"@umijs/fabric": "^2.8.1",
"@umijs/test": "^3.0.5",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"dumi": "^1.1.0",
"eslint": "^8.6.0",
"eslint-plugin-react": "^7.28.0",
"father-build": "^1.17.2",
"gh-pages": "^3.0.0",
"jsurl": "^0.1.5",
"lint-staged": "^10.0.7",
"prettier": "^2.2.1",
"prettier-plugin-two-style-order": "^1.0.1",
"stylelint": "^14.2.0",
"stylelint-config-css-modules": "^2.3.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^24.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.5.0",
"stylelint-no-unsupported-browser-features": "^5.0.2",
"yorkie": "^2.0.0"
}
}