forked from tanem/react-svg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.79 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
{
"name": "react-svg",
"version": "7.2.2",
"description": "A React component that injects SVG into the DOM.",
"main": "index.js",
"module": "es/react-svg.js",
"jsnext:main": "es/react-svg.js",
"typings": "index.d.ts",
"files": [
"cjs",
"es",
"index.d.ts",
"umd"
],
"scripts": {
"authors": "shelljs-authors > AUTHORS",
"build": "run-s clean compile bundle",
"bundle": "rollup -c",
"changelog": "github_changelog_generator --no-issues --header-label \"# Changelog\" --future-release v$npm_package_version",
"check:format": "prettier --list-different \"**/*.{js,ts,tsx}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:cjs": "del cjs",
"clean:coverage": "del coverage",
"clean:es": "del es",
"clean:typings": "del index.d.ts",
"clean:umd": "del umd",
"compile": "tsc --emitDeclarationOnly",
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
"lint": "tslint -t stylish -p .",
"postcompile": "del '*.d.ts' '!index.d.ts'",
"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",
"updatedeps": "node scripts/update-deps",
"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.2.0",
"@tanem/svg-injector": "^2.1.1",
"prop-types": "^15.6.2"
},
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/enzyme": "^3.1.15",
"@types/faker": "^4.1.4",
"@types/jest": "^23.3.10",
"@types/prop-types": "^15.5.6",
"@types/react": "^16.7.13",
"@types/react-dom": "^16.0.11",
"@types/sinon": "^5.0.7",
"babel-core": "^6.26.3",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"codecov": "^3.1.0",
"cross-env": "^5.2.0",
"del-cli": "^1.1.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"faker": "^4.1.0",
"jest": "^23.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.15.3",
"raf": "^3.4.1",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-test-renderer": "^16.6.3",
"regenerator-runtime": "^0.13.1",
"rollup": "^0.67.4",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-filesize": "^5.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-uglify": "^6.0.0",
"shelljs": "^0.8.3",
"shelljs-plugin-authors": "^2.0.6",
"sinon": "^7.1.1",
"ts-jest": "^23.10.5",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.6"
}
}