-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
69 lines (69 loc) · 1.71 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
{
"name": "react-from-svg",
"description": "Transform SVG files into React components, Native and/or Web, JavaScript, TypeScript and ReScript. Without shitload of dependencies.",
"version": "6.0.0",
"license": "MIT",
"repository": "https://github.com/MoOx/react-from-svg",
"keywords": [
"react-native-svg",
"react-native-web",
"react-native",
"react",
"rescript",
"svg-to-react",
"svg",
"svgr-cli",
"svgr"
],
"bin": {
"react-from-svg": "./bin.js"
},
"files": [
"dist",
"bin.js"
],
"scripts": {
"res:clean": "rescript clean",
"res:build": "rescript build",
"tests:jest": "jest",
"tests:rescript": "./bin.js __tests__/__fixtures__ __tests__/__fixtures__/components --with-native-for-rescript",
"posttests:rescript": "rescript convert -all",
"tests": "yarn tests:jest && yarn tests:rescript",
"test": "yarn prerelease && yarn tests",
"prerelease": "yarn res:clean && yarn res:build && webpack",
"release": "npmpub"
},
"dependencies": {
"camelcase": "^6.0.0",
"glob": "^7.0.0",
"meow": "^6.0.0",
"mkdirp": "^0.5.0"
},
"devDependencies": {
"@glennsl/bs-jest": "^0.5.0",
"jest": "^25.0.0",
"lint-staged": "^10.0.0",
"npmpub": "^5.0.0",
"prettier": "^2.0.0",
"rescript": "^9.1.0",
"rescript-future": "^1.1.0",
"simple-git-hooks": "^2.2.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"prettier": {
"trailingComma": "all"
},
"lint-staged": {
"*.{md,json,js,css}": "prettier --write",
"*.{res,resi}": "rescript format"
},
"simple-git-hooks": {
"pre-commit": "lint-staged"
},
"jest": {
"testPathIgnorePatterns": [
"/__fixtures__"
]
}
}