-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
84 lines (84 loc) · 2.12 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
{
"name": "@svg-use/react",
"version": "0.4.3",
"description": "Tools and bundler plugins for loading SVG images via use[href], for use in components.",
"license": "MIT",
"author": "Fotis Papadogeorgopoulos <[email protected]> (https://fotis.xyz)",
"repository": {
"type": "git",
"url": "https://github.com/fpapado/svg-use.git",
"directory": "packages/react"
},
"bugs": {
"url": "https://github.com/fpapado/svg-use/issues"
},
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./package.json": "./package.json"
},
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist/**/*",
"env.rollup.d.ts",
"env.webpack.d.ts",
"!dist/**/*.tsbuildinfo"
],
"scripts": {
"api-docs": "typedoc && prettier api-docs --write",
"api-docs:watch": "typedoc --watch",
"build": "pnpm build:lib",
"build:lib": "tshy",
"build:lib:watch": "tshy --watch",
"check-types": "tsc --noEmit",
"check-types:watch": "tsc --noEmit --watch",
"dev": "npm-run-all --parallel build:lib:watch test",
"lint": "npm-run-all \"lint:*\"",
"lint:prettier": "pnpm prettier --check .",
"lint:scripts": "eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0",
"prepublishOnly": "pnpm build && publint && attw --config-path ./.attw.json --pack",
"test": "vitest"
},
"types": "./dist/commonjs/index.d.ts",
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@types/react": "18.3.18"
},
"keywords": [
"loader",
"performance",
"plugin",
"rollup",
"svg",
"vite",
"webpack"
],
"tshy": {
"exclude": [
"src/**/*.spec.*",
"src/**/test/"
],
"exports": {
".": "./src/index.ts",
"./package.json": "./package.json"
}
}
}