forked from scout24ch/styled-svg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 2.63 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
{
"name": "styled-svg",
"version": "2.3.2",
"description": "Generates styled-components and tests from *.svg files",
"main": "src/index.js",
"bin": {
"styled-svg": "./bin/styled-svg.js"
},
"scripts": {
"develop": "CI=1 nodemon -x 'npm run test' --ignore 'test-images/*.js'",
"lint": "standard",
"lint:fix": "standard --fix",
"test": "node bin/styled-svg.js **/*.svg --size=small:18x18 --size=medium:24x24 --size=large:36x36 && node jest/test.js",
"test:coverage": "node bin/styled-svg.js **/*.svg --size=small:18x18 --size=medium:24x24 --size=large:36x36 && node jest/test.js --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/jaggli/styled-svg"
},
"keywords": [
"styled-components",
"svg",
"generator"
],
"author": "Matthias Jäggli <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jaggli/styled-svg/issues"
},
"homepage": "https://github.com/jaggli/styled-svg#readme",
"dependencies": {
"command-line-args": "^5.0.2",
"command-line-usage": "^5.0.4",
"del": "^3.0.0",
"fs-extra": "^7.0.1",
"globby": "^9.0.0",
"svgo": "0.7.2",
"whatwg-fetch": "2.0.4"
},
"devDependencies": {
"babel-jest": "^24.1.0",
"babel-preset-react-app": "^7.0.0",
"jest": "^24.1.0",
"jest-cli": "^24.1.0",
"jest-styled-components": "^6.3.1",
"jsdom-global": "^3.0.2",
"react": "^16.5.1",
"react-dom": "^16.5.1",
"react-test-renderer": "^16.5.1",
"standard": "^10.0.3",
"styled-components": "^4.1.3"
},
"peerDependencies": {
"styled-components": ">=4.0.0"
},
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"setupFiles": [
"<rootDir>/jest/polyfills.js"
],
"setupFilesAfterEnv": [
"<rootDir>/jest/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app"
]
},
"standard": {
"env": {
"jasmine": true
}
}
}