-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.74 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
{
"version": "3.0.3",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"name": "@masx200/search-hash-params-router",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/masx200/search-hash-params-router.git"
},
"author": "masx200 <masx200@qq.com>",
"license": "MIT",
"description": "使用 location.search 和 location.hash中查询参数的前端路由器,不需要\"Path-to-RegExp\"了",
"bugs": {
"url": "https://github.com/masx200/search-hash-params-router/issues"
},
"homepage": "https://github.com/masx200/search-hash-params-router#readme",
"scripts": {
"dev-vue": "npm run build && vite example/vue/my-vue-app",
"dev-react": "npm run build && vite example/react/vite-project",
"build-vue": "npm run build && vite build example/vue/my-vue-app",
"build-react": "npm run build && vite build example/react/vite-project",
"build": "rollup -c rollup.config.mjs ",
"format": "prettier *.ts */*/*/*.html */*.cjs --write *.mjs */*.ts */*.js */*/*/*/*.tsx */*/*.ts *.json *.md */*/*.ts */*/*.tsx */*/*/*.ts */*/*/*.tsx */*/*/*/*.vue */*/*/*/*/*.vue */*/*/*/*.ts */*/*/*/*.css",
"test": "vitest run"
},
"keywords": [],
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/plugin-transform-react-constant-elements": "^7.18.12",
"@babel/plugin-transform-react-jsx": "^7.18.10",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@masx200/event-emitter-target": "^2.0.5",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^14.0.0",
"@types/html-minifier-terser": "^7.0.0",
"@types/lodash": "^4.14.182",
"@types/node": "^18.6.3",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react-refresh": "^1.3.6",
"@vitejs/plugin-vue": "^3.0.1",
"@vue/compiler-sfc": "^3.2.38",
"@vue/runtime-core": "^3.2.38",
"@vue/runtime-dom": "^3.2.38",
"@vue/server-renderer": "^3.2.38",
"builtin-modules": "^3.3.0",
"caniuse-lite": "^1.0.30001319",
"happy-dom": "^8.9.0",
"html-minifier-terser": "^7.0.0-beta.0",
"lodash": "^4.17.21",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.79.0",
"rollup-external-modules": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^3.0.2",
"terser": "^5.14.2",
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"vite": "^3.0.4",
"vite-plugin-html": "^3.2.0",
"vitest": "^0.29.2",
"vite-plugin-pwa": "^0.14.4",
"vue": "^3.2.38",
"workbox-window": "^6.5.4"
},
"files": [
"dist/index.cjs",
"dist/index.cjs.map",
"dist/index.js.map",
"dist/index.d.ts",
"dist/index.js"
],
"peerDependencies": {
"@types/react": "18",
"@types/react-dom": "18",
"@vue/runtime-core": "3",
"@vue/runtime-dom": "3"
},
"dependencies": {
"@masx200/event-emitter-target": "^2.0.5",
"lodash": "^4.17.21"
},
"resolutions": {
"async": "3.2.3",
"ejs": "3.1.7",
"object-path": "0.11.8",
"nanoid": "3.1.31",
"terser": "^5.14.2",
"minimist": "1.2.6"
}
}