This repository has been archived by the owner on May 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.25 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
{
"name": "@heydovetail/svg-to-react",
"version": "1.1.2",
"description": "Generate React components from SVGs",
"main": "./lib.commonjs/index.js",
"module": "./lib.es2015/index.js",
"types": "./lib.commonjs/index.d.ts",
"bin": {
"svg-to-react": "./bin/svg-to-react"
},
"scripts": {
"build": "tsc -p tsconfig.lib.commonjs.json && tsc -p tsconfig.lib.es2015.json && tsc -p tsconfig.cli.commonjs.json",
"clean": "rm -rf ./lib.*/ ./cli.*/",
"fix:yarn.lock": "./node_modules/.bin/yarn-deduplicate yarn.lock && yarn",
"prepublishOnly": "yarn build",
"test": "tslint -p tsconfig.json && yarn build && ./node_modules/.bin/jest --runInBand"
},
"repository": {
"type": "git",
"url": "[email protected]:heydovetail/svg-to-react.git"
},
"author": "Bradley Ayers <[email protected]>",
"license": "Apache-2.0",
"devDependencies": {
"@heydovetail/editorconfig": "^2.0.0",
"@heydovetail/tslint-config": "^2.1.0",
"@types/glob": "^7.1.1",
"@types/jest": "^23.3.9",
"@types/lodash.memoize": "^4.1.3",
"@types/node": "^10.12.6",
"@types/prettier": "^1.10.0",
"@types/react": "^16.7.3",
"@types/svgo": "^1.0.0",
"@types/yargs": "^12.0.1",
"husky": "^1.1.3",
"jest": "^23.6.0",
"lint-staged": "^8.0.4",
"react": "^16.6.1",
"ts-jest": "^23.10.4",
"tslint": "^5.9.1",
"typescript": "^3.1.6",
"yarn": "^1.12.3",
"yarn-deduplicate": "^1.0.2"
},
"dependencies": {
"ajv": "^6.4.0",
"chalk": "^2.3.2",
"glob": "^7.1.2",
"h2x-core": "^0.1.9",
"h2x-plugin-jsx": "^0.1.9",
"lodash.memoize": "^4.1.2",
"prettier": "^1.11.1",
"svgo": "^1.0.5",
"tslib": "^1.9.0",
"yargs": "^12.0.2"
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
},
"NODE_ENV": "test"
},
"moduleFileExtensions": [
"js",
"ts",
"tsx",
"json"
],
"testRegex": "src/.*(/__specs__/.*|\\.spec)\\.tsx?$",
"transform": {
"\\.tsx?$": "ts-jest"
}
},
"lint-staged": {
"*.tsx": [
"prettier --write",
"tslint -p tsconfig.json --fix",
"git add"
]
},
"prettier": {
"printWidth": 128
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}