-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
91 lines (91 loc) · 2.79 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
{
"name": "generate-history-method-webpack-plugin",
"version": "1.3.1",
"packageManager": "[email protected]",
"description": "A webpack Plugin for automatically generating routing methods based on conventional routing",
"author": "baozouai <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/baozouai/generate-history-method-webpack-plugin",
"repository": {
"type": "git",
"url": "https://github.com/baozouai/generate-history-method-webpack-plugin.git"
},
"bugs": {
"url": "https://github.com/baozouai/generate-history-method-webpack-plugin/issues"
},
"bin": {
"generate-history-method": "dist/generate-history-method.cjs"
},
"keywords": [
"webpack",
"plugin",
"enhance react history",
"webpack-plugin",
"add react history method"
],
"main": "dist/generate-history-method-webpack-plugin.cjs",
"types": "dist/generate-history-method-webpack-plugin.d.ts",
"module": "./dist/generate-history-method-webpack-plugin.mjs",
"files": [
"dist"
],
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint . --fix",
"build": "unbuild",
"tag": "bumpp",
"prepublishOnly": "npm run clean && npm run build",
"release": "npm publish",
"prepare": "husky install",
"demo5:browser": "nr -C playgrounds/react-router-5 start:browser",
"demo5:hash": "nr -C playgrounds/react-router-5 start:hash",
"demo5:js:browser": "nr -C playgrounds/react-router-5-js start:browser",
"demo5:js:hash": "nr -C playgrounds/react-router-5-js start:hash",
"demo6:browser": "nr -C playgrounds/react-router-6 start:browser",
"demo6:hash": "nr -C playgrounds/react-router-6 start:hash",
"demo6:js:browser": "nr -C playgrounds/react-router-6-js start:browser",
"demo6:js:hash": "nr -C playgrounds/react-router-6-js start:hash"
},
"dependencies": {
"glob": "7.2.0",
"schema-utils": "^4.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.36.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@types/glob": "7.2.0",
"@types/node": "^18.15.13",
"bumpp": "^9.1.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.35.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"pnpm": "^8.3.1",
"simple-git-hooks": "^2.8.1",
"typescript": "^5.1.3",
"unbuild": "^1.2.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"src/**/*.ts": "eslint --fix"
}
}