-
Notifications
You must be signed in to change notification settings - Fork 93
/
package.json
110 lines (110 loc) · 3.54 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
{
"name": "react-svg",
"version": "16.2.0",
"description": "A React component that injects SVG into the DOM.",
"main": "dist/index.js",
"module": "dist/react-svg.esm.js",
"jsnext:main": "dist/react-svg.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "run-s clean compile bundle",
"bundle": "rollup -c",
"check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:compiled": "shx rm -rf compiled",
"clean:coverage": "shx rm -rf coverage",
"clean:dist": "shx rm -rf dist",
"clean:react": "ts-node ./scripts/clean-react",
"compile": "tsc -p tsconfig.base.json",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint .",
"postbundle": "npm run clean:compiled && shx cp ./index.js ./dist/index.js",
"release": "tanem-scripts release",
"test": "run-s check:* lint build test:*",
"test:cjs": "jest --config ./config/jest/config.cjs.js",
"test:cjsprod": "jest --config ./config/jest/config.cjsprod.js",
"test:es": "jest --config ./config/jest/config.es.js",
"test:src": "jest --config ./config/jest/config.src.js",
"test:umd": "jest --config ./config/jest/config.umd.js",
"test:umdprod": "jest --config ./config/jest/config.umdprod.js",
"test:react": "ts-node ./scripts/test-react"
},
"repository": "github:tanem/react-svg",
"keywords": [
"dom",
"html",
"images",
"img",
"javascript",
"react",
"scalable vector graphics",
"svg",
"svginjector",
"typescript"
],
"author": "Tane Morgan (https://github.com/tanem)",
"license": "MIT",
"bugs": "https://github.com/tanem/react-svg/issues",
"homepage": "https://github.com/tanem/react-svg",
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"@babel/runtime": "^7.26.0",
"@tanem/svg-injector": "^10.1.68",
"@types/prop-types": "^15.7.13",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@babel/plugin-transform-runtime": "7.25.9",
"@babel/preset-env": "7.26.0",
"@babel/preset-react": "7.25.9",
"@eslint/compat": "1.2.3",
"@eslint/eslintrc": "3.2.0",
"@eslint/js": "9.15.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.1",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-replace": "6.0.1",
"@rollup/plugin-terser": "0.4.4",
"@testing-library/react": "16.0.1",
"@types/faker": "5.5.9",
"@types/jest": "29.5.14",
"@types/jsdom": "21.1.7",
"@types/node": "22.9.3",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/shelljs": "0.8.15",
"@typescript-eslint/eslint-plugin": "8.15.0",
"@typescript-eslint/parser": "8.15.0",
"babel-core": "6.26.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"eslint": "9.15.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.0.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"faker": "5.5.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-prettyhtml-matchers": "1.17.15",
"nock": "13.5.6",
"npm-run-all2": "7.0.1",
"prettier": "3.3.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup": "4.27.4",
"shelljs": "0.8.5",
"shx": "0.3.4",
"tanem-scripts": "7.0.27",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.7.2"
}
}