-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.51 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
{
"name": "@svgr-rs/svgrs-plugin",
"version": "0.2.0",
"packageManager": "pnpm@7.23.0",
"description": "Use svgr-rs with vite and webpack",
"license": "MIT",
"engines": {
"node": ">=14"
},
"homepage": "https://github.com/svg-rust/svgrs-plugin#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/svg-rust/svgrs-plugin.git"
},
"bugs": {
"url": "https://github.com/svg-rust/svgrs-plugin/issues",
"email": "jiangweixian1994@gmail.com"
},
"author": {
"name": "JW",
"email": "jiangweixian1994@gmail.com",
"url": "https://twitter.com/jiangweixian"
},
"files": ["dist"],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/exports/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
},
"./vite": {
"types": "./dist/exports/vite.d.ts",
"require": "./dist/vite.cjs",
"import": "./dist/vite.mjs"
},
"./webpack": {
"types": "./dist/exports/webpack.d.ts",
"require": "./dist/webpack.cjs",
"import": "./dist/webpack.mjs"
}
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/exports/index.d.ts",
"scripts": {
"build:lib": "rollup -c --silent",
"build:dts": "ttsc",
"build": "rimraf dist && run-p build:*",
"dev": "rollup -c -w",
"test": "vitest",
"prepublishOnly": "publish-police",
"pretest": "pnpm run build",
"release": "pnpm run build && np --no-cleanup --yolo --no-publish --any-branch",
"ci:version": "pnpm changeset version",
"ci:publish": "pnpm run build && pnpm changeset publish",
"ci:snapshot": "pnpm changeset version --snapshot snapshot",
"ci:prerelease": "pnpm run build && pnpm changeset publish --no-git-tag --snapshot",
"lint:fix": "eslint . --fix",
"prepare": "husky install",
"play:vite": "pnpm --filter=./examples/vite dev",
"play:webpack": "pnpm --filter=./examples/webpack dev",
"bundle:vite": "pnpm --filter=./examples/vite build",
"bundle:webpack": "pnpm --filter=./examples/webpack build",
"bundle": "pnpm --filter=./examples/** build"
},
"lint-staged": {
"**/**/*.{js,ts,tsx,vue,json}": ["eslint --fix"]
},
"peerDependencies": {
"vite": "^3 || ^4",
"webpack": "^5"
},
"peerDependenciesMeta": {
"vite": {
"optional": true
},
"webpack": {
"optional": true
}
},
"dependencies": {
"@rollup/pluginutils": "^5.0.2",
"@svgr-rs/core": "^0.0.12",
"svgo": "^3.0.2"
},
"devDependencies": {
"@aiou/eslint-config": "0.10.0",
"@changesets/cli": "2.21.1",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-commonjs": "24.0.1",
"@rollup/plugin-node-resolve": "15.0.1",
"@types/node": "17.0.22",
"cz-emoji": "1.3.1",
"esbuild": "^0.17.18",
"eslint": "8.11.0",
"esrua": "0.2.1",
"husky": "7.0.4",
"lint-staged": "11.2.6",
"npm-run-all": "^4.1.5",
"publish-police": "^0.0.3",
"rimraf": "3.0.2",
"rollup": "3.19.1",
"rollup-plugin-condition-exports": "2.0.0-next.3",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-node-externals": "5.1.2",
"ts-node": "^10.7.0",
"tslib": "2.4.0",
"ttypescript": "1.5.15",
"typescript": "4.4.3",
"typescript-transform-paths": "3.3.1",
"vite": "^4.3.2",
"vitest": "0.10.0",
"webpack": "^5.80.0"
},
"typesVersions": {
"*": {
"vite": ["dist/exports/vite.d.ts"],
"webpack": ["dist/exports/webpack.d.ts"]
}
}
}