forked from tanem/react-svg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.66 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
{
"name": "react-svg",
"version": "10.0.25",
"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": {
"authors": "tanem-scripts authors > AUTHORS",
"build": "run-s clean compile bundle",
"bundle": "rollup -c",
"changelog": "tanem-scripts changelog -f v$npm_package_version > CHANGELOG.md",
"check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:compiled": "del compiled",
"clean:coverage": "del coverage",
"clean:dist": "del dist",
"compile": "tsc -p tsconfig.base.json",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "eslint .",
"postbundle": "del compiled && cp-cli ./index.js ./dist/index.js",
"postversion": "git push && git push --tags && npm publish",
"release": "npm version -m 'Release v%s'",
"test": "run-s check:* lint build test:*",
"test:cjs": "jest --config ./scripts/jest/config.cjs.js",
"test:cjsprod": "cross-env NODE_ENV=production jest --config ./scripts/jest/config.cjs.js",
"test:es": "jest --config ./scripts/jest/config.es.js",
"test:src": "jest --config ./scripts/jest/config.src.js",
"test:umd": "jest --config ./scripts/jest/config.umd.js",
"test:umdprod": "jest --config ./scripts/jest/config.umdprod.js",
"version": "run-s test changelog authors && git add ."
},
"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": "^15.5.4 || ^16.0.0",
"react-dom": "^15.5.4 || ^16.0.0"
},
"dependencies": {
"@babel/runtime": "^7.7.2",
"@tanem/svg-injector": "^8.0.35",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/core": "7.7.2",
"@babel/plugin-transform-runtime": "7.6.2",
"@babel/preset-env": "7.7.1",
"@babel/preset-react": "7.7.0",
"@types/enzyme": "3.10.3",
"@types/enzyme-adapter-react-16": "1.0.5",
"@types/faker": "4.1.7",
"@types/glob": "7.1.1",
"@types/jest": "24.0.23",
"@types/jsdom": "12.2.4",
"@types/prop-types": "15.7.3",
"@types/react": "16.9.11",
"@types/react-dom": "16.9.4",
"@types/shelljs": "0.8.6",
"@types/sinon": "7.5.0",
"@typescript-eslint/eslint-plugin": "2.7.0",
"@typescript-eslint/parser": "2.7.0",
"babel-core": "6.26.3",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"codecov": "3.6.1",
"cp-cli": "2.0.0",
"cross-env": "6.0.3",
"del-cli": "3.0.0",
"enzyme": "3.10.0",
"enzyme-adapter-react-16": "1.15.1",
"eslint": "6.6.0",
"eslint-config-prettier": "6.5.0",
"eslint-plugin-react": "7.16.0",
"faker": "4.1.0",
"jest": "24.9.0",
"jest-prettyhtml-matchers": "1.0.43",
"npm-run-all": "4.1.5",
"prettier": "1.19.1",
"raf": "3.4.1",
"react": "16.12.0",
"react-dom": "16.12.0",
"rollup": "1.27.0",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-terser": "5.1.2",
"sinon": "7.5.0",
"tanem-scripts": "2.0.14",
"ts-jest": "24.1.0",
"typescript": "3.7.2"
}
}